aboutsummaryrefslogtreecommitdiff
path: root/databases/py-sqlite-fts4
diff options
context:
space:
mode:
authorFukang Chen <loader@FreeBSD.org>2022-07-26 06:02:55 +0000
committerFukang Chen <loader@FreeBSD.org>2022-07-26 06:02:55 +0000
commit4f49555a4b24b1cc24a91ef2bb710c87d47fa63b (patch)
tree333c1bdbce35fb6daaf08e1b6e75cf647fec570a /databases/py-sqlite-fts4
parent4f0b6807f67314b60fd0e9bb8256b3896d6e3954 (diff)
downloadports-4f49555a4b24b1cc24a91ef2bb710c87d47fa63b.tar.gz
ports-4f49555a4b24b1cc24a91ef2bb710c87d47fa63b.zip
databases/py-sqlite-fts4: New port: Python functions for working with SQLite FTS4 search
Custom SQLite functions written in Python for ranking documents indexed using the FTS4 extension. WWW: https://github.com/simonw/sqlite-fts4
Diffstat (limited to 'databases/py-sqlite-fts4')
-rw-r--r--databases/py-sqlite-fts4/Makefile21
-rw-r--r--databases/py-sqlite-fts4/distinfo3
-rw-r--r--databases/py-sqlite-fts4/pkg-descr4
3 files changed, 28 insertions, 0 deletions
diff --git a/databases/py-sqlite-fts4/Makefile b/databases/py-sqlite-fts4/Makefile
new file mode 100644
index 000000000000..d12fcf4eceaa
--- /dev/null
+++ b/databases/py-sqlite-fts4/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= sqlite-fts4
+PORTVERSION= 1.0.1
+CATEGORIES= databases python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= loader@FreeBSD.org
+COMMENT= Python functions for working with SQLite FTS4 search
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_GITHUB= yes
+GH_ACCOUNT= simonw
+USE_PYTHON= autoplist distutils pytest
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/databases/py-sqlite-fts4/distinfo b/databases/py-sqlite-fts4/distinfo
new file mode 100644
index 000000000000..feb57adb2424
--- /dev/null
+++ b/databases/py-sqlite-fts4/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1658735890
+SHA256 (simonw-sqlite-fts4-1.0.1_GH0.tar.gz) = a261ece8ddb0c70751660220fa64c19c5b491c76111e3ea3870ca1c1c143dfe5
+SIZE (simonw-sqlite-fts4-1.0.1_GH0.tar.gz) = 10786
diff --git a/databases/py-sqlite-fts4/pkg-descr b/databases/py-sqlite-fts4/pkg-descr
new file mode 100644
index 000000000000..0e0bfd9a6e80
--- /dev/null
+++ b/databases/py-sqlite-fts4/pkg-descr
@@ -0,0 +1,4 @@
+Custom SQLite functions written in Python for ranking documents
+indexed using the FTS4 extension.
+
+WWW: https://github.com/simonw/sqlite-fts4