git: 4d67b17e0cfc - main - databases/tkrzw-python: new port: Python interface for Tkrzw, successor of Kyoto Cabinet

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Wed, 08 Oct 2025 22:17:29 UTC
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4d67b17e0cfc9537b4c6fdc30d06c680f476f8db

commit 4d67b17e0cfc9537b4c6fdc30d06c680f476f8db
Author:     Paavo-Einari Kaipila <pkaipila@gmail.com>
AuthorDate: 2025-10-08 10:07:56 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-10-08 22:15:40 +0000

    databases/tkrzw-python: new port: Python interface for Tkrzw, successor of Kyoto Cabinet
    
    Python interface for Tkrzw library implementing DBM with various
    algorithms. Tkrzw features high degrees of performance, concurrency,
    scalability and durability.
    
    Tkrzw is a successor of Kyoto Cabinet.
    
    WWW: https://dbmx.net/tkrzw/
    
    PR:             289951
    Reported by:    Paavo-Einari Kaipila <pkaipila@gmail.com> (new maintainer)
---
 databases/Makefile               |  1 +
 databases/tkrzw-python/Makefile  | 25 +++++++++++++++++++++++++
 databases/tkrzw-python/distinfo  |  3 +++
 databases/tkrzw-python/pkg-descr |  5 +++++
 4 files changed, 34 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index bf80773123d0..a9b48e6dbc45 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -1122,6 +1122,7 @@
     SUBDIR += timescaledb-tune
     SUBDIR += tinycdb
     SUBDIR += tkrzw
+    SUBDIR += tkrzw-python
     SUBDIR += tokyocabinet
     SUBDIR += tokyotyrant
     SUBDIR += trilogy
diff --git a/databases/tkrzw-python/Makefile b/databases/tkrzw-python/Makefile
new file mode 100644
index 000000000000..62b5c1303cbe
--- /dev/null
+++ b/databases/tkrzw-python/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	tkrzw
+DISTVERSION=	0.1.32
+CATEGORIES=	databases python
+MASTER_SITES=	https://dbmx.net/${PORTNAME}/pkg-python/
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME}-python-${DISTVERSION}
+
+MAINTAINER=	pkaipila@gmail.com
+COMMENT=	Python interface for Tkrzw, successor of Kyoto Cabinet
+WWW=		https://dbmx.net/tkrzw/
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libtkrzw.so:databases/tkrzw
+
+USES=		localbase python
+USE_PYTHON=	autoplist distutils flavors
+
+LDFLAGS+=	-Wl,--as-needed
+
+post-install:
+	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
+
+.include <bsd.port.mk>
diff --git a/databases/tkrzw-python/distinfo b/databases/tkrzw-python/distinfo
new file mode 100644
index 000000000000..40f8af89baba
--- /dev/null
+++ b/databases/tkrzw-python/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1759315501
+SHA256 (tkrzw-python-0.1.32.tar.gz) = f1c7c49762695cdf02c0322bbc5caff36e7fe21bf69ecb1c562ed7e7e11cf4ee
+SIZE (tkrzw-python-0.1.32.tar.gz) = 57160
diff --git a/databases/tkrzw-python/pkg-descr b/databases/tkrzw-python/pkg-descr
new file mode 100644
index 000000000000..e29efc7820ec
--- /dev/null
+++ b/databases/tkrzw-python/pkg-descr
@@ -0,0 +1,5 @@
+Python interface for Tkrzw library implementing DBM with various
+algorithms. Tkrzw features high degrees of performance, concurrency,
+scalability and durability.
+
+Tkrzw is a successor of Kyoto Cabinet.