git: 88316fb64f42 - main - databases/py-kyotocabinet: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 23 Mar 2024 14:59:58 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=88316fb64f42a517b898c71a1648078a4d94fe9e commit 88316fb64f42a517b898c71a1648078a4d94fe9e Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-03-23 14:20:40 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-03-23 14:31:04 +0000 databases/py-kyotocabinet: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- databases/py-kyotocabinet/Makefile | 5 ++++- databases/py-kyotocabinet/files/patch-setup.py | 13 +++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/databases/py-kyotocabinet/Makefile b/databases/py-kyotocabinet/Makefile index 32d2693e1eac..e378df24f392 100644 --- a/databases/py-kyotocabinet/Makefile +++ b/databases/py-kyotocabinet/Makefile @@ -1,6 +1,7 @@ PORTNAME= kyotocabinet PORTVERSION= 1.23 DISTVERSIONPREFIX= python- +PORTREVISION= 1 CATEGORIES= databases python MASTER_SITES= https://dbmx.net/kyotocabinet/pythonpkg/ \ LOCAL/sunpoet @@ -13,9 +14,11 @@ WWW= https://dbmx.net/kyotocabinet/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libkyotocabinet.so:databases/kyotocabinet USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 .include <bsd.port.mk> diff --git a/databases/py-kyotocabinet/files/patch-setup.py b/databases/py-kyotocabinet/files/patch-setup.py new file mode 100644 index 000000000000..d50a2aa8a424 --- /dev/null +++ b/databases/py-kyotocabinet/files/patch-setup.py @@ -0,0 +1,13 @@ +--- setup.py.orig 2010-12-16 23:41:42 UTC ++++ setup.py +@@ -1,8 +1,8 @@ from subprocess import * + from distutils.core import * + from subprocess import * + +-package_name = 'Kyoto Cabinet' +-package_version = '1.5' ++package_name = 'kyotocabinet' ++package_version = '1.23' + package_description = 'a straightforward implementation of DBM' + package_author = 'FAL Labs' + package_author_email = 'info@fallabs.com'