diff options
author | wiz <wiz@pkgsrc.org> | 2022-01-05 15:40:56 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2022-01-05 15:40:56 +0000 |
commit | d19f073cf98e1f2653a8d55bc4ae03f713437692 (patch) | |
tree | e9aefdaf8aa062e73299809ec4ac25bfcfb8a1a8 /net/py-gsutil | |
parent | 43a3377b786e75dc9288884a4be636135f02feae (diff) | |
download | pkgsrc-d19f073cf98e1f2653a8d55bc4ae03f713437692.tar.gz |
python: egg.mk: add USE_PKG_RESOURCES flag
This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.
Set this flag for packages that need it and bump PKGREVISION.
Diffstat (limited to 'net/py-gsutil')
-rw-r--r-- | net/py-gsutil/Makefile | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/net/py-gsutil/Makefile b/net/py-gsutil/Makefile index 0dbe7229963..5611df1667a 100644 --- a/net/py-gsutil/Makefile +++ b/net/py-gsutil/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.15 2022/01/04 20:54:28 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2022/01/05 15:41:16 wiz Exp $ DISTNAME= gsutil-4.68 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_PYPI:=g/gsutil/} @@ -11,13 +11,6 @@ HOMEPAGE= https://cloud.google.com/storage/docs/gsutil COMMENT= Command line tool for interacting with cloud storage services LICENSE= apache-2.0 -REPLACE_PYTHON+= gslib/vendored/boto/boto/pyami/launch_ami.py -REPLACE_PYTHON+= gslib/vendored/boto/boto/services/bs.py -REPLACE_PYTHON+= gslib/vendored/boto/tests/fps/test.py -REPLACE_PYTHON+= gslib/vendored/boto/tests/test.py -REPLACE_PYTHON+= gslib/vendored/oauth2client/samples/django/django_user/manage.py -REPLACE_PYTHON+= gslib/vendored/oauth2client/samples/django/google_user/manage.py - DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=0.13:../../security/py-OpenSSL DEPENDS+= ${PYPKGPREFIX}-argcomplete>=1.9.4:../../devel/py-argcomplete DEPENDS+= ${PYPKGPREFIX}-crcmod>=1.7:../../security/py-crcmod @@ -33,6 +26,15 @@ DEPENDS+= ${PYPKGPREFIX}-six>=1.12.0:../../lang/py-six USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 +USE_PKG_RESOURCES= yes + +REPLACE_PYTHON+= gslib/vendored/boto/boto/pyami/launch_ami.py +REPLACE_PYTHON+= gslib/vendored/boto/boto/services/bs.py +REPLACE_PYTHON+= gslib/vendored/boto/tests/fps/test.py +REPLACE_PYTHON+= gslib/vendored/boto/tests/test.py +REPLACE_PYTHON+= gslib/vendored/oauth2client/samples/django/django_user/manage.py +REPLACE_PYTHON+= gslib/vendored/oauth2client/samples/django/google_user/manage.py + CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/gslib/vendored/oauth2client/scripts/build_docs.sh CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/gslib/vendored/oauth2client/scripts/install.sh CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/gslib/vendored/oauth2client/scripts/run.sh |