summaryrefslogtreecommitdiff
path: root/dns/py-adns
diff options
context:
space:
mode:
Diffstat (limited to 'dns/py-adns')
-rw-r--r--dns/py-adns/Makefile11
-rw-r--r--dns/py-adns/distinfo6
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