pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-google-api-python-client py-google-api-python-c...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fa8505294ded
branches: trunk
changeset: 372586:fa8505294ded
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Jan 27 11:57:26 2022 +0000
description:
py-google-api-python-client: bump PKGREVISION
relax restrictions on uritemplate and remove
test dependency on py-unittest2
diffstat:
www/py-google-api-python-client/Makefile | 13 ++++++++++---
www/py-google-api-python-client/distinfo | 3 ++-
www/py-google-api-python-client/patches/patch-setup.py | 15 +++++++++++++++
3 files changed, 27 insertions(+), 4 deletions(-)
diffs (64 lines):
diff -r 50bece36c3f1 -r fa8505294ded www/py-google-api-python-client/Makefile
--- a/www/py-google-api-python-client/Makefile Thu Jan 27 11:48:30 2022 +0000
+++ b/www/py-google-api-python-client/Makefile Thu Jan 27 11:57:26 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.45 2022/01/04 20:55:29 wiz Exp $
+# $NetBSD: Makefile,v 1.46 2022/01/27 11:57:26 wiz Exp $
DISTNAME= google-api-python-client-2.15.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/google-api-python-client/}
@@ -20,11 +20,18 @@
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-oauth2client-[0-9]*:../../security/py-oauth2client
TEST_DEPENDS+= ${PYPKGPREFIX}-parameterized-[0-9]*:../../devel/py-parameterized
-TEST_DEPENDS+= ${PYPKGPREFIX}-unittest2-[0-9]*:../../devel/py-unittest2
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
+# unittest2 is a replacement for python 2.x for unittest; this package
+# is limited to python 3.x anyway, so use unittest directly
+SUBST_CLASSES+= unittest
+SUBST_STAGE.unittest= pre-build
+SUBST_MESSAGE.unittest= Removing unittest2 dependency
+SUBST_SED.unittest+= -e 's/import unittest2 as unittest/import unittest/'
+SUBST_FILES.unittest+= tests/test*.py
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 50bece36c3f1 -r fa8505294ded www/py-google-api-python-client/distinfo
--- a/www/py-google-api-python-client/distinfo Thu Jan 27 11:48:30 2022 +0000
+++ b/www/py-google-api-python-client/distinfo Thu Jan 27 11:57:26 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.39 2021/10/26 11:30:40 nia Exp $
+$NetBSD: distinfo,v 1.40 2022/01/27 11:57:26 wiz Exp $
BLAKE2s (google-api-python-client-2.15.0.tar.gz) = 6b37f5dac5d662b4d52cdc827c4aa8daedce06b197eeb437d53bf4edb984fa12
SHA512 (google-api-python-client-2.15.0.tar.gz) = aa69866b5c67fe1b1af2e2dc6b2117a861c5cc000a17d24283bd57aa55e6a98bf9ffc9002d410ffdf0c4984d0fd9c46a112a73adc968495500b848f02853af6a
Size (google-api-python-client-2.15.0.tar.gz) = 6832207 bytes
+SHA1 (patch-setup.py) = 27e3575c1976047ad3feb08e1e9b34e69955fd2c
diff -r 50bece36c3f1 -r fa8505294ded www/py-google-api-python-client/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-google-api-python-client/patches/patch-setup.py Thu Jan 27 11:57:26 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2022/01/27 11:57:26 wiz Exp $
+
+Relax restrictions.
+
+--- setup.py.orig 2021-07-27 10:49:04.000000000 +0000
++++ setup.py
+@@ -42,7 +42,7 @@ install_requires = [
+ # Until this issue is closed
+ # https://github.com/googleapis/google-cloud-python/issues/10566
+ "google-api-core>=1.21.0,<3.0.0dev",
+- "uritemplate>=3.0.0,<4dev",
++ "uritemplate>=3.0.0",
+ ]
+
+ package_root = os.path.abspath(os.path.dirname(__file__))
Home |
Main Index |
Thread Index |
Old Index