diff options
author | Atanu Biswas <atanubiswas484@gmail.com> | 2025-08-09 22:04:40 +0900 |
---|---|---|
committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2025-08-09 22:07:49 +0900 |
commit | 2dea34d8da9299bfe62bdeb2732a2d040eac5cf4 (patch) | |
tree | 42e129f0ee51039a42a238a8cbc3fdd76e176c86 | |
parent | security/openssl32: Align expiry dates with quarterlies (diff) |
dns/py-adns: update to 1.6.0 and take maintainership
While here:
- Added DIST_SUBDIR
The PyPI source archive for the Python module (adns-1.6.0.tar.gz)
has the same filename as the C library dns/adns distfile.
- Removed post-patch as this is no longer needed
- Added post-install to strip .so file (fixes stage-qa warning)
Changelog: https://github.com/trolldbois/python3-adns/compare/v1.4-py1...1.6.0
PR: 288666
Reported by: Atanu Biswas <atanubiswas484@gmail.com> (new maintainer)
-rw-r--r-- | dns/py-adns/Makefile | 11 | ||||
-rw-r--r-- | dns/py-adns/distinfo | 6 |
2 files changed, 8 insertions, 9 deletions
diff --git a/dns/py-adns/Makefile b/dns/py-adns/Makefile index ba05cf7fa58b..7fa9a83c8d57 100644 --- a/dns/py-adns/Makefile +++ b/dns/py-adns/Makefile @@ -1,12 +1,11 @@ PORTNAME= adns -DISTVERSION= 1.4 -PORTREVISION= 1 -DISTVERSIONSUFFIX= -py1 +DISTVERSION= 1.6.0 CATEGORIES= dns python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DIST_SUBDIR= ${PORTNAME}_python -MAINTAINER= ports@FreeBSD.org +MAINTAINER= atanubiswas484@gmail.com COMMENT= Python module to resolve IPs to host names WWW= https://github.com/trolldbois/python3-adns/ @@ -18,7 +17,7 @@ LIB_DEPENDS= libadns.so:dns/adns USES= localbase python USE_PYTHON= autoplist distutils -post-patch: - @${REINPLACE_CMD} -e 's|1.4-py1|1.4|g' ${WRKSRC}/setup.py +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/adns*.so .include <bsd.port.mk> diff --git a/dns/py-adns/distinfo b/dns/py-adns/distinfo index 2a62ee895d53..4479e90aa4d1 100644 --- a/dns/py-adns/distinfo +++ b/dns/py-adns/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1537084332 -SHA256 (adns-1.4-py1.tar.gz) = 675567453caf5843fabd1c2312aad13a93b61c3699dda2ceba67f1a2687ccddc -SIZE (adns-1.4-py1.tar.gz) = 18868 +TIMESTAMP = 1754736651 +SHA256 (adns_python/adns-1.6.0.tar.gz) = 1ea6565a6a47a1a4e90e6cb2ed2c8c9b6ab3ceab6e24ec985d98a97fb8445040 +SIZE (adns_python/adns-1.6.0.tar.gz) = 22689 |