Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2016 20:54:37 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r407979 - head/mail/py-pyspf
Message-ID:  <201602032054.u13KsbGC088315@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Feb  3 20:54:37 2016
New Revision: 407979
URL: https://svnweb.freebsd.org/changeset/ports/407979

Log:
  - Sort knobs
  - Remove outdated PYTHON_REL check
  - Use post-patch:
  - Do not silence test message

Modified:
  head/mail/py-pyspf/Makefile

Modified: head/mail/py-pyspf/Makefile
==============================================================================
--- head/mail/py-pyspf/Makefile	Wed Feb  3 20:54:33 2016	(r407978)
+++ head/mail/py-pyspf/Makefile	Wed Feb  3 20:54:37 2016	(r407979)
@@ -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
 .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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602032054.u13KsbGC088315>