pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net *: limit more packages to python 3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/82d2ae0f93d1
branches:  trunk
changeset: 385187:82d2ae0f93d1
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Sep 11 17:11:22 2022 +0000

description:
*: limit more packages to python 3

diffstat:

 net/py-awscli/Makefile                |  7 ++++---
 net/py-boto3/Makefile                 |  4 +++-
 net/py-ec2instanceconnectcli/Makefile |  6 +++---
 net/py-s3transfer/Makefile            |  7 ++-----
 4 files changed, 12 insertions(+), 12 deletions(-)

diffs (95 lines):

diff -r a87f965a00cc -r 82d2ae0f93d1 net/py-awscli/Makefile
--- a/net/py-awscli/Makefile    Sun Sep 11 17:08:49 2022 +0000
+++ b/net/py-awscli/Makefile    Sun Sep 11 17:11:22 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.50 2022/01/04 20:54:25 wiz Exp $
+# $NetBSD: Makefile,v 1.51 2022/09/11 17:11:22 wiz Exp $
 
 DISTNAME=      awscli-1.19.93
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -14,17 +14,18 @@
 DEPENDS+=      ${PYPKGPREFIX}-botocore>=1.20.93:../../net/py-botocore
 DEPENDS+=      ${PYPKGPREFIX}-colorama>=0.3.2:../../comms/py-colorama
 DEPENDS+=      ${PYPKGPREFIX}-docutils>=0.10:../../textproc/py-docutils
+DEPENDS+=      ${PYPKGPREFIX}-rsa>=0:../../security/py-rsa
 DEPENDS+=      ${PYPKGPREFIX}-s3transfer>=0.4.0:../../net/py-s3transfer
 DEPENDS+=      ${PYPKGPREFIX}-yaml>=3.10:../../textproc/py-yaml
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 PYTHON_SELF_CONFLICT=  yes
-PYTHON_VERSIONED_DEPENDENCIES+=        rsa
 
 post-extract:
        ${FIND} ${WRKSRC}/awscli/examples -type f -exec ${CHMOD} -R a-x {} +
 
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r a87f965a00cc -r 82d2ae0f93d1 net/py-boto3/Makefile
--- a/net/py-boto3/Makefile     Sun Sep 11 17:08:49 2022 +0000
+++ b/net/py-boto3/Makefile     Sun Sep 11 17:11:22 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2022/01/04 20:54:25 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2022/09/11 17:11:22 wiz Exp $
 
 DISTNAME=      boto3-1.17.93
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -18,5 +18,7 @@
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r a87f965a00cc -r 82d2ae0f93d1 net/py-ec2instanceconnectcli/Makefile
--- a/net/py-ec2instanceconnectcli/Makefile     Sun Sep 11 17:08:49 2022 +0000
+++ b/net/py-ec2instanceconnectcli/Makefile     Sun Sep 11 17:11:22 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2022/04/21 11:00:00 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2022/09/11 17:11:22 wiz Exp $
 
 DISTNAME=      ec2instanceconnectcli-1.0.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -12,8 +12,9 @@
 LICENSE=       apache-2.0
 
 DEPENDS+=      ${PYPKGPREFIX}-botocore>=1.12.179:../../net/py-botocore
+DEPENDS+=      ${PYPKGPREFIX}-cryptography>=0:../../security/py-cryptography
 
-PYTHON_VERSIONED_DEPENDENCIES+=        cryptography
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 USE_LANGUAGES= # none
 
@@ -23,6 +24,5 @@
 .endfor
        ${RM} ${DESTDIR}${PREFIX}/bin/*.cmd
 
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r a87f965a00cc -r 82d2ae0f93d1 net/py-s3transfer/Makefile
--- a/net/py-s3transfer/Makefile        Sun Sep 11 17:08:49 2022 +0000
+++ b/net/py-s3transfer/Makefile        Sun Sep 11 17:11:22 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2022/01/04 20:54:32 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2022/09/11 17:11:22 wiz Exp $
 
 DISTNAME=      s3transfer-0.4.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -13,10 +13,7 @@
 
 DEPENDS+=      ${PYPKGPREFIX}-botocore>=1.12.36:../../net/py-botocore
 
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+=      ${PYPKGPREFIX}-futures>=2.2.0:../../devel/py-futures
-.endif
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 USE_LANGUAGES= # none
 



Home | Main Index | Thread Index | Old Index