git: 909ff563747e - main - net/py-zeroconf: update to version 0.132.2
Date: Sat, 29 Jun 2024 18:05:20 UTC
The branch main has been updated by jhixson: URL: https://cgit.FreeBSD.org/ports/commit/?id=909ff563747eb9b6bcee7383e95356bac5184504 commit 909ff563747eb9b6bcee7383e95356bac5184504 Author: John Hixson <jhixson@FreeBSD.org> AuthorDate: 2024-06-29 18:02:27 +0000 Commit: John Hixson <jhixson@FreeBSD.org> CommitDate: 2024-06-29 18:05:16 +0000 net/py-zeroconf: update to version 0.132.2 --- net/py-zeroconf/Makefile | 21 ++++++++++----------- net/py-zeroconf/distinfo | 6 +++--- net/py-zeroconf/files/patch-Makefile | 8 ++++++++ net/py-zeroconf/files/patch-pyproject.toml | 10 ++++++++++ 4 files changed, 31 insertions(+), 14 deletions(-) diff --git a/net/py-zeroconf/Makefile b/net/py-zeroconf/Makefile index ecc2c85829fd..53aab342a3d9 100644 --- a/net/py-zeroconf/Makefile +++ b/net/py-zeroconf/Makefile @@ -1,29 +1,28 @@ PORTNAME= zeroconf -PORTVERSION= 0.39.4 -PORTREVISION= 1 +PORTVERSION= 0.132.2 CATEGORIES= net python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= jhixson@FreeBSD.org COMMENT= Pure python implementation of multicast DNS service discovery -WWW= https://github.com/jstasiak/python-zeroconf +WWW= https://github.com/python-zeroconf/python-zeroconf LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ifaddr>=0.1.7:net/py-ifaddr@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}async_timeout>=3.0.1:devel/py-async_timeout@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ifaddr>=0.1.7:net/py-ifaddr@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}async_timeout>=4.0.1:devel/py-async_timeout@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pep8-naming>=0.12.0:devel/py-pep8-naming@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}poetry>=1.8.0:devel/py-poetry@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=8.0.0:devel/py-pytest@${PY_FLAVOR} -USES= python -USE_PYTHON= autoplist concurrent distutils +USES= python cargo +USE_PYTHON= autoplist concurrent distutils pep517 pytest USE_GITHUB= yes -GH_ACCOUNT= jstasiak +GH_ACCOUNT= python-zeroconf GH_PROJECT= python-zeroconf NO_ARCH= yes TEST_TARGET= test -pre-test: - ${REINPLACE_CMD} -e 's|nosetests|nosetests-${PYTHON_VER} --exclude=test_lots_of_names|g' ${WRKSRC}/Makefile - .include <bsd.port.mk> diff --git a/net/py-zeroconf/distinfo b/net/py-zeroconf/distinfo index e60840f85730..ca097f6baf25 100644 --- a/net/py-zeroconf/distinfo +++ b/net/py-zeroconf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1670020710 -SHA256 (jstasiak-python-zeroconf-0.39.4_GH0.tar.gz) = 32783c9a583419abe7223ba199e2ddebe9533011caecf6a268852e0fbea1186a -SIZE (jstasiak-python-zeroconf-0.39.4_GH0.tar.gz) = 137174 +TIMESTAMP = 1719677309 +SHA256 (python-zeroconf-python-zeroconf-0.132.2_GH0.tar.gz) = a0188086e1806d19bf49f797b25a1eba9b14e60422931188af287a98b304b80e +SIZE (python-zeroconf-python-zeroconf-0.132.2_GH0.tar.gz) = 184339 diff --git a/net/py-zeroconf/files/patch-Makefile b/net/py-zeroconf/files/patch-Makefile new file mode 100644 index 000000000000..c8142d918f53 --- /dev/null +++ b/net/py-zeroconf/files/patch-Makefile @@ -0,0 +1,8 @@ +--- Makefile.orig 2024-04-13 00:41:48 UTC ++++ Makefile +@@ -2,4 +2,4 @@ test: + + + test: +- poetry run pytest --durations=20 --timeout=60 -v tests ++ poetry run pytest tests diff --git a/net/py-zeroconf/files/patch-pyproject.toml b/net/py-zeroconf/files/patch-pyproject.toml new file mode 100644 index 000000000000..085f2173f72e --- /dev/null +++ b/net/py-zeroconf/files/patch-pyproject.toml @@ -0,0 +1,10 @@ +--- pyproject.toml.orig 2024-06-29 09:11:31.605531000 -0700 ++++ pyproject.toml 2024-06-29 09:11:56.996337000 -0700 +@@ -102,7 +102,6 @@ + + + [tool.pytest.ini_options] +-addopts = "-v -Wdefault --cov=zeroconf --cov-report=term-missing:skip-covered" + pythonpath = ["src"] + + [tool.coverage.run]