git: 27fe4dde6b10 - main - security/py-python3-saml: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 31 Jul 2023 16:47:32 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=27fe4dde6b108f59a54a302aab3c84262f587429
commit 27fe4dde6b108f59a54a302aab3c84262f587429
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-31 16:32:50 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-31 16:40:15 +0000
security/py-python3-saml: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
---
security/py-python3-saml/Makefile | 8 ++++++--
security/py-python3-saml/files/patch-pyproject.toml | 11 +++++++++++
2 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/security/py-python3-saml/Makefile b/security/py-python3-saml/Makefile
index 8e17c9f74d2a..4a7391e3a310 100644
--- a/security/py-python3-saml/Makefile
+++ b/security/py-python3-saml/Makefile
@@ -1,5 +1,6 @@
PORTNAME= python3-saml
PORTVERSION= 1.15.0
+PORTREVISION= 1
CATEGORIES= security python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,12 +12,15 @@ WWW= https://github.com/SAML-Toolkits/python3-saml
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.1.0:devel/py-poetry-core@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools>=40.1.0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}isodate>=0.6.1:devel/py-isodate@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}lxml>=4.7.1:devel/py-lxml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>=4.6.5:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xmlsec>=1.3.9:security/py-xmlsec@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
diff --git a/security/py-python3-saml/files/patch-pyproject.toml b/security/py-python3-saml/files/patch-pyproject.toml
new file mode 100644
index 000000000000..e46f3ab3cb44
--- /dev/null
+++ b/security/py-python3-saml/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig 2022-12-27 21:57:03 UTC
++++ pyproject.toml
+@@ -79,7 +79,7 @@ test = ["flake8", "freezegun", "pytest", "coverage"]
+
+ [build-system]
+ requires = [
+- "poetry>=1.1.15",
++ "poetry-core>=1.1.0",
+ "setuptools >= 40.1.0",
+ "wheel"
+ ]