git: 5cd7577ec006 - main - sysutils/py-azure-cli-core: Fix build with py-humanfriendly 10.0
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Sep 27 16:01:39 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5cd7577ec006318a5e9b9184b22ae60c8a1972a7
commit 5cd7577ec006318a5e9b9184b22ae60c8a1972a7
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-09-27 15:45:18 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-09-27 15:56:30 +0000
sysutils/py-azure-cli-core: Fix build with py-humanfriendly 10.0
- Bump PORTREVISION for package change
---
sysutils/py-azure-cli-core/Makefile | 3 ++-
sysutils/py-azure-cli-core/files/patch-setup.py | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/sysutils/py-azure-cli-core/Makefile b/sysutils/py-azure-cli-core/Makefile
index 2e07b85775f7..4e7124d22046 100644
--- a/sysutils/py-azure-cli-core/Makefile
+++ b/sysutils/py-azure-cli-core/Makefile
@@ -1,5 +1,6 @@
PORTNAME= azure-cli-core
PORTVERSION= 2.28.0
+PORTREVISION= 1
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +15,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}adal>=1.2.7:net-mgmt/py-adal@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-cli-telemetry>=1.0.6:sysutils/py-azure-cli-telemetry@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}azure-common>=1.1:www/py-azure-common@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}colorama>=0.4.1:devel/py-colorama@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}humanfriendly>=4.7<10.0:textproc/py-humanfriendly@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}humanfriendly>=4.7<11.0:textproc/py-humanfriendly@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jmespath>=0:devel/py-jmespath@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}knack>=0.8.2:devel/py-knack@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}msal>=1.10.0<2.0.0:devel/py-msal@${PY_FLAVOR} \
diff --git a/sysutils/py-azure-cli-core/files/patch-setup.py b/sysutils/py-azure-cli-core/files/patch-setup.py
new file mode 100644
index 000000000000..1b946ddcdf6e
--- /dev/null
+++ b/sysutils/py-azure-cli-core/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2021-09-03 06:33:24 UTC
++++ setup.py
+@@ -49,7 +49,7 @@ DEPENDENCIES = [
+ 'azure-common~=1.1',
+ 'azure-mgmt-core>=1.2.0,<1.3.0', # the preview version of azure-mgmt-core is 1.3.0b1, it cannot fit azure-core >=1.14.0
+ 'cryptography>=3.2,<3.4',
+- 'humanfriendly>=4.7,<10.0',
++ 'humanfriendly>=4.7,<11.0',
+ 'jmespath',
+ 'knack~=0.8.2',
+ 'msal>=1.10.0,<2.0.0',
More information about the dev-commits-ports-all
mailing list