From owner-svn-ports-head@freebsd.org Wed Feb 3 20:54:39 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B7A6A9A367; Wed, 3 Feb 2016 20:54:39 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D720F1DEF; Wed, 3 Feb 2016 20:54:38 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u13KsbnT088316; Wed, 3 Feb 2016 20:54:37 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u13KsbGC088315; Wed, 3 Feb 2016 20:54:37 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201602032054.u13KsbGC088315@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Wed, 3 Feb 2016 20:54:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407979 - head/mail/py-pyspf X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 20:54:39 -0000 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 -.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