pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net *: mark two more as not-for-python-2.x (due to py-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/521f6cd4a18a
branches:  trunk
changeset: 378272:521f6cd4a18a
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun May 01 12:51:31 2022 +0000

description:
*: mark two more as not-for-python-2.x (due to py-selectors2)

diffstat:

 net/py-junos-eznc/Makefile |   8 +++++---
 net/py-ncclient/Makefile   |  11 +++--------
 2 files changed, 8 insertions(+), 11 deletions(-)

diffs (54 lines):

diff -r 2ae96e9f1571 -r 521f6cd4a18a net/py-junos-eznc/Makefile
--- a/net/py-junos-eznc/Makefile        Sun May 01 10:51:13 2022 +0000
+++ b/net/py-junos-eznc/Makefile        Sun May 01 12:51:31 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2022/04/19 12:04:07 tnn Exp $
+# $NetBSD: Makefile,v 1.17 2022/05/01 12:51:31 wiz Exp $
 
 DISTNAME=      junos-eznc-2.1.7
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -19,11 +19,13 @@
 DEPENDS+=      ${PYPKGPREFIX}-jxmlease-[0-9]*:../../textproc/py-jxmlease
 DEPENDS+=      ${PYPKGPREFIX}-netaddr-[0-9]*:../../net/py-netaddr
 DEPENDS+=      ${PYPKGPREFIX}-serial-[0-9]*:../../comms/py-serial
+DEPENDS+=      ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+DEPENDS+=      ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
 DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
 
 USE_LANGUAGES= # none
-PYTHON_VERSIONED_DEPENDENCIES+=        jinja2 setuptools
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2ae96e9f1571 -r 521f6cd4a18a net/py-ncclient/Makefile
--- a/net/py-ncclient/Makefile  Sun May 01 10:51:13 2022 +0000
+++ b/net/py-ncclient/Makefile  Sun May 01 12:51:31 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2022/01/04 20:54:29 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2022/05/01 12:51:31 wiz Exp $
 
 DISTNAME=      ncclient-0.6.10
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -13,17 +13,12 @@
 
 DEPENDS+=      ${PYPKGPREFIX}-lxml>=3.3.0:../../textproc/py-lxml
 DEPENDS+=      ${PYPKGPREFIX}-paramiko>=1.15.0:../../security/py-paramiko
+DEPENDS+=      ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
 
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+=      ${PYPKGPREFIX}-selectors2>=2.0.1:../../devel/py-selectors2
-.endif
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONED_DEPENDENCIES+=        setuptools
-
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index