Date: Tue, 03 Feb 2026 14:17:16 +0000 From: Norikatsu Shigemura <nork@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 77ec25ca7b5d - main - dns/py-pycares: Update to 5.0.1 Message-ID: <6982036c.3b926.4fb2b34@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by nork: URL: https://cgit.FreeBSD.org/ports/commit/?id=77ec25ca7b5dc82fbb22d62fe111c53ff68197e4 commit 77ec25ca7b5dc82fbb22d62fe111c53ff68197e4 Author: Norikatsu Shigemura <nork@FreeBSD.org> AuthorDate: 2026-02-03 14:16:20 +0000 Commit: Norikatsu Shigemura <nork@FreeBSD.org> CommitDate: 2026-02-03 14:16:20 +0000 dns/py-pycares: Update to 5.0.1 - switch to use 'USE_PYTHON=pep517' - make test clean - take maintainership PR: 292245 ChnageLog: https://github.com/saghul/pycares/compare/pycares-4.3.0...v5.0.1 Approved by: demon(maintainer), hrs (mentor, blanket) --- dns/py-pycares/Makefile | 22 +++++++++++----------- dns/py-pycares/distinfo | 6 +++--- dns/py-pycares/files/patch-pyproject.toml | 20 ++++++++++++++++++++ 3 files changed, 34 insertions(+), 14 deletions(-) diff --git a/dns/py-pycares/Makefile b/dns/py-pycares/Makefile index d4f39b7e265e..10d4b10e69f1 100644 --- a/dns/py-pycares/Makefile +++ b/dns/py-pycares/Makefile @@ -1,32 +1,32 @@ PORTNAME= pycares -PORTVERSION= 4.3.0 -PORTREVISION= 1 +PORTVERSION= 5.0.1 CATEGORIES= dns python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= demon@FreeBSD.org +MAINTAINER= nork@FreeBSD.org COMMENT= Python interface to c-ares WWW= https://pypi.org/project/pycares/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.5.0:devel/py-cffi@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}cffi>=1.5.0:devel/py-cffi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.5.0:devel/py-cffi@${PY_FLAVOR} -USES= python -USE_PYTHON= distutils autoplist +USES= cmake:indirect python +USE_PYTHON= autoplist pep517 unittest -OPTIONS_DEFINE= IDNA -IDNA_DESC= IDNA support +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +OPTIONS_DEFINE= IDNA +IDNA_DESC= IDNA support IDNA_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>0:dns/py-idna@${PY_FLAVOR} IDNA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>0:dns/py-idna@${PY_FLAVOR} post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/_cares*.so -do-test: - cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${PYTHON_CMD} tests/tests.py - .include <bsd.port.mk> diff --git a/dns/py-pycares/distinfo b/dns/py-pycares/distinfo index c2799223ed10..2ac20e898e6c 100644 --- a/dns/py-pycares/distinfo +++ b/dns/py-pycares/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1684420027 -SHA256 (pycares-4.3.0.tar.gz) = c542696f6dac978e9d99192384745a65f80a7d9450501151e4a7563e06010d45 -SIZE (pycares-4.3.0.tar.gz) = 821580 +TIMESTAMP = 1769937922 +SHA256 (pycares-5.0.1.tar.gz) = 5a3c249c830432631439815f9a818463416f2a8cbdb1e988e78757de9ae75081 +SIZE (pycares-5.0.1.tar.gz) = 652222 diff --git a/dns/py-pycares/files/patch-pyproject.toml b/dns/py-pycares/files/patch-pyproject.toml new file mode 100644 index 000000000000..c3fa093ba0a4 --- /dev/null +++ b/dns/py-pycares/files/patch-pyproject.toml @@ -0,0 +1,20 @@ +--- pyproject.toml.orig 2026-01-01 12:01:25 UTC ++++ pyproject.toml +@@ -13,7 +13,7 @@ requires-python = ">=3.9" + description = "Python interface for c-ares" + readme = {file = "PYPIREADME.rst", content-type = "text/x-rst"} + requires-python = ">=3.9" +-license = "MIT" ++license = {text = "MIT"} + authors = [ + {name = "Saúl Ibarra Corretgé", email = "s@saghul.net"} + ] +@@ -52,6 +52,8 @@ version = {attr = "pycares._version.__version__"} + + [tool.setuptools.dynamic] + version = {attr = "pycares._version.__version__"} ++ ++[tool.setuptools_scm] + + [tool.cibuildwheel] + build = "cp3*"home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6982036c.3b926.4fb2b34>
