Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/py-dnsdiag py-dnsdiag: updated to 1.7.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ca4e6df08280
branches:  trunk
changeset: 436470:ca4e6df08280
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Aug 03 14:11:32 2020 +0000

description:
py-dnsdiag: updated to 1.7.0

v1.7.0:
Add JSON export
Ignore unrelated ICMP messages
Fix statistics calculation
-c 0 for infinite ping
Flush output messages
Update sample public resolver data

diffstat:

 net/py-dnsdiag/Makefile |  13 +++++++------
 net/py-dnsdiag/PLIST    |   8 ++++----
 net/py-dnsdiag/distinfo |  10 +++++-----
 3 files changed, 16 insertions(+), 15 deletions(-)

diffs (60 lines):

diff -r 3bfc422d5395 -r ca4e6df08280 net/py-dnsdiag/Makefile
--- a/net/py-dnsdiag/Makefile   Mon Aug 03 14:07:02 2020 +0000
+++ b/net/py-dnsdiag/Makefile   Mon Aug 03 14:11:32 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2018/04/06 12:21:00 adam Exp $
+# $NetBSD: Makefile,v 1.5 2020/08/03 14:11:32 adam Exp $
 
-DISTNAME=      dnsdiag-1.6.4
+DISTNAME=      dnsdiag-1.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/dnsdiag/}
@@ -15,12 +15,13 @@
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 post-install:
+.for bin in dnseval dnsping dnstraceroute
        cd ${DESTDIR}${PREFIX}/bin && \
-               ${MV} dnseval.py dnseval${PYVERSSUFFIX} && ${RM} dnseval && \
-               ${MV} dnsping.py dnsping${PYVERSSUFFIX} && ${RM} dnsping && \
-               ${MV} dnstraceroute.py dnstraceroute${PYVERSSUFFIX} && \
-               ${RM} dnstraceroute || ${TRUE}
+       ${MV} ${bin}.py ${bin}-${PYVERSSUFFIX} && ${RM} -f ${bin} || ${TRUE}
+.endfor
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 3bfc422d5395 -r ca4e6df08280 net/py-dnsdiag/PLIST
--- a/net/py-dnsdiag/PLIST      Mon Aug 03 14:07:02 2020 +0000
+++ b/net/py-dnsdiag/PLIST      Mon Aug 03 14:11:32 2020 +0000
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.2 2017/10/05 09:53:12 adam Exp $
-bin/dnseval${PYVERSSUFFIX}
-bin/dnsping${PYVERSSUFFIX}
-bin/dnstraceroute${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.3 2020/08/03 14:11:32 adam Exp $
+bin/dnseval-${PYVERSSUFFIX}
+bin/dnsping-${PYVERSSUFFIX}
+bin/dnstraceroute-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
diff -r 3bfc422d5395 -r ca4e6df08280 net/py-dnsdiag/distinfo
--- a/net/py-dnsdiag/distinfo   Mon Aug 03 14:07:02 2020 +0000
+++ b/net/py-dnsdiag/distinfo   Mon Aug 03 14:11:32 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2018/04/06 12:21:00 adam Exp $
+$NetBSD: distinfo,v 1.4 2020/08/03 14:11:32 adam Exp $
 
-SHA1 (dnsdiag-1.6.4.tar.gz) = 352ad73eff44ef3628b9dff8031435bcb42c57d3
-RMD160 (dnsdiag-1.6.4.tar.gz) = 7b7307b1ba8029ec98e224fffe877ca3e10bc6fb
-SHA512 (dnsdiag-1.6.4.tar.gz) = 5e6d755724cbe52127560489a15a26afd8cca41603f38c084069d131b6716e4d42c3193990509342a358ff4ddebc9ff0d6d12b58c8df6fa499e3e10fe5c158ba
-Size (dnsdiag-1.6.4.tar.gz) = 12338 bytes
+SHA1 (dnsdiag-1.7.0.tar.gz) = 813ba37acdfb7b0d4bb37cc288035b00e99a827b
+RMD160 (dnsdiag-1.7.0.tar.gz) = c7ef686beeada33369b7c24557a2f2986d562750
+SHA512 (dnsdiag-1.7.0.tar.gz) = 05eebf5ab905d826005b06895817e57e2e5bdbb115b2679c096e16bf15c78ca73a77f79e8e8feb3c425a171fdc11ad2493c5ce461eff97ae774b17d7c392a768
+Size (dnsdiag-1.7.0.tar.gz) = 12819 bytes



Home | Main Index | Thread Index | Old Index