git: 1e503b035565 - main - security/py-cryptography-legacy: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 May 2024 14:22:55 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=1e503b035565b972e8d7785e9e290ed3eee651d9 commit 1e503b035565b972e8d7785e9e290ed3eee651d9 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-05-13 14:07:31 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-05-13 14:07:31 +0000 security/py-cryptography-legacy: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- security/py-cryptography-legacy/Makefile | 8 +++++--- security/py-cryptography-legacy/files/patch-pyproject.toml | 10 ++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/security/py-cryptography-legacy/Makefile b/security/py-cryptography-legacy/Makefile index 0e9421c19323..3ce998682727 100644 --- a/security/py-cryptography-legacy/Makefile +++ b/security/py-cryptography-legacy/Makefile @@ -1,6 +1,6 @@ PORTNAME= cryptography PORTVERSION= 3.4.8 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= security python MASTER_SITES= PYPI @@ -16,7 +16,9 @@ LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.APACHE LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/LICENSE.BSD -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.12:devel/py-cffi@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.12:devel/py-cffi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.12:devel/py-cffi@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography-vectors>=${PORTVERSION}:security/py-cryptography-vectors@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hypothesis>=1.11.4:devel/py-hypothesis@${PY_FLAVOR} \ @@ -29,7 +31,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography-vectors>=${PORTVERSION}:securi ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} USES= compiler:env cpe python ssl -USE_PYTHON= autoplist concurrent distutils pytest +USE_PYTHON= autoplist concurrent pep517 pytest CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} diff --git a/security/py-cryptography-legacy/files/patch-pyproject.toml b/security/py-cryptography-legacy/files/patch-pyproject.toml new file mode 100644 index 000000000000..155640ff78c1 --- /dev/null +++ b/security/py-cryptography-legacy/files/patch-pyproject.toml @@ -0,0 +1,10 @@ +--- pyproject.toml.orig 2021-08-24 17:17:17 UTC ++++ pyproject.toml +@@ -6,7 +6,6 @@ requires = [ + "wheel", + # Must be kept in sync with the `setup_requirements` in `setup.py` + "cffi>=1.12; platform_python_implementation != 'PyPy'", +- "setuptools-rust>=0.11.4", + ] + build-backend = "setuptools.build_meta" +