mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
security/py-cryptography-legacy: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
This commit is contained in:
parent
132d00bc52
commit
1e503b0355
@ -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}
|
||||
|
10
security/py-cryptography-legacy/files/patch-pyproject.toml
Normal file
10
security/py-cryptography-legacy/files/patch-pyproject.toml
Normal file
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user