Skip to content

Commit

Permalink
*: mark two more as not-for-python-2.x (due to py-selectors2)
Browse files Browse the repository at this point in the history
  • Loading branch information
0-wiz-0 committed May 1, 2022
1 parent 21ecf21 commit a5e10e6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
8 changes: 5 additions & 3 deletions net/py-junos-eznc/Makefile
Original file line number Diff line number Diff line change
@@ -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}
Expand All @@ -19,11 +19,13 @@ DEPENDS+= ${PYPKGPREFIX}-scp>=0.7.0:../../net/py-scp
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"
11 changes: 3 additions & 8 deletions net/py-ncclient/Makefile
Original file line number Diff line number Diff line change
@@ -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}
Expand All @@ -13,17 +13,12 @@ LICENSE= apache-2.0

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"

0 comments on commit a5e10e6

Please sign in to comment.