aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2014-02-01 19:38:17 +0800
committerkoobs <koobs@FreeBSD.org>2014-02-01 19:38:17 +0800
commit5b19aaf4ce0e6f297833e055eff7beaed06dd326 (patch)
tree80e1624422d54eb690b3c9ece0e8ff2d215f7bef /net
parenta4662c6b9ad2e98ce53707cb3a35ec82a34d7d31 (diff)
downloadfreebsd-ports-graphics-5b19aaf4ce0e6f297833e055eff7beaed06dd326.tar.gz
freebsd-ports-graphics-5b19aaf4ce0e6f297833e055eff7beaed06dd326.tar.zst
freebsd-ports-graphics-5b19aaf4ce0e6f297833e055eff7beaed06dd326.zip
net/py-beanstalkc: Modernise: STAGE, AUTOPLIST and more
- Enable STAGE support - Enable AUTOPLIST, delete pkg-plist - Deprecate easy_install target - Remove indefinite article from COMMENT - Deprecate OPTIONSFILE override - Use OPTIONS helpers - Whitespace alignment - Bump PORTREVISION
Diffstat (limited to 'net')
-rw-r--r--net/py-beanstalkc/Makefile22
-rw-r--r--net/py-beanstalkc/pkg-plist10
2 files changed, 8 insertions, 24 deletions
diff --git a/net/py-beanstalkc/Makefile b/net/py-beanstalkc/Makefile
index f8dd630ee89..674894650c3 100644
--- a/net/py-beanstalkc/Makefile
+++ b/net/py-beanstalkc/Makefile
@@ -3,30 +3,24 @@
PORTNAME= beanstalkc
PORTVERSION= 0.3.0
+PORTREVISION= 1
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
-COMMENT= A simple beanstalkd client library for Python
+COMMENT= Simple beanstalkd client library for Python
LICENSE= APACHE20
-USE_PYTHON= yes
-USE_PYDISTUTILS= easy_install
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
-OPTIONS_DEFINE= YAML
+OPTIONS_DEFINE= YAML
OPTIONS_DEFAULT= YAML
-YAML_DESC= Support parsing YAML responses
+YAML_DESC= Support parsing YAML responses
-# bypass infrastructure bug
-OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MYAML}
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml
-.endif
+YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml
.include <bsd.port.mk>
diff --git a/net/py-beanstalkc/pkg-plist b/net/py-beanstalkc/pkg-plist
deleted file mode 100644
index b9efc69c7a2..00000000000
--- a/net/py-beanstalkc/pkg-plist
+++ /dev/null
@@ -1,10 +0,0 @@
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/beanstalkc.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/beanstalkc.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/beanstalkc.pyo
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%