1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

net/py-zeroconf: Update to version 0.132.2

This commit is contained in:
John Hixson 2024-07-03 14:11:04 -07:00
parent 538a7e4e91
commit 5e5f788d4f
No known key found for this signature in database
4 changed files with 60 additions and 15 deletions

View File

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

View File

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

19
net/py-zeroconf/files/patch-poetry.lock generated Normal file
View File

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

View File

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