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]
This commit is contained in:
parent
9167aad6b6
commit
5fc3ed9a88
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=447455
@ -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 network addresses
|
||||
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>
|
||||
|
@ -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
|
||||
|
@ -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',
|
||||
- },
|
||||
|
Loading…
Reference in New Issue
Block a user