aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaavo-Einari Kaipila <pkaipila@gmail.com>2025-10-08 10:07:56 +0000
committerHiroki Tagato <tagattie@FreeBSD.org>2025-10-08 22:15:40 +0000
commit4d67b17e0cfc9537b4c6fdc30d06c680f476f8db (patch)
treeca66609f8d5d81bcca33985246eb8aec2f4bd8f6
parente2324e762f629275e454f01ec3822da22b0fb3ef (diff)
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)
-rw-r--r--databases/Makefile1
-rw-r--r--databases/tkrzw-python/Makefile25
-rw-r--r--databases/tkrzw-python/distinfo3
-rw-r--r--databases/tkrzw-python/pkg-descr5
4 files changed, 34 insertions, 0 deletions
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.