py-boto: not for Python 3.12 boto (version 2) is dead and packages should migrate to boto3diff -r1.34 -r1.35 pkgsrc/net/py-boto/Makefile
(wiz)
@@ -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 | |||
3 | DISTNAME= boto-2.49.0 | 3 | DISTNAME= boto-2.49.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | PKGREVISION= 4 | 5 | PKGREVISION= 4 | |
6 | CATEGORIES= net python www | 6 | CATEGORIES= net python www | |
7 | MASTER_SITES= ${MASTER_SITE_PYPI:=b/boto/} | 7 | MASTER_SITES= ${MASTER_SITE_PYPI:=b/boto/} | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://github.com/boto/boto/ | 10 | HOMEPAGE= https://github.com/boto/boto/ | |
11 | COMMENT= Python interface to Amazon web services | 11 | COMMENT= Python interface to Amazon web services | |
12 | LICENSE= mit | 12 | LICENSE= mit | |
13 | 13 | |||
14 | DEPENDS+= ${PYPKGPREFIX}-filechunkio-[0-9]*:../../devel/py-filechunkio | 14 | DEPENDS+= ${PYPKGPREFIX}-filechunkio-[0-9]*:../../devel/py-filechunkio | |
15 | TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose | 15 | TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose | |
16 | 16 | |||
17 | PYTHON_VERSIONS_INCOMPATIBLE= 27 312 | |||
18 | ||||
17 | post-install: | 19 | post-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 | |||
26 | do-test: | 28 | do-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" |
@@ -1,30 +0,0 @@ | @@ -1,30 +0,0 @@ | |||
1 | # $NetBSD: Makefile,v 1.9 2022/10/19 14:25:19 nia Exp $ | |||
2 | ||||
3 | DISTNAME= gcs-oauth2-boto-plugin-3.0 | |||
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |||
5 | CATEGORIES= net python | |||
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=g/gcs-oauth2-boto-plugin/} | |||
7 | ||||
8 | MAINTAINER= bsiegert@NetBSD.org | |||
9 | HOMEPAGE= https://github.com/GoogleCloudPlatform/gcs-oauth2-boto-plugin | |||
10 | COMMENT= Boto auth plugin for Google Cloud Storage | |||
11 | LICENSE= apache-2.0 | |||
12 | ||||
13 | DEPENDS+= ${PYPKGPREFIX}-boto>=2.29.1:../../net/py-boto | |||
14 | DEPENDS+= ${PYPKGPREFIX}-google-reauth>=0.1.0:../../security/py-google-reauth | |||
15 | DEPENDS+= ${PYPKGPREFIX}-httplib2>=0.18:../../www/py-httplib2 | |||
16 | DEPENDS+= ${PYPKGPREFIX}-oauth2client>=2.2.0:../../security/py-oauth2client | |||
17 | DEPENDS+= ${PYPKGPREFIX}-retry_decorator>=1.0.0:../../devel/py-retry_decorator | |||
18 | DEPENDS+= ${PYPKGPREFIX}-rsa>=4.7.2:../../security/py-rsa | |||
19 | DEPENDS+= ${PYPKGPREFIX}-six>=1.12.0:../../lang/py-six | |||
20 | ||||
21 | TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun | |||
22 | ||||
23 | USE_LANGUAGES= # none | |||
24 | ||||
25 | PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-rsa | |||
26 | ||||
27 | .include "../../lang/python/egg.mk" | |||
28 | PYTHON_VERSIONED_DEPENDENCIES+= OpenSSL | |||
29 | .include "../../lang/python/versioned_dependencies.mk" | |||
30 | .include "../../mk/bsd.pkg.mk" |
@@ -1,49 +0,0 @@ | @@ -1,49 +0,0 @@ | |||
1 | # $NetBSD: Makefile,v 1.17 2022/10/19 14:25:19 nia Exp $ | |||
2 | ||||
3 | DISTNAME= gsutil-4.68 | |||
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |||
5 | PKGREVISION= 2 | |||
6 | CATEGORIES= net python | |||
7 | MASTER_SITES= ${MASTER_SITE_PYPI:=g/gsutil/} | |||
8 | ||||
9 | MAINTAINER= bsiegert@NetBSD.org | |||
10 | HOMEPAGE= https://cloud.google.com/storage/docs/gsutil | |||
11 | COMMENT= Command line tool for interacting with cloud storage services | |||
12 | LICENSE= apache-2.0 | |||
13 | ||||
14 | DEPENDS+= ${PYPKGPREFIX}-argcomplete>=1.9.4:../../devel/py-argcomplete | |||
15 | DEPENDS+= ${PYPKGPREFIX}-crcmod>=1.7:../../security/py-crcmod | |||
16 | DEPENDS+= ${PYPKGPREFIX}-fasteners>=0.14.1:../../devel/py-fasteners | |||
17 | DEPENDS+= ${PYPKGPREFIX}-gcs-oauth2-boto-plugin>=2.7:../../net/py-gcs-oauth2-boto-plugin | |||
18 | DEPENDS+= ${PYPKGPREFIX}-google-apitools>=0.5.32:../../www/py-google-apitools | |||
19 | DEPENDS+= ${PYPKGPREFIX}-google-reauth>=0.1.0:../../security/py-google-reauth | |||
20 | DEPENDS+= ${PYPKGPREFIX}-httplib2>=0.18:../../www/py-httplib2 | |||
21 | DEPENDS+= ${PYPKGPREFIX}-monotonic>=1.4:../../time/py-monotonic | |||
22 | DEPENDS+= ${PYPKGPREFIX}-retry_decorator>=1.0.0:../../devel/py-retry_decorator | |||
23 | DEPENDS+= ${PYPKGPREFIX}-six>=1.12.0:../../lang/py-six | |||
24 | ||||
25 | USE_LANGUAGES= # none | |||
26 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |||
27 | ||||
28 | USE_PKG_RESOURCES= yes | |||
29 | ||||
30 | REPLACE_PYTHON+= gslib/vendored/boto/boto/pyami/launch_ami.py | |||
31 | REPLACE_PYTHON+= gslib/vendored/boto/boto/services/bs.py | |||
32 | REPLACE_PYTHON+= gslib/vendored/boto/tests/fps/test.py | |||
33 | REPLACE_PYTHON+= gslib/vendored/boto/tests/test.py | |||
34 | REPLACE_PYTHON+= gslib/vendored/oauth2client/samples/django/django_user/manage.py | |||
35 | REPLACE_PYTHON+= gslib/vendored/oauth2client/samples/django/google_user/manage.py | |||
36 | ||||
37 | CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/gslib/vendored/oauth2client/scripts/build_docs.sh | |||
38 | CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/gslib/vendored/oauth2client/scripts/install.sh | |||
39 | CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/gslib/vendored/oauth2client/scripts/run.sh | |||
40 | CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/gslib/vendored/oauth2client/scripts/run_system_tests.sh | |||
41 | ||||
42 | post-install: | |||
43 | cd ${DESTDIR}${PREFIX}/bin && ${MV} gsutil gsutil-${PYVERSSUFFIX} || ${TRUE} | |||
44 | ||||
45 | .include "../../lang/python/application.mk" | |||
46 | .include "../../lang/python/egg.mk" | |||
47 | PYTHON_VERSIONED_DEPENDENCIES+= OpenSSL | |||
48 | .include "../../lang/python/versioned_dependencies.mk" | |||
49 | .include "../../mk/bsd.pkg.mk" |