diff options
author | adam <adam@pkgsrc.org> | 2022-08-10 09:12:00 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2022-08-10 09:12:00 +0000 |
commit | dd6ef604f2b176f1d67a717efaa1a21a3f6b7e65 (patch) | |
tree | cd12438bd92e638cf7f1e578212a0432e0497b39 /net/py-ifaddr | |
parent | fdaf328175a1909002ee6a87728a99afe329f4a7 (diff) | |
download | pkgsrc-dd6ef604f2b176f1d67a717efaa1a21a3f6b7e65.tar.gz |
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 (limited to 'net/py-ifaddr')
-rw-r--r-- | net/py-ifaddr/Makefile | 12 | ||||
-rw-r--r-- | net/py-ifaddr/PLIST | 7 | ||||
-rw-r--r-- | net/py-ifaddr/distinfo | 8 |
3 files changed, 13 insertions, 14 deletions
diff --git a/net/py-ifaddr/Makefile b/net/py-ifaddr/Makefile index 7013de64654..aab0864f5bc 100644 --- a/net/py-ifaddr/Makefile +++ b/net/py-ifaddr/Makefile @@ -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 @@ HOMEPAGE= https://github.com/pydron/ifaddr 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 +PYTHON_VERSIONS_INCOMPATIBLE= 27 + .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/py-ifaddr/PLIST b/net/py-ifaddr/PLIST index 61af7e1d191..d5528e9b48c 100644 --- a/net/py-ifaddr/PLIST +++ b/net/py-ifaddr/PLIST @@ -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/_shared.pyo ${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 --git a/net/py-ifaddr/distinfo b/net/py-ifaddr/distinfo index d0e1fe1d670..61898aae5ad 100644 --- a/net/py-ifaddr/distinfo +++ b/net/py-ifaddr/distinfo @@ -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 |