summaryrefslogtreecommitdiff
path: root/dns/py-adns/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dns/py-adns/Makefile')
-rw-r--r--dns/py-adns/Makefile11
1 files changed, 5 insertions, 6 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>