freebsd-ports/devel/py-RPyC/Makefile
Jan Beich baa5392a0c devel/py-RPyC: properly register py-plumbum dependency
This fixes package consumers like www/py-flexget since r363629.

  $ flexget
  Traceback (most recent call last):
    File "/usr/local/bin/flexget", line 5, in <module>
      from pkg_resources import load_entry_point
    File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3074, in <module>
      @_call_aside
    File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3060, in _call_aside
      f(*args, **kwargs)
    File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3087, in _initialize_master_working_set
      working_set = WorkingSet._build_master()
    File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 645, in _build_master
      ws.require(__requires__)
    File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 946, in require
      needed = self.resolve(parse_requirements(requirements))
    File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 833, in resolve
      raise DistributionNotFound(req, requirers)
  pkg_resources.DistributionNotFound: The 'plumbum' distribution was not found and is required by rpyc

Approved by:	portmgr blanket
Differential Revision:	https://reviews.freebsd.org/D3566
2015-09-04 17:13:00 +00:00

25 lines
568 B
Makefile

# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= rpyc
PORTVERSION= 3.3.0
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= kozlov.sergey.404@gmail.com
COMMENT= Remote Python Call
LICENSE= MIT
OPTIONS_DEFINE= PLUMBUM
OPTIONS_DEFAULT=PLUMBUM
PLUMBUM_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}plumbum>0:${PORTSDIR}/sysutils/py-plumbum
PLUMBUM_DESC= Required for features like rpyc_classic.py and zero deploy
USES= python:-3.3
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>