pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/py-netaddr py-netaddr: restrict to python 3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/41050ed202fd
branches:  trunk
changeset: 381749:41050ed202fd
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jul 12 09:15:50 2022 +0000

description:
py-netaddr: restrict to python 3

diffstat:

 net/py-netaddr/Makefile |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r e3c370ab7fe2 -r 41050ed202fd net/py-netaddr/Makefile
--- a/net/py-netaddr/Makefile   Tue Jul 12 09:08:27 2022 +0000
+++ b/net/py-netaddr/Makefile   Tue Jul 12 09:15:50 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2022/01/14 21:51:09 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2022/07/12 09:15:50 wiz Exp $
 
 DISTNAME=      netaddr-0.8.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -8,13 +8,10 @@
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/drkjam/netaddr
-COMMENT=       Python library for manipluating network addresses
+COMMENT=       Python library for manipulating network addresses
 LICENSE=       modified-bsd
 
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+=      ${PYPKGPREFIX}-importlib-resources-[0-9]*:../../devel/py-importlib-resources
-.endif
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 USE_LANGUAGES= # none
 



Home | Main Index | Thread Index | Old Index