git: 5e5f788d4fe0 - main - net/py-zeroconf: Update to version 0.132.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 Jul 2024 21:12:19 UTC
The branch main has been updated by jhixson: URL: https://cgit.FreeBSD.org/ports/commit/?id=5e5f788d4fe09c41625228146500c49a8b866ffd commit 5e5f788d4fe09c41625228146500c49a8b866ffd Author: John Hixson <jhixson@FreeBSD.org> AuthorDate: 2024-07-03 21:11:04 +0000 Commit: John Hixson <jhixson@FreeBSD.org> CommitDate: 2024-07-03 21:12:14 +0000 net/py-zeroconf: Update to version 0.132.2 --- net/py-zeroconf/Makefile | 30 ++++++++++++++++++------------ net/py-zeroconf/distinfo | 6 +++--- net/py-zeroconf/files/patch-poetry.lock | 19 +++++++++++++++++++ net/py-zeroconf/files/patch-pyproject.toml | 20 ++++++++++++++++++++ 4 files changed, 60 insertions(+), 15 deletions(-) diff --git a/net/py-zeroconf/Makefile b/net/py-zeroconf/Makefile index ecc2c85829fd..a3d852fa8991 100644 --- a/net/py-zeroconf/Makefile +++ b/net/py-zeroconf/Makefile @@ -1,29 +1,35 @@ 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} -USES= python -USE_PYTHON= autoplist concurrent distutils +BUILD_DEPENDS= lang/cython3>=3.0.8:lang/cython3 \ + ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.5.2:devel/py-poetry-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}poetry>=1.8.0:devel/py-poetry@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0.40.0:devel/py-wheel@${PY_FLAVOR} + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}async_timeout>=3.0.1:devel/py-async_timeout@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ifaddr>=0.1.7:net/py-ifaddr@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pep8-naming>=0.12.0:devel/py-pep8-naming@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=8.0.0:devel/py-pytest@${PY_FLAVOR} + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0.20.3:devel/py-pytest-asyncio@${PY_FLAVOR} + +USES= cpe python +USE_PYTHON= autoplist concurrent 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..a00268775c2c 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 = 1719968467 +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-poetry.lock b/net/py-zeroconf/files/patch-poetry.lock new file mode 100644 index 000000000000..75442a087c0b --- /dev/null +++ b/net/py-zeroconf/files/patch-poetry.lock @@ -0,0 +1,19 @@ +--- poetry.lock.orig 2024-04-13 00:41:48 UTC ++++ poetry.lock +@@ -292,13 +292,13 @@ name = "setuptools" + + [[package]] + name = "setuptools" +-version = "65.7.0" ++version = "63.1.0" + description = "Easily download, build, install, upgrade, and uninstall Python packages" + optional = false + python-versions = ">=3.7" + files = [ +- {file = "setuptools-65.7.0-py3-none-any.whl", hash = "sha256:8ab4f1dbf2b4a65f7eec5ad0c620e84c34111a68d3349833494b9088212214dd"}, +- {file = "setuptools-65.7.0.tar.gz", hash = "sha256:4d3c92fac8f1118bb77a22181355e29c239cabfe2b9effdaa665c66b711136d7"}, ++ {file = "setuptools-63.1.0-py3-none-any.whl", hash = "sha256:8ab4f1dbf2b4a65f7eec5ad0c620e84c34111a68d3349833494b9088212214dd"}, ++ {file = "setuptools-63.1.0.tar.gz", hash = "sha256:4d3c92fac8f1118bb77a22181355e29c239cabfe2b9effdaa665c66b711136d7"}, + ] + + [package.extras] diff --git a/net/py-zeroconf/files/patch-pyproject.toml b/net/py-zeroconf/files/patch-pyproject.toml new file mode 100644 index 000000000000..6439ca471c50 --- /dev/null +++ b/net/py-zeroconf/files/patch-pyproject.toml @@ -0,0 +1,20 @@ +--- pyproject.toml.orig 2024-04-13 00:41:48 UTC ++++ pyproject.toml +@@ -59,7 +59,7 @@ cython = "^3.0.5" + pytest-cov = "^4.0.0" + pytest-asyncio = "^0.20.3" + cython = "^3.0.5" +-setuptools = "^65.6.3" ++setuptools = "^63.1.0" + pytest-timeout = "^2.1.0" + + [tool.black] +@@ -151,7 +151,7 @@ ignore_errors = true + + [build-system] + # 1.5.2 required for https://github.com/python-poetry/poetry/issues/7505 +-requires = ['setuptools>=65.4.1', 'wheel', 'Cython>=3.0.8', "poetry-core>=1.5.2"] ++requires = ['setuptools>=63.1.0', 'wheel', 'cython>=3.0.8', "poetry-core>=1.5.2"] + build-backend = "poetry.core.masonry.api" + + [tool.codespell]