View | Details | Raw Unified | Return to bug 249382
Collapse All | Expand All

(-)net/py-netaddr/Makefile (-5 / +10 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	netaddr
4
PORTNAME=	netaddr
5
PORTVERSION=	0.7.19
5
PORTVERSION=	0.8.0
6
PORTREVISION=	1
7
CATEGORIES=	net python
6
CATEGORIES=	net python
8
MASTER_SITES=	CHEESESHOP
7
MASTER_SITES=	CHEESESHOP
9
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 21-35 Link Here
21
20
22
NO_ARCH=	yes
21
NO_ARCH=	yes
23
22
23
PORTDOCS=	AUTHORS CHANGELOG README.rst
24
24
OPTIONS_DEFINE=	DOCS
25
OPTIONS_DEFINE=	DOCS
25
26
26
PORTDOCS=	AUTHORS CHANGELOG README.md
27
.include <bsd.port.pre.mk>
27
28
29
.if ${PYTHON_REL} < 3700
30
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-resources>0:devel/py-importlib-resources@${PY_FLAVOR}
31
.endif
32
28
post-install-DOCS-on:
33
post-install-DOCS-on:
29
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
34
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
30
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
35
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
31
36
32
do-test:
37
do-test:
33
	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
38
	@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs
34
39
35
.include <bsd.port.mk>
40
.include <bsd.port.post.mk>
(-)net/py-netaddr/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1496725761
1
TIMESTAMP = 1609686315
2
SHA256 (netaddr-0.7.19.tar.gz) = 38aeec7cdd035081d3a4c306394b19d677623bf76fa0913f6695127c7753aefd
2
SHA256 (netaddr-0.8.0.tar.gz) = d6cc57c7a07b1d9d2e917aa8b36ae8ce61c35ba3fcd1b83ca31c5a0ee2b5a243
3
SIZE (netaddr-0.7.19.tar.gz) = 1622835
3
SIZE (netaddr-0.8.0.tar.gz) = 1891561
(-)net/py-netaddr/files/patch-setup.py (-14 lines)
Lines 1-14 Link Here
1
--- setup.py.orig	2017-01-11 23:42:52 UTC
2
+++ setup.py
3
@@ -174,11 +174,6 @@ def main():
4
         scripts=['netaddr/tools/netaddr'],
5
         url='https://github.com/drkjam/netaddr/',
6
         version=netaddr.__version__,
7
-        options={
8
-            'build_scripts': {
9
-                'executable': '/usr/bin/env python',
10
-            },
11
-        },
12
     )
13
 
14
     setup(**setup_options)

Return to bug 249382