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> |