Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jul 2024 19:29:37 GMT
From:      John Hixson <jhixson@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b1eebcc80671 - main - net/py-zeroconf: revert to 0.39.4
Message-ID:  <202407021929.462JTbO0031550@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhixson:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b1eebcc80671f7239ae685f28ba2d4ff65fcbfe5

commit b1eebcc80671f7239ae685f28ba2d4ff65fcbfe5
Author:     John Hixson <jhixson@FreeBSD.org>
AuthorDate: 2024-07-02 19:26:20 +0000
Commit:     John Hixson <jhixson@FreeBSD.org>
CommitDate: 2024-07-02 19:27:37 +0000

    net/py-zeroconf: revert to 0.39.4
    
    - Not passing poudriere tests for some FreeBSD versions
---
 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, 14 insertions(+), 31 deletions(-)

diff --git a/net/py-zeroconf/Makefile b/net/py-zeroconf/Makefile
index 53aab342a3d9..ecc2c85829fd 100644
--- a/net/py-zeroconf/Makefile
+++ b/net/py-zeroconf/Makefile
@@ -1,28 +1,29 @@
 PORTNAME=	zeroconf
-PORTVERSION=	0.132.2
+PORTVERSION=	0.39.4
+PORTREVISION=	1
 CATEGORIES=	net python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	jhixson@FreeBSD.org
 COMMENT=	Pure python implementation of multicast DNS service discovery
-WWW=		https://github.com/python-zeroconf/python-zeroconf
+WWW=		https://github.com/jstasiak/python-zeroconf
 
 LICENSE=	LGPL21+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-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}
+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 cargo
-USE_PYTHON=	autoplist concurrent distutils pep517 pytest
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
 USE_GITHUB=	yes
-GH_ACCOUNT=	python-zeroconf
+GH_ACCOUNT=	jstasiak
 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 ca097f6baf25..e60840f85730 100644
--- a/net/py-zeroconf/distinfo
+++ b/net/py-zeroconf/distinfo
@@ -1,3 +1,3 @@
-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
+TIMESTAMP = 1670020710
+SHA256 (jstasiak-python-zeroconf-0.39.4_GH0.tar.gz) = 32783c9a583419abe7223ba199e2ddebe9533011caecf6a268852e0fbea1186a
+SIZE (jstasiak-python-zeroconf-0.39.4_GH0.tar.gz) = 137174
diff --git a/net/py-zeroconf/files/patch-Makefile b/net/py-zeroconf/files/patch-Makefile
deleted file mode 100644
index c8142d918f53..000000000000
--- a/net/py-zeroconf/files/patch-Makefile
+++ /dev/null
@@ -1,8 +0,0 @@
---- 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
deleted file mode 100644
index 085f2173f72e..000000000000
--- a/net/py-zeroconf/files/patch-pyproject.toml
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407021929.462JTbO0031550>