pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/py-ifaddr py-ifaddr: updated to 0.2.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15258ec55b07
branches:  trunk
changeset: 382989:15258ec55b07
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Aug 10 09:12:00 2022 +0000

description:
py-ifaddr: updated to 0.2.0

0.2.0

Added an option to include IP-less adapters, thanks to memory
Fixed a bug where an interface's name was bytes, not str, on Windows
Added an implementation of netifaces.interfaces() (available through ifaddr.netifaces.interfaces())
Added type hints

Backwards incompatible/breaking changes:

Dropped Python 3.6 support

diffstat:

 net/py-ifaddr/Makefile |  12 ++++--------
 net/py-ifaddr/PLIST    |   7 +++++--
 net/py-ifaddr/distinfo |   8 ++++----
 3 files changed, 13 insertions(+), 14 deletions(-)

diffs (66 lines):

diff -r a15b7a832ace -r 15258ec55b07 net/py-ifaddr/Makefile
--- a/net/py-ifaddr/Makefile    Wed Aug 10 09:07:59 2022 +0000
+++ b/net/py-ifaddr/Makefile    Wed Aug 10 09:12:00 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2022/01/04 20:54:28 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2022/08/10 09:12:00 adam Exp $
 
-DISTNAME=      ifaddr-0.1.7
+DISTNAME=      ifaddr-0.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/ifaddr/}
 
@@ -11,12 +10,9 @@
 COMMENT=       Enumerates all IP addresses on all network adapters of the system
 LICENSE=       mit
 
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+=      ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
-.endif
+USE_LANGUAGES= # none
 
-USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r a15b7a832ace -r 15258ec55b07 net/py-ifaddr/PLIST
--- a/net/py-ifaddr/PLIST       Wed Aug 10 09:07:59 2022 +0000
+++ b/net/py-ifaddr/PLIST       Wed Aug 10 09:12:00 2022 +0000
@@ -1,8 +1,7 @@
-@comment $NetBSD: PLIST,v 1.3 2020/06/10 10:18:17 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/08/10 09:12:00 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/ifaddr/__init__.py
 ${PYSITELIB}/ifaddr/__init__.pyc
@@ -16,6 +15,10 @@
 ${PYSITELIB}/ifaddr/_win32.py
 ${PYSITELIB}/ifaddr/_win32.pyc
 ${PYSITELIB}/ifaddr/_win32.pyo
+${PYSITELIB}/ifaddr/netifaces.py
+${PYSITELIB}/ifaddr/netifaces.pyc
+${PYSITELIB}/ifaddr/netifaces.pyo
+${PYSITELIB}/ifaddr/py.typed
 ${PYSITELIB}/ifaddr/test_ifaddr.py
 ${PYSITELIB}/ifaddr/test_ifaddr.pyc
 ${PYSITELIB}/ifaddr/test_ifaddr.pyo
diff -r a15b7a832ace -r 15258ec55b07 net/py-ifaddr/distinfo
--- a/net/py-ifaddr/distinfo    Wed Aug 10 09:07:59 2022 +0000
+++ b/net/py-ifaddr/distinfo    Wed Aug 10 09:12:00 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2022/01/14 11:49:43 wiz Exp $
+$NetBSD: distinfo,v 1.7 2022/08/10 09:12:00 adam Exp $
 
-BLAKE2s (ifaddr-0.1.7.tar.gz) = 43926a3a349fc3960daaf3570a62836863c8e76f42d06d58d5dac25047ecaaf9
-SHA512 (ifaddr-0.1.7.tar.gz) = 9a428dd6bb022c8f483b77df9e9301f96e9ba64207eda8b3956a7ca5993bfe97f222c451149851135d379db1a819c75d0834566f3b6501456b2f237b0645e300
-Size (ifaddr-0.1.7.tar.gz) = 9281 bytes
+BLAKE2s (ifaddr-0.2.0.tar.gz) = d8ea89d809aba622d50d341d4ea7e67426135a75868e7462703ee8b65a91f1ea
+SHA512 (ifaddr-0.2.0.tar.gz) = 02597c0fda81addebbc52893d2f1f5a5f1e99820360202652c433b4869f751901c0931a9fcf8cf0b1b4f1a95c438f238e5b1cfc84511785e7a2a42d5f81bb0d6
+Size (ifaddr-0.2.0.tar.gz) = 10485 bytes



Home | Main Index | Thread Index | Old Index