diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2016-02-04 04:54:37 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2016-02-04 04:54:37 +0800 |
commit | 4b1c8a59072b0e9b11f04dde2606d2cf89b1d332 (patch) | |
tree | b0dc87bc8064445bfec3b1bf415aeea02318dfff /mail | |
parent | 07ea43d3f6915fc4b4c1b4738fb8bc934edd451c (diff) | |
download | freebsd-ports-gnome-4b1c8a59072b0e9b11f04dde2606d2cf89b1d332.tar.gz freebsd-ports-gnome-4b1c8a59072b0e9b11f04dde2606d2cf89b1d332.tar.zst freebsd-ports-gnome-4b1c8a59072b0e9b11f04dde2606d2cf89b1d332.zip |
- Sort knobs
- Remove outdated PYTHON_REL check
- Use post-patch:
- Do not silence test message
Diffstat (limited to 'mail')
-rw-r--r-- | mail/py-pyspf/Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/mail/py-pyspf/Makefile b/mail/py-pyspf/Makefile index e7f608bf9731..6643667cd5d7 100644 --- a/mail/py-pyspf/Makefile +++ b/mail/py-pyspf/Makefile @@ -17,11 +17,9 @@ LICENSE= PSFL RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}authres>=0:${PORTSDIR}/mail/py-authres TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=0:${PORTSDIR}/devel/py-yaml -USES= python shebangfix -USE_PYTHON= autoplist concurrent distutils - NO_ARCH= yes - +USE_PYTHON= autoplist concurrent distutils +USES= python shebangfix WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST_FILES= bin/spf.py @@ -29,10 +27,6 @@ SHEBANG_FILES= spf.py .include <bsd.port.pre.mk> -.if ${PYTHON_REL} <= 3300 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ipaddr>=0:${PORTSDIR}/devel/py-ipaddr -.endif - .if ${PYTHON_REL} >= 3000 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}py3dns>=0:${PORTSDIR}/dns/py-py3dns .else @@ -40,7 +34,7 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dns>=0:${PORTSDIR}/dns/py-dns .endif # Make the tests run as a module -post-extract: +post-patch: @${TOUCH} ${WRKSRC}/test/__init__.py post-install: @@ -48,6 +42,6 @@ post-install: ${LN} -s ${PYTHONPREFIX_SITELIBDIR}/spf.py ${STAGEDIR}${PREFIX}/bin/ do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} -m test.testspf + cd ${WRKSRC}/ && ${PYTHON_CMD} -m test.testspf .include <bsd.port.post.mk> |