aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-06-21 16:33:10 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-06-21 16:36:23 +0000
commitd71d9cdc6580c4858c1afd5898439773fb141dd6 (patch)
tree0f0e5e922c4a5d3dd00dda4fdfe89bdfdf8e9137 /net
parent94f84ac1bf3c77a582228115c57721a30d90d82b (diff)
downloadports-d71d9cdc6580c4858c1afd5898439773fb141dd6.tar.gz
ports-d71d9cdc6580c4858c1afd5898439773fb141dd6.zip
net/py-python-glanceclient: Allow build with py-warlock 2.0.0+
- Bump PORTREVISION for package change
Diffstat (limited to 'net')
-rw-r--r--net/py-python-glanceclient/Makefile3
-rw-r--r--net/py-python-glanceclient/files/patch-requirements.txt11
2 files changed, 13 insertions, 1 deletions
diff --git a/net/py-python-glanceclient/Makefile b/net/py-python-glanceclient/Makefile
index b3c2700291c1..d394013a8cd2 100644
--- a/net/py-python-glanceclient/Makefile
+++ b/net/py-python-glanceclient/Makefile
@@ -2,6 +2,7 @@
PORTNAME= python-glanceclient
PORTVERSION= 4.0.0
+PORTREVISION= 1
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -20,7 +21,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=3.6.2:devel/py-keystoneauth1@
${PYTHON_PKGNAMEPREFIX}prettytable0>=0.7.1:devel/py-prettytable0@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}openssl>=17.1.0:security/py-openssl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.14.2:www/py-requests@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}warlock>=1.2.0<2:devel/py-warlock@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}warlock>=1.2.0:devel/py-warlock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wrapt>=1.7.0:devel/py-wrapt@${PY_FLAVOR}
USES= python:3.8+
diff --git a/net/py-python-glanceclient/files/patch-requirements.txt b/net/py-python-glanceclient/files/patch-requirements.txt
new file mode 100644
index 000000000000..1473051fd8b1
--- /dev/null
+++ b/net/py-python-glanceclient/files/patch-requirements.txt
@@ -0,0 +1,11 @@
+--- requirements.txt.orig 2022-05-20 20:34:02 UTC
++++ requirements.txt
+@@ -5,7 +5,7 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0
+ PrettyTable>=0.7.1 # BSD
+ keystoneauth1>=3.6.2 # Apache-2.0
+ requests>=2.14.2 # Apache-2.0
+-warlock<2,>=1.2.0 # Apache-2.0
++warlock>=1.2.0 # Apache-2.0
+ oslo.utils>=3.33.0 # Apache-2.0
+ oslo.i18n>=3.15.3 # Apache-2.0
+ wrapt>=1.7.0 # BSD License