View | Details | Raw Unified | Return to bug 169856
Collapse All | Expand All

(-)./Makefile (-4 / +4 lines)
Lines 19-34 Link Here
19
USE_PYTHON=	yes
19
USE_PYTHON=	yes
20
USE_PYDISTUTILS=	easy_install
20
USE_PYDISTUTILS=	easy_install
21
21
22
OPTIONS=	PYYAML	"YAML support"	on
22
OPTIONS_DEFINE=	YAML
23
OPTIONS_DEFAULT=	YAML
24
YAML_DESC=	Support parsing YAML reponses
23
25
24
# bypass infrastructure bug
26
# bypass infrastructure bug
25
OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
27
OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
26
28
27
PLIST_FILES=	%%PYTHON_SITELIBDIR%%/${PYEASYINSTALL_EGG}
28
29
.include <bsd.port.options.mk>
29
.include <bsd.port.options.mk>
30
30
31
.if defined(WITH_PYYAML)
31
.if ${PORT_OPTIONS:MYAML}
32
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml
32
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml
33
.endif
33
.endif
34
34
(-)./files/patch-setup.py (+8 lines)
Line 0 Link Here
1
--- ./setup.py.orig	2012-07-15 01:01:36.000000000 +1000
2
+++ ./setup.py	2012-07-15 01:01:49.000000000 +1000
3
@@ -30,4 +30,5 @@
4
         'Programming Language :: Python',
5
         'Topic :: Software Development :: Libraries :: Python Modules',
6
     ],
7
+    zip_safe=False,
8
 )
(-)./pkg-plist (+10 lines)
Line 0 Link Here
1
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
2
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
3
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
4
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
5
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
6
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/beanstalkc.py
7
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/beanstalkc.pyc
8
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/beanstalkc.pyo
9
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
10
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%

Return to bug 169856