diff options
Diffstat (limited to 'security/py-bcrypt/Makefile')
-rw-r--r-- | security/py-bcrypt/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/security/py-bcrypt/Makefile b/security/py-bcrypt/Makefile index 3feb92600cb8..fe1618ce8018 100644 --- a/security/py-bcrypt/Makefile +++ b/security/py-bcrypt/Makefile @@ -1,9 +1,10 @@ PORTNAME= bcrypt -PORTVERSION= 3.2.2 +DISTVERSION= 4.3.0 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= python@FreeBSD.org COMMENT= Modern password hashing for your software and your servers @@ -12,14 +13,20 @@ WWW= https://github.com/pyca/bcrypt LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.1:devel/py-cffi@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-rust>=1.7.0:devel/py-setuptools-rust@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=42.0.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.1:devel/py-cffi@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -USES= python +USES= cargo python USE_PYTHON= autoplist concurrent pep517 pytest +CARGO_CARGOLOCK= ${WRKSRC}/src/_bcrypt/Cargo.lock +CARGO_CARGOTOML= ${WRKSRC}/src/_bcrypt/Cargo.toml +CARGO_BUILD= no +CARGO_INSTALL= no +CARGO_TEST= no + TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} post-install: |