diff options
author | Kubilay Kocak <koobs@FreeBSD.org> | 2016-02-02 14:45:20 +0000 |
---|---|---|
committer | Kubilay Kocak <koobs@FreeBSD.org> | 2016-02-02 14:45:20 +0000 |
commit | e0500d75fde5fc5a622ab136c8ae65dfd3f7d482 (patch) | |
tree | 780d18afed4844787dc0a9e01121e228ba3f27ac /net | |
parent | - Update to 2.61 (diff) |
net/py-netaddr: Update to 0.7.18
- Update PORTVERSION and distinfo checksum (0.7.18)
- Enable multiple "concurrent" Python installation
- Remove patches (now upstream)
- Update test target to new framework bits
- Update PORTDOCS
- Move NO_ARCH
PR: 206559
Submitted by: Franco Fichtner <franco opnsense org>
Notes
Notes:
svn path=/head/; revision=407819
Diffstat (limited to 'net')
-rw-r--r-- | net/py-netaddr/Makefile | 12 | ||||
-rw-r--r-- | net/py-netaddr/distinfo | 4 | ||||
-rw-r--r-- | net/py-netaddr/files/patch-release.py | 11 | ||||
-rw-r--r-- | net/py-netaddr/files/patch-setup.py | 11 |
4 files changed, 8 insertions, 30 deletions
diff --git a/net/py-netaddr/Makefile b/net/py-netaddr/Makefile index 3ff1914d908a..82f864653b56 100644 --- a/net/py-netaddr/Makefile +++ b/net/py-netaddr/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= netaddr -PORTVERSION= 0.7.14 +PORTVERSION= 0.7.18 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,18 +13,18 @@ COMMENT= Manipulation of IPv4, IPv6, CIDR, EUI and MAC network addresses LICENSE= BSD3CLAUSE MIT LICENSE_COMB= multi -NO_ARCH= yes - USES= python -USE_PYTHON= autoplist distutils uniquefiles:dirs +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes -PORTDOCS= AUTHORS CHANGELOG README +PORTDOCS= AUTHORS CHANGELOG README.md post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} -regression-test: build +do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include <bsd.port.mk> diff --git a/net/py-netaddr/distinfo b/net/py-netaddr/distinfo index 312d5a2262c2..b7f80cca4089 100644 --- a/net/py-netaddr/distinfo +++ b/net/py-netaddr/distinfo @@ -1,2 +1,2 @@ -SHA256 (netaddr-0.7.14.tar.gz) = 02abbb54c9edd6a3046385d2634f51c1dbddbbc9b5816599ecd052b1d9ff445f -SIZE (netaddr-0.7.14.tar.gz) = 1560641 +SHA256 (netaddr-0.7.18.tar.gz) = a1f5c9fcf75ac2579b9995c843dade33009543c04f218ff7c007b3c81695bd19 +SIZE (netaddr-0.7.18.tar.gz) = 1715389 diff --git a/net/py-netaddr/files/patch-release.py b/net/py-netaddr/files/patch-release.py deleted file mode 100644 index 145800f4ae69..000000000000 --- a/net/py-netaddr/files/patch-release.py +++ /dev/null @@ -1,11 +0,0 @@ ---- release.py.orig 2015-05-27 06:43:45 UTC -+++ release.py -@@ -161,3 +161,8 @@ install_requires = [ - - setup_requires = [ - ] -+ -+tests_require = [ -+] -+ -+test_suite = 'netaddr.tests.test_suite_all' diff --git a/net/py-netaddr/files/patch-setup.py b/net/py-netaddr/files/patch-setup.py deleted file mode 100644 index 1dc71541fd83..000000000000 --- a/net/py-netaddr/files/patch-setup.py +++ /dev/null @@ -1,11 +0,0 @@ ---- setup.py.orig 2015-05-27 06:43:40 UTC -+++ setup.py -@@ -41,6 +41,8 @@ def main(): - version = release.version, - install_requires = release.install_requires, - setup_requires = release.setup_requires, -+ tests_require = release.tests_require, -+ test_suite = release.test_suite, - options = { - 'build_scripts': { - 'executable': '/usr/bin/env python', |