Sun Nov 5 22:59:47 2023 UTC ()
py-boto: not for Python 3.12

boto (version 2) is dead and packages should migrate to boto3


(wiz)
diff -r1.34 -r1.35 pkgsrc/net/py-boto/Makefile
diff -r1.9 -r1.10 pkgsrc/net/py-gcs-oauth2-boto-plugin/Makefile
diff -r1.17 -r1.18 pkgsrc/net/py-gsutil/Makefile
Mon Nov 6 07:59:47 2023
Mon Jun 26 19:39:40 2023
pkgsrc/net/py-gcs-oauth2-boto-plugin/Makefile,v

anoncvs not yet been updated
Mon Nov 6 07:59:47 2023
Mon Jun 26 19:39:40 2023
pkgsrc/net/py-gsutil/Makefile,v

anoncvs not yet been updated

cvs diff -r1.34 -r1.35 pkgsrc/net/py-boto/Makefile (expand / switch to unified diff)

--- pkgsrc/net/py-boto/Makefile 2022/01/04 20:54:25 1.34
+++ pkgsrc/net/py-boto/Makefile 2023/11/05 22:59:47 1.35
@@ -1,29 +1,31 @@ @@ -1,29 +1,31 @@
1# $NetBSD: Makefile,v 1.34 2022/01/04 20:54:25 wiz Exp $ 1# $NetBSD: Makefile,v 1.35 2023/11/05 22:59:47 wiz Exp $
2 2
3DISTNAME= boto-2.49.0 3DISTNAME= boto-2.49.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5PKGREVISION= 4 5PKGREVISION= 4
6CATEGORIES= net python www 6CATEGORIES= net python www
7MASTER_SITES= ${MASTER_SITE_PYPI:=b/boto/} 7MASTER_SITES= ${MASTER_SITE_PYPI:=b/boto/}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://github.com/boto/boto/ 10HOMEPAGE= https://github.com/boto/boto/
11COMMENT= Python interface to Amazon web services 11COMMENT= Python interface to Amazon web services
12LICENSE= mit 12LICENSE= mit
13 13
14DEPENDS+= ${PYPKGPREFIX}-filechunkio-[0-9]*:../../devel/py-filechunkio 14DEPENDS+= ${PYPKGPREFIX}-filechunkio-[0-9]*:../../devel/py-filechunkio
15TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose 15TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
16 16
 17PYTHON_VERSIONS_INCOMPATIBLE= 27 312
 18
17post-install: 19post-install:
18.for f in asadmin bundle_image cfadmin cq cwutil dynamodb_dump dynamodb_load \ 20.for f in asadmin bundle_image cfadmin cq cwutil dynamodb_dump dynamodb_load \
19 elbadmin fetch_file glacier instance_events kill_instance \ 21 elbadmin fetch_file glacier instance_events kill_instance \
20 launch_instance list_instances lss3 mturk pyami_sendmail route53 \ 22 launch_instance list_instances lss3 mturk pyami_sendmail route53 \
21 s3put sdbadmin taskadmin 23 s3put sdbadmin taskadmin
22 ${MV} ${DESTDIR}${PREFIX}/bin/${f} \ 24 ${MV} ${DESTDIR}${PREFIX}/bin/${f} \
23 ${DESTDIR}${PREFIX}/bin/${f}${PYVERSSUFFIX} || ${TRUE} 25 ${DESTDIR}${PREFIX}/bin/${f}${PYVERSSUFFIX} || ${TRUE}
24.endfor 26.endfor
25 27
26do-test: 28do-test:
27 cd ${WRKSRC}/tests && ${PYTHONBIN} -m unittest discover -v 29 cd ${WRKSRC}/tests && ${PYTHONBIN} -m unittest discover -v
28 30
29.include "../../lang/python/egg.mk" 31.include "../../lang/python/egg.mk"

cvs diff -r1.9 -r1.10 pkgsrc/net/py-gcs-oauth2-boto-plugin/Makefile (expand / switch to unified diff)

--- pkgsrc/net/py-gcs-oauth2-boto-plugin/Makefile 2022/10/19 14:25:19 1.9
+++ pkgsrc/net/py-gcs-oauth2-boto-plugin/Makefile 1.10
@@ -1,30 +0,0 @@ @@ -1,30 +0,0 @@
1# $NetBSD: Makefile,v 1.9 2022/10/19 14:25:19 nia Exp $ 
2 
3DISTNAME= gcs-oauth2-boto-plugin-3.0 
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 
5CATEGORIES= net python 
6MASTER_SITES= ${MASTER_SITE_PYPI:=g/gcs-oauth2-boto-plugin/} 
7 
8MAINTAINER= bsiegert@NetBSD.org 
9HOMEPAGE= https://github.com/GoogleCloudPlatform/gcs-oauth2-boto-plugin 
10COMMENT= Boto auth plugin for Google Cloud Storage 
11LICENSE= apache-2.0 
12 
13DEPENDS+= ${PYPKGPREFIX}-boto>=2.29.1:../../net/py-boto 
14DEPENDS+= ${PYPKGPREFIX}-google-reauth>=0.1.0:../../security/py-google-reauth 
15DEPENDS+= ${PYPKGPREFIX}-httplib2>=0.18:../../www/py-httplib2 
16DEPENDS+= ${PYPKGPREFIX}-oauth2client>=2.2.0:../../security/py-oauth2client 
17DEPENDS+= ${PYPKGPREFIX}-retry_decorator>=1.0.0:../../devel/py-retry_decorator 
18DEPENDS+= ${PYPKGPREFIX}-rsa>=4.7.2:../../security/py-rsa 
19DEPENDS+= ${PYPKGPREFIX}-six>=1.12.0:../../lang/py-six 
20 
21TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun 
22 
23USE_LANGUAGES= # none 
24 
25PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-rsa 
26 
27.include "../../lang/python/egg.mk" 
28PYTHON_VERSIONED_DEPENDENCIES+= OpenSSL 
29.include "../../lang/python/versioned_dependencies.mk" 
30.include "../../mk/bsd.pkg.mk" 

cvs diff -r1.17 -r1.18 pkgsrc/net/py-gsutil/Makefile (expand / switch to unified diff)

--- pkgsrc/net/py-gsutil/Makefile 2022/10/19 14:25:19 1.17
+++ pkgsrc/net/py-gsutil/Makefile 1.18
@@ -1,49 +0,0 @@ @@ -1,49 +0,0 @@
1# $NetBSD: Makefile,v 1.17 2022/10/19 14:25:19 nia Exp $ 
2 
3DISTNAME= gsutil-4.68 
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 
5PKGREVISION= 2 
6CATEGORIES= net python 
7MASTER_SITES= ${MASTER_SITE_PYPI:=g/gsutil/} 
8 
9MAINTAINER= bsiegert@NetBSD.org 
10HOMEPAGE= https://cloud.google.com/storage/docs/gsutil 
11COMMENT= Command line tool for interacting with cloud storage services 
12LICENSE= apache-2.0 
13 
14DEPENDS+= ${PYPKGPREFIX}-argcomplete>=1.9.4:../../devel/py-argcomplete 
15DEPENDS+= ${PYPKGPREFIX}-crcmod>=1.7:../../security/py-crcmod 
16DEPENDS+= ${PYPKGPREFIX}-fasteners>=0.14.1:../../devel/py-fasteners 
17DEPENDS+= ${PYPKGPREFIX}-gcs-oauth2-boto-plugin>=2.7:../../net/py-gcs-oauth2-boto-plugin 
18DEPENDS+= ${PYPKGPREFIX}-google-apitools>=0.5.32:../../www/py-google-apitools 
19DEPENDS+= ${PYPKGPREFIX}-google-reauth>=0.1.0:../../security/py-google-reauth 
20DEPENDS+= ${PYPKGPREFIX}-httplib2>=0.18:../../www/py-httplib2 
21DEPENDS+= ${PYPKGPREFIX}-monotonic>=1.4:../../time/py-monotonic 
22DEPENDS+= ${PYPKGPREFIX}-retry_decorator>=1.0.0:../../devel/py-retry_decorator 
23DEPENDS+= ${PYPKGPREFIX}-six>=1.12.0:../../lang/py-six 
24 
25USE_LANGUAGES= # none 
26PYTHON_VERSIONS_INCOMPATIBLE= 27 
27 
28USE_PKG_RESOURCES= yes 
29 
30REPLACE_PYTHON+= gslib/vendored/boto/boto/pyami/launch_ami.py 
31REPLACE_PYTHON+= gslib/vendored/boto/boto/services/bs.py 
32REPLACE_PYTHON+= gslib/vendored/boto/tests/fps/test.py 
33REPLACE_PYTHON+= gslib/vendored/boto/tests/test.py 
34REPLACE_PYTHON+= gslib/vendored/oauth2client/samples/django/django_user/manage.py 
35REPLACE_PYTHON+= gslib/vendored/oauth2client/samples/django/google_user/manage.py 
36 
37CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/gslib/vendored/oauth2client/scripts/build_docs.sh 
38CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/gslib/vendored/oauth2client/scripts/install.sh 
39CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/gslib/vendored/oauth2client/scripts/run.sh 
40CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/gslib/vendored/oauth2client/scripts/run_system_tests.sh 
41 
42post-install: 
43 cd ${DESTDIR}${PREFIX}/bin && ${MV} gsutil gsutil-${PYVERSSUFFIX} || ${TRUE} 
44 
45.include "../../lang/python/application.mk" 
46.include "../../lang/python/egg.mk" 
47PYTHON_VERSIONED_DEPENDENCIES+= OpenSSL 
48.include "../../lang/python/versioned_dependencies.mk" 
49.include "../../mk/bsd.pkg.mk"