git: e5e72af8adb3 - main - devel/py-repoze.lru: Update to 0.8
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 29 Sep 2026 19:29:57 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e5e72af8adb37d41be0256adee7fd1e35bf0255c
commit e5e72af8adb37d41be0256adee7fd1e35bf0255c
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-29 18:59:39 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-29 19:24:48 +0000
devel/py-repoze.lru: Update to 0.8
Changes: https://github.com/repoze/repoze.lru/releases
---
devel/py-repoze.lru/Makefile | 26 ++++++++++++++++++++++++--
devel/py-repoze.lru/distinfo | 6 +++---
devel/py-repoze.lru/files/patch-pyproject.toml | 12 ++++++++++++
3 files changed, 39 insertions(+), 5 deletions(-)
diff --git a/devel/py-repoze.lru/Makefile b/devel/py-repoze.lru/Makefile
index fed3baf28a0c..f832f99e991d 100644
--- a/devel/py-repoze.lru/Makefile
+++ b/devel/py-repoze.lru/Makefile
@@ -1,9 +1,9 @@
PORTNAME= repoze.lru
-PORTVERSION= 0.7
-PORTREVISION= 1
+PORTVERSION= 0.8
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= repoze_lru-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Tiny LRU cache implementation and decorator
@@ -21,5 +21,27 @@ USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
+PEP517_INSTALL_CMD?= ${PYTHON_CMD} -m installer --destdir ${STAGEDIR} --prefix ${PREFIX} ${BUILD_WRKSRC}/dist/${PORTNAME:C|[-_.]+|_|g}-${PORTVERSION}*.whl
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+ @cd ${INSTALL_WRKSRC} && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${PEP517_INSTALL_CMD}
+ @${PYTHON_CMD} -B ${PORTSDIR}/Mk/Scripts/strip_RECORD.py \
+ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME:C|[-_.]+|_|g}-${PORTVERSION}*.dist-info/RECORD >> ${_PYTHONPKGLIST}
+ @${REINPLACE_CMD} \
+ -e '/\.pyc$$/d' \
+ -e 's|^|${PYTHONPREFIX_SITELIBDIR}/|' \
+ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../etc/|etc/|' \
+ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../bin/|bin/|' \
+ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../include/|include/|' \
+ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../lib/|lib/|' \
+ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../libdata/|libdata/|' \
+ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../libexec/|libexec/|' \
+ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../man/|man/|' \
+ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../sbin/|sbin/|' \
+ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../share/|share/|' \
+ ${_PYTHONPKGLIST}
+ @cd ${STAGEDIR}${PREFIX} && ${FIND} lib -name '*.pyc' >> ${_PYTHONPKGLIST}
+
.include <bsd.port.mk>
diff --git a/devel/py-repoze.lru/distinfo b/devel/py-repoze.lru/distinfo
index be778f200013..eaba540f85ac 100644
--- a/devel/py-repoze.lru/distinfo
+++ b/devel/py-repoze.lru/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1513861284
-SHA256 (repoze.lru-0.7.tar.gz) = 0429a75e19380e4ed50c0694e26ac8819b4ea7851ee1fc7583c8572db80aff77
-SIZE (repoze.lru-0.7.tar.gz) = 19591
+TIMESTAMP = 1790435818
+SHA256 (repoze_lru-0.8.tar.gz) = a252408cd93fe670c88d6665b96fe5d42e071dba2507a1f21a1e609ae4fa891a
+SIZE (repoze_lru-0.8.tar.gz) = 22169
diff --git a/devel/py-repoze.lru/files/patch-pyproject.toml b/devel/py-repoze.lru/files/patch-pyproject.toml
new file mode 100644
index 000000000000..f0205fc3022d
--- /dev/null
+++ b/devel/py-repoze.lru/files/patch-pyproject.toml
@@ -0,0 +1,12 @@
+--- pyproject.toml.orig 2026-05-16 16:57:11 UTC
++++ pyproject.toml
+@@ -16,8 +16,7 @@ authors = [
+ authors = [
+ {name = "Tres Seaver, Agendaless Consulting", email = "tseaver@agendaless.com"},
+ ]
+-license = "LicenseRef-Repoze-BSD-derived"
+-license-files = ["LICENSE.txt"]
++license = {text = "LicenseRef-Repoze-BSD-derived"}
+
+ keywords = ["repoze", "lru", "cache"]
+ classifiers = [