aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Osipov <michaelo@FreeBSD.org>2026-08-23 21:04:00 +0000
committerMichael Osipov <michaelo@FreeBSD.org>2026-08-27 07:29:39 +0000
commit154d8c3775f2fd621fdd0604cfc3b396ca98b16b (patch)
treef8533231c4f0a1efb709319b53bdaa12395ca87e
parent477a00121c409965b47a0d91d3533bedfb0d32cc (diff)
security/py-biscuit-auth: Convert build to use PEP 517 and rename to PyPI name
* Rename port to PyPI name according to Python policy * Move build completely to PEP 517 * Bump consumers: www/bunkerweb/Makefile * Simplify Python discovery; the build frontend will pass the interpreter New name: security/py-biscuit-python Co-authored-by: Jochen Neumeister <joneum@FreeBSD.org> PR: 297823 Approved by: joneum (maintainer) Differential Revision: https://reviews.freebsd.org/D59133
-rw-r--r--MOVED1
-rw-r--r--security/Makefile2
-rw-r--r--security/py-biscuit-auth/Makefile44
-rw-r--r--security/py-biscuit-auth/pkg-plist10
-rw-r--r--security/py-biscuit-python/Makefile30
-rw-r--r--security/py-biscuit-python/Makefile.crates (renamed from security/py-biscuit-auth/Makefile.crates)0
-rw-r--r--security/py-biscuit-python/distinfo (renamed from security/py-biscuit-auth/distinfo)0
-rw-r--r--security/py-biscuit-python/pkg-descr (renamed from security/py-biscuit-auth/pkg-descr)2
-rw-r--r--www/bunkerweb/Makefile4
9 files changed, 34 insertions, 59 deletions
diff --git a/MOVED b/MOVED
index 93a78a595437..db6068eca7e3 100644
--- a/MOVED
+++ b/MOVED
@@ -5556,3 +5556,4 @@ sysutils/filevercmp||2026-08-23|Expired: Dependent ports now use git submodules
devel/py-ptvsd|devel/py-debugpy|2026-08-25|Has expired: No longer maintained upstream, use py-debugpy instead
security/please||2026-08-26|Has expired: Upstream project has been archived, use doas or sudo or sudo-rs instead
multimedia/jmref||2026-08-26|Has expired: No longer maintained upstream
+security/py-biscuit-auth|security/py-biscuit-python|2026-08-26|Renamed to match upstream PyPI package name
diff --git a/security/Makefile b/security/Makefile
index b03496f75b07..8d9fc622341f 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -908,7 +908,7 @@
SUBDIR += py-badkeys
SUBDIR += py-base58
SUBDIR += py-bcrypt
- SUBDIR += py-biscuit-auth
+ SUBDIR += py-biscuit-python
SUBDIR += py-bitbox02
SUBDIR += py-blake3
SUBDIR += py-btchip-python
diff --git a/security/py-biscuit-auth/Makefile b/security/py-biscuit-auth/Makefile
deleted file mode 100644
index c663d37ffff1..000000000000
--- a/security/py-biscuit-auth/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-PORTNAME= biscuit-auth
-DISTVERSION= 0.4.0
-PORTREVISION= 2
-CATEGORIES= security python
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-
-MAINTAINER= joneum@FreeBSD.org
-COMMENT= Python bindings for Biscuit authorization tokens
-WWW= https://github.com/eclipse-biscuit/biscuit-python
-
-LICENSE= APACHE20
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=1<2:devel/py-maturin@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}installer>=0:devel/py-installer@${PY_FLAVOR}
-
-USES= cargo python
-USE_GITHUB= yes
-GH_ACCOUNT= eclipse-biscuit
-GH_PROJECT= biscuit-python
-GH_TAGNAME= ${DISTVERSION}
-USE_PYTHON= autoplist concurrent flavors
-
-CARGO_BUILD= no
-CARGO_INSTALL= no
-
-CARGO_ENV= PYO3_PYTHON=${PYTHON_CMD} \
- PYTHON_SYS_EXECUTABLE=${PYTHON_CMD}
-
-MAKE_ENV= ${CARGO_ENV}
-
-BINARY_ALIAS= python3=${PYTHON_CMD}
-
-do-build:
- cd ${WRKSRC} && \
- ${SETENV} ${MAKE_ENV} \
- ${PYTHON_CMD} -m maturin build --release --strip --interpreter ${PYTHON_CMD}
-
-do-install:
- cd ${WRKDIR}/target/wheels && \
- ${PYTHON_CMD} -m installer --destdir=${STAGEDIR} --prefix=${PREFIX} *.whl
-
-.include "${.CURDIR}/Makefile.crates"
-.include <bsd.port.mk>
diff --git a/security/py-biscuit-auth/pkg-plist b/security/py-biscuit-auth/pkg-plist
deleted file mode 100644
index 02bfa0e2dd96..000000000000
--- a/security/py-biscuit-auth/pkg-plist
+++ /dev/null
@@ -1,10 +0,0 @@
-%%PYTHON_SITELIBDIR%%/biscuit_auth/__init__.py
-%%PYTHON_SITELIBDIR%%/biscuit_auth/__init__.pyi
-%%PYTHON_SITELIBDIR%%/biscuit_auth/__pycache__/__init__%%PYTHON_TAG%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/biscuit_auth/__pycache__/__init__%%PYTHON_TAG%%.pyc
-%%PYTHON_SITELIBDIR%%/biscuit_auth/biscuit_auth%%PYTHON_TAG%%.so
-%%PYTHON_SITELIBDIR%%/biscuit_auth/py.typed
-%%PYTHON_SITELIBDIR%%/biscuit_python-0.4.0.dist-info/METADATA
-%%PYTHON_SITELIBDIR%%/biscuit_python-0.4.0.dist-info/RECORD
-%%PYTHON_SITELIBDIR%%/biscuit_python-0.4.0.dist-info/WHEEL
-%%PYTHON_SITELIBDIR%%/biscuit_python-0.4.0.dist-info/licenses/LICENSE
diff --git a/security/py-biscuit-python/Makefile b/security/py-biscuit-python/Makefile
new file mode 100644
index 000000000000..f5ee732f7962
--- /dev/null
+++ b/security/py-biscuit-python/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= biscuit-python
+DISTVERSION= 0.4.0
+PORTREVISION= 3
+CATEGORIES= security python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= joneum@FreeBSD.org
+COMMENT= Python bindings for Biscuit authorization tokens
+WWW= https://github.com/eclipse-biscuit/biscuit-python
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=1<2:devel/py-maturin@${PY_FLAVOR}
+
+USES= cargo python
+USE_GITHUB= yes
+GH_ACCOUNT= eclipse-biscuit
+GH_TAGNAME= ${DISTVERSION}
+USE_PYTHON= autoplist concurrent pep517
+
+CARGO_BUILD= no
+CARGO_INSTALL= no
+
+MAKE_ENV+= ${CARGO_ENV}
+
+PEP517_BUILD_CONFIG_SETTING= -C "maturin.build-args=--strip"
+
+.include "${.CURDIR}/Makefile.crates"
+.include <bsd.port.mk>
diff --git a/security/py-biscuit-auth/Makefile.crates b/security/py-biscuit-python/Makefile.crates
index d353796a8e7f..d353796a8e7f 100644
--- a/security/py-biscuit-auth/Makefile.crates
+++ b/security/py-biscuit-python/Makefile.crates
diff --git a/security/py-biscuit-auth/distinfo b/security/py-biscuit-python/distinfo
index 32aed966fd9d..32aed966fd9d 100644
--- a/security/py-biscuit-auth/distinfo
+++ b/security/py-biscuit-python/distinfo
diff --git a/security/py-biscuit-auth/pkg-descr b/security/py-biscuit-python/pkg-descr
index c85a6d7694eb..63e370bed877 100644
--- a/security/py-biscuit-auth/pkg-descr
+++ b/security/py-biscuit-python/pkg-descr
@@ -1,3 +1 @@
Python bindings for biscuit-auth, a decentralized authorization token system.
-
-WWW: https://github.com/eclipse-biscuit/biscuit-python
diff --git a/www/bunkerweb/Makefile b/www/bunkerweb/Makefile
index 0106240a2296..6c15ca82cb2c 100644
--- a/www/bunkerweb/Makefile
+++ b/www/bunkerweb/Makefile
@@ -1,6 +1,6 @@
PORTNAME= bunkerweb
DISTVERSION= 1.6.13
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www security
MAINTAINER= joneum@FreeBSD.org
@@ -26,7 +26,7 @@ RUN_DEPENDS= openresty:www/openresty \
${PYTHON_PKGNAMEPREFIX}pymysql>0:databases/py-pymysql@${PY_FLAVOR} \
${LUA_MODLIBDIR}/cjson.so:devel/lua-cjson@${LUA_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}bcrypt>0:security/py-bcrypt@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}biscuit-auth>0:security/py-biscuit-auth@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}biscuit-python>0:security/py-biscuit-python@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}passlib>0:security/py-passlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}docker>0:sysutils/py-docker@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}kubernetes>0:sysutils/py-kubernetes@${PY_FLAVOR} \