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)
This commit is contained in:
Atanu Biswas 2025-08-09 22:04:40 +09:00 committed by Hiroki Tagato
parent 0cdf52c89b
commit 2dea34d8da
2 changed files with 8 additions and 9 deletions

View File

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

View File

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