diff --git a/net-mgmt/py-netutils/Makefile b/net-mgmt/py-netutils/Makefile index 569299bf9e31..bc2e6a929673 100644 --- a/net-mgmt/py-netutils/Makefile +++ b/net-mgmt/py-netutils/Makefile @@ -1,19 +1,21 @@ PORTNAME= netutils -DISTVERSION= 1.4.1 +DISTVERSION= 1.5.0 CATEGORIES= net-mgmt python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kai@FreeBSD.org COMMENT= Common helper functions useful in network automation WWW= https://github.com/networktocode/netutils LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} + USES= python -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist pep517 NO_ARCH= yes .include diff --git a/net-mgmt/py-netutils/distinfo b/net-mgmt/py-netutils/distinfo index 6935a131dd3f..44d3afd59352 100644 --- a/net-mgmt/py-netutils/distinfo +++ b/net-mgmt/py-netutils/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1677150903 -SHA256 (netutils-1.4.1.tar.gz) = 4f7501478d810bcd3c64edfe064fa8962a1572636f4fceee2538fc9d3616fbe2 -SIZE (netutils-1.4.1.tar.gz) = 446568 +TIMESTAMP = 1690888738 +SHA256 (netutils-1.5.0.tar.gz) = c0d3a8836a030eca456a2e9291d02be1326e6d7fe4e88cb63b1155512001bb14 +SIZE (netutils-1.5.0.tar.gz) = 458673 diff --git a/net-mgmt/py-netutils/files/patch-pyproject.toml b/net-mgmt/py-netutils/files/patch-pyproject.toml new file mode 100644 index 000000000000..8cc826fcd351 --- /dev/null +++ b/net-mgmt/py-netutils/files/patch-pyproject.toml @@ -0,0 +1,14 @@ +Avoid installing LICENSE and README.md in the top-level directory of Python's +site-lib directory. + +--- pyproject.toml.orig 2023-08-02 07:38:19 UTC ++++ pyproject.toml +@@ -19,8 +19,6 @@ include = [ + "Programming Language :: Python :: 3.11", + ] + include = [ +- "LICENSE", +- "README.md", + "netutils/protocols.json" + ] +