mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
www/py-flask-simpleldap: add new port
LDAP authentication for Flask. PR: 282849
This commit is contained in:
parent
add8c13c2a
commit
01703d23f4
@ -1682,6 +1682,7 @@
|
||||
SUBDIR += py-flask-script
|
||||
SUBDIR += py-flask-security
|
||||
SUBDIR += py-flask-session
|
||||
SUBDIR += py-flask-simpleldap
|
||||
SUBDIR += py-flask-smorest
|
||||
SUBDIR += py-flask-socketio
|
||||
SUBDIR += py-flask-sockets
|
||||
|
47
www/py-flask-simpleldap/Makefile
Normal file
47
www/py-flask-simpleldap/Makefile
Normal file
@ -0,0 +1,47 @@
|
||||
PORTNAME= Flask-SimpleLDAP
|
||||
PORTVERSION= 2.0.0
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= matthew@wener.org
|
||||
COMMENT= LDAP authentication for Flask
|
||||
WWW= https://github.com/alexferl/flask-simpleldap
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blinker>=0:devel/py-blinker@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}flask>=0:www/py-flask@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}itsdangerous>=0:security/py-itsdangerous@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}markupsafe>=0:textproc/py-markupsafe@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0:devel/py-pyasn1-modules@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pyasn1>=0:devel/py-pyasn1@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}python-ldap>=0:net/py-python-ldap@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}werkzeug>=0:www/py-werkzeug@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flask>=0:www/py-flask@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist pep517 pytest
|
||||
|
||||
TEST_ENV= ${MAKE_ENV} \
|
||||
PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
PORTDOCS= PKG-INFO README.md
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
do-test:
|
||||
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-flask-simpleldap/distinfo
Normal file
3
www/py-flask-simpleldap/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1724809518
|
||||
SHA256 (Flask-SimpleLDAP-2.0.0.tar.gz) = d829f8163bae6d61d841707fa8a88bdcaae4862332c1acc13864b24ca82eaf25
|
||||
SIZE (Flask-SimpleLDAP-2.0.0.tar.gz) = 8825
|
2
www/py-flask-simpleldap/pkg-descr
Normal file
2
www/py-flask-simpleldap/pkg-descr
Normal file
@ -0,0 +1,2 @@
|
||||
Flask-SimpleLDAP provides LDAP authentication for Flask and
|
||||
is compatible with and tested on Python 3.8+.
|
Loading…
Reference in New Issue
Block a user