Add a dependency on py-scrypt to py-passlib. passlib has code to
use three scrypt backends; one in hashlib in python itself, one is py-scrypt, and one is an internal slow pure-python implementation. hashlib in our Python packages doesn't include scrypt (this requires OpenSSL 1.1+'s scrypt code and isn't supported in libressl), and slow pure-python implementation is slow, so provide the best available one.
This commit is contained in:
parent
270ccfb46a
commit
0270cc6c5b
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.14 2019/11/23 14:53:06 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.15 2019/11/23 15:23:14 sthen Exp $
|
||||
|
||||
COMMENT= Python module providing a password hashing framework
|
||||
|
||||
MODPY_EGG_VERSION= 1.7.2
|
||||
DISTNAME= passlib-${MODPY_EGG_VERSION}
|
||||
PKGNAME= py-passlib-${MODPY_EGG_VERSION}
|
||||
REVISION= 0
|
||||
|
||||
CATEGORIES= security
|
||||
|
||||
@ -24,11 +25,13 @@ MODPY_PYTEST_ARGS= passlib
|
||||
FLAVORS= python3
|
||||
FLAVOR?=
|
||||
|
||||
RUN_DEPENDS= security/py-bcrypt${MODPY_FLAVOR}
|
||||
TEST_DEPENDS= devel/py-mock${MODPY_FLAVOR} \
|
||||
RUN_DEPENDS= security/py-bcrypt${MODPY_FLAVOR} \
|
||||
security/py-scrypt${MODPY_FLAVOR}
|
||||
TEST_DEPENDS= ${RUN_DEPENDS} \
|
||||
devel/py-mock${MODPY_FLAVOR} \
|
||||
www/apache-httpd
|
||||
|
||||
pre-test:
|
||||
ln -s ${LOCALBASE}/bin/htpasswd2 ${WRKDIR}/bin/htpasswd
|
||||
ln -fs ${LOCALBASE}/bin/htpasswd2 ${WRKDIR}/bin/htpasswd
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user