Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2021 22:25:22 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 59f703c3a154 - main - devel/py-opencensus: Allow build with py-google-api-core 2.0.0+
Message-ID:  <202109212225.18LMPML7039060@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=59f703c3a15492900297d1a7e585cbf128903c28

commit 59f703c3a15492900297d1a7e585cbf128903c28
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-09-21 22:13:34 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-09-21 22:23:34 +0000

    devel/py-opencensus: Allow build with py-google-api-core 2.0.0+
    
    - Bump PORTREVISION for package change
---
 devel/py-opencensus/Makefile             |  3 ++-
 devel/py-opencensus/files/patch-setup.py | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/devel/py-opencensus/Makefile b/devel/py-opencensus/Makefile
index 9bdbb14e81ba..8b4e9a147b6e 100644
--- a/devel/py-opencensus/Makefile
+++ b/devel/py-opencensus/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	opencensus
 PORTVERSION=	0.7.13
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,7 +12,7 @@ COMMENT=	Stats collection and distributed tracing framework
 
 LICENSE=	APACHE20
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-api-core>=1.0.0<2.0.0:www/py-google-api-core@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-api-core>=1.0.0<3.0.0:www/py-google-api-core@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}opencensus-context>=0.1.2:devel/py-opencensus-context@${PY_FLAVOR}
 
 USES=		python:3.7+
diff --git a/devel/py-opencensus/files/patch-setup.py b/devel/py-opencensus/files/patch-setup.py
new file mode 100644
index 000000000000..c9889422de15
--- /dev/null
+++ b/devel/py-opencensus/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2021-05-13 23:43:32 UTC
++++ setup.py
+@@ -41,7 +41,7 @@ setup(
+     long_description=open('README.rst').read(),
+     install_requires=[
+         'opencensus-context == 0.1.2',
+-        'google-api-core >= 1.0.0, < 2.0.0',
++        'google-api-core >= 1.0.0, < 3.0.0',
+     ],
+     extras_require={},
+     license='Apache-2.0',



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109212225.18LMPML7039060>