Date: Fri, 22 Jan 2021 08:24:57 +0000 (UTC) From: Kai Knoblich <kai@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r562280 - in head/net/py-netaddr: . files Message-ID: <202101220824.10M8OvBX074713@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kai Date: Fri Jan 22 08:24:57 2021 New Revision: 562280 URL: https://svnweb.freebsd.org/changeset/ports/562280 Log: net/py-netaddr: Update to 0.8.0 * Modernize the "do-test" target and pet portclippy while I'm here. Changelog since 0.7.19: https://github.com/netaddr/netaddr/blob/0.8.0/CHANGELOG PR: 249382 Reported by: ngie Approved by: maintainer timeout (14+ days) Deleted: head/net/py-netaddr/files/ Modified: head/net/py-netaddr/Makefile head/net/py-netaddr/distinfo Modified: head/net/py-netaddr/Makefile ============================================================================== --- head/net/py-netaddr/Makefile Fri Jan 22 08:06:39 2021 (r562279) +++ head/net/py-netaddr/Makefile Fri Jan 22 08:24:57 2021 (r562280) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= netaddr -PORTVERSION= 0.7.19 -PORTREVISION= 1 +PORTVERSION= 0.8.0 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -21,15 +20,21 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +PORTDOCS= AUTHORS CHANGELOG README.rst + OPTIONS_DEFINE= DOCS -PORTDOCS= AUTHORS CHANGELOG README.md +.include <bsd.port.pre.mk> +.if ${PYTHON_REL} < 3700 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>0:devel/py-importlib-resources@${PY_FLAVOR} +.endif + post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest + @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -.include <bsd.port.mk> +.include <bsd.port.post.mk> Modified: head/net/py-netaddr/distinfo ============================================================================== --- head/net/py-netaddr/distinfo Fri Jan 22 08:06:39 2021 (r562279) +++ head/net/py-netaddr/distinfo Fri Jan 22 08:24:57 2021 (r562280) @@ -1,3 +1,3 @@ -TIMESTAMP = 1496725761 -SHA256 (netaddr-0.7.19.tar.gz) = 38aeec7cdd035081d3a4c306394b19d677623bf76fa0913f6695127c7753aefd -SIZE (netaddr-0.7.19.tar.gz) = 1622835 +TIMESTAMP = 1609686315 +SHA256 (netaddr-0.8.0.tar.gz) = d6cc57c7a07b1d9d2e917aa8b36ae8ce61c35ba3fcd1b83ca31c5a0ee2b5a243 +SIZE (netaddr-0.8.0.tar.gz) = 1891561
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101220824.10M8OvBX074713>