1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00
Files
ports/dns/py-adns/Makefile
T
Atanu Biswas 2dea34d8da 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)
2025-08-09 22:07:49 +09:00

24 lines
517 B
Makefile

PORTNAME= adns
DISTVERSION= 1.6.0
CATEGORIES= dns python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DIST_SUBDIR= ${PORTNAME}_python
MAINTAINER= atanubiswas484@gmail.com
COMMENT= Python module to resolve IPs to host names
WWW= https://github.com/trolldbois/python3-adns/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/GPL
LIB_DEPENDS= libadns.so:dns/adns
USES= localbase python
USE_PYTHON= autoplist distutils
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/adns*.so
.include <bsd.port.mk>