From nobody Mon Nov 18 22:08:44 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xshbd08DBz5dcm4; Mon, 18 Nov 2024 22:08:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xshbc6jpcz4RDn; Mon, 18 Nov 2024 22:08:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731967724; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YyZ4jgVopH+OOfZU44BiKUWox/tGrzm0X49nPWhU1Vg=; b=IoOND+QUTp5wuLZjW0lIgST5Xgt3coINSyia4my9SIyObSoz8th3ib+gsFU3dVgItGxHr4 l20hIYRngLnohjxj81Kl/7s9SqITVC1v1Nq1lDpP1xbXrTySudgIhxQpD2i1S8Qku+3SB1 Ovkb9+C0Kty6hNApKpoRfhFxGTtjS2T8NOfcqO1nsh/2fOftQTby/GD3OpkPGGeXyHWckz iUwC94wrOKOXJapmU8/WO2yCom6DWhdxlbOfUJSqIPaTLM0KKBAdINFvkGezJzZOKpZ59p SSRHWfxJPvCfg4zFwL+5ujoD5NNWR0aHzYqfGyEpd4G1kK2LOZfr1lfEQ6olPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731967724; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YyZ4jgVopH+OOfZU44BiKUWox/tGrzm0X49nPWhU1Vg=; b=KMrUaKdOSBPNTsCYAUUbDwhrhqngwn1knx41Wkkz9nsksaqgac9mgtKfGfMJqbiD665SV4 0M2FTtlqpHgCGTV1INOexIgZHWykR0/mAmd7/NHSgBFyxiRulJONJAhGh25FuFLvzPafc3 6QMsgcP3MIb0pExqEyC18aKKVI/oISL9+iZHsgHCsBckjDSKMeoDHByWQ55Ic11Oxa0vi3 lw2tDjfXZtaRP4NIpXY+0BD3pirxNfrcQp1YWOd8aOlpOqSv8GKN0YMkWRxR2CpK30hjJL aU+IBggU2VfNvxgwm5/0efdIHumF60R+WTRPYoEEl4zdjXQ7zwjaVMBT7fsNsg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731967724; a=rsa-sha256; cv=none; b=agSD2LQmne4IinCwVTmrzslNC+ch5c/38KExXmze/5oJJY9LzSe91NzNjGs3xTQJbOJLe2 lITUCjC2iCVZdiezERVC88gFMCDGX7wqAs0wA+9XZFSJsyKpN0/182hUdyR5UAhVdG7Cs1 PebxxsIgNXFHFXIe2UoicoHnA6GhPP1g30Pqw8ZafpR4rzf3IyeTXenYM8nD8/nSETknTP K9oH0FfUPaL7F15o1x5suv27CrVnTb0OZQDuekwZ89207p1CNSjWYlq8J95sD9dmBZyeYs nNQg4H0BZxIJE5Rt0CdhQ2hyfgtb63DNe/crLeSJTTG6je3xHq31j6pvXp2iAA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Xshbc6K8SzyCm; Mon, 18 Nov 2024 22:08:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AIM8iYx003291; Mon, 18 Nov 2024 22:08:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AIM8iBG003288; Mon, 18 Nov 2024 22:08:44 GMT (envelope-from git) Date: Mon, 18 Nov 2024 22:08:44 GMT Message-Id: <202411182208.4AIM8iBG003288@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dries Michiels Subject: git: 01703d23f4e6 - main - www/py-flask-simpleldap: add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: driesm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 01703d23f4e67bcd9b5a29d3ad02a875035fad81 Auto-Submitted: auto-generated The branch main has been updated by driesm: URL: https://cgit.FreeBSD.org/ports/commit/?id=01703d23f4e67bcd9b5a29d3ad02a875035fad81 commit 01703d23f4e67bcd9b5a29d3ad02a875035fad81 Author: Matthew Wener AuthorDate: 2024-11-18 21:51:40 +0000 Commit: Dries Michiels CommitDate: 2024-11-18 22:08:08 +0000 www/py-flask-simpleldap: add new port LDAP authentication for Flask. PR: 282849 --- www/Makefile | 1 + www/py-flask-simpleldap/Makefile | 47 +++++++++++++++++++++++++++++++++++++++ www/py-flask-simpleldap/distinfo | 3 +++ www/py-flask-simpleldap/pkg-descr | 2 ++ 4 files changed, 53 insertions(+) diff --git a/www/Makefile b/www/Makefile index bd39b966f937..12bccb2c088e 100644 --- a/www/Makefile +++ b/www/Makefile @@ -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 diff --git a/www/py-flask-simpleldap/Makefile b/www/py-flask-simpleldap/Makefile new file mode 100644 index 000000000000..f2a26c4017f4 --- /dev/null +++ b/www/py-flask-simpleldap/Makefile @@ -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 diff --git a/www/py-flask-simpleldap/distinfo b/www/py-flask-simpleldap/distinfo new file mode 100644 index 000000000000..4c4107cd6ff2 --- /dev/null +++ b/www/py-flask-simpleldap/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1724809518 +SHA256 (Flask-SimpleLDAP-2.0.0.tar.gz) = d829f8163bae6d61d841707fa8a88bdcaae4862332c1acc13864b24ca82eaf25 +SIZE (Flask-SimpleLDAP-2.0.0.tar.gz) = 8825 diff --git a/www/py-flask-simpleldap/pkg-descr b/www/py-flask-simpleldap/pkg-descr new file mode 100644 index 000000000000..79b9b1ef1676 --- /dev/null +++ b/www/py-flask-simpleldap/pkg-descr @@ -0,0 +1,2 @@ +Flask-SimpleLDAP provides LDAP authentication for Flask and +is compatible with and tested on Python 3.8+.