Date: Sun, 6 Aug 2017 10:26:21 +0000 (UTC) From: Kubilay Kocak <koobs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r447455 - in head/net/py-netaddr: . files Message-ID: <201708061026.v76AQLNk050149@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Sun Aug 6 10:26:21 2017 New Revision: 447455 URL: https://svnweb.freebsd.org/changeset/ports/447455 Log: net/py-netaddr: Update to 0.7.19 - Update PORTVERSION and distinfo checksum (0.7.19) [1] - Add TEST_DEPENDS and update test target - shebangfix not required with setuptools shebang auto-rewriting PR: 219883 Submitted by: Franco Fichtner <franco opnsense org> [1] Modified: head/net/py-netaddr/Makefile head/net/py-netaddr/distinfo head/net/py-netaddr/files/patch-setup.py Modified: head/net/py-netaddr/Makefile ============================================================================== --- head/net/py-netaddr/Makefile Sun Aug 6 09:13:10 2017 (r447454) +++ head/net/py-netaddr/Makefile Sun Aug 6 10:26:21 2017 (r447455) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= netaddr -PORTVERSION= 0.7.18 -PORTREVISION= 1 +PORTVERSION= 0.7.19 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,9 +13,11 @@ COMMENT= Manipulation of IPv4, IPv6, CIDR, EUI and MAC LICENSE= BSD3CLAUSE MIT LICENSE_COMB= multi -USES= python shebangfix +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.4.2:devel/py-pytest + +USES= python USE_PYTHON= autoplist concurrent distutils -SHEBANG_FILES= netaddr/tools/netaddr + NO_ARCH= yes OPTIONS_DEFINE= DOCS @@ -28,6 +29,6 @@ post-install-DOCS-on: ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest .include <bsd.port.mk> Modified: head/net/py-netaddr/distinfo ============================================================================== --- head/net/py-netaddr/distinfo Sun Aug 6 09:13:10 2017 (r447454) +++ head/net/py-netaddr/distinfo Sun Aug 6 10:26:21 2017 (r447455) @@ -1,2 +1,3 @@ -SHA256 (netaddr-0.7.18.tar.gz) = a1f5c9fcf75ac2579b9995c843dade33009543c04f218ff7c007b3c81695bd19 -SIZE (netaddr-0.7.18.tar.gz) = 1715389 +TIMESTAMP = 1496725761 +SHA256 (netaddr-0.7.19.tar.gz) = 38aeec7cdd035081d3a4c306394b19d677623bf76fa0913f6695127c7753aefd +SIZE (netaddr-0.7.19.tar.gz) = 1622835 Modified: head/net/py-netaddr/files/patch-setup.py ============================================================================== --- head/net/py-netaddr/files/patch-setup.py Sun Aug 6 09:13:10 2017 (r447454) +++ head/net/py-netaddr/files/patch-setup.py Sun Aug 6 10:26:21 2017 (r447455) @@ -1,10 +1,10 @@ ---- setup.py.orig 2017-04-21 11:40:00 UTC +--- setup.py.orig 2017-01-11 23:42:52 UTC +++ setup.py -@@ -62,11 +62,6 @@ def main(): - scripts = release.scripts, - url = release.url, - version = release.version, -- options = { +@@ -174,11 +174,6 @@ def main(): + scripts=['netaddr/tools/netaddr'], + url='https://github.com/drkjam/netaddr/', + version=netaddr.__version__, +- options={ - 'build_scripts': { - 'executable': '/usr/bin/env python', - },
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708061026.v76AQLNk050149>