git: b1ec64dbeac1 - main - databases/pg_vector: New port
Date: Sun, 05 Nov 2023 00:27:00 UTC
The branch main has been updated by tz: URL: https://cgit.FreeBSD.org/ports/commit/?id=b1ec64dbeac102e8a3693808239a782339e528e3 commit b1ec64dbeac102e8a3693808239a782339e528e3 Author: Torsten Zuehlsdorff <tz@FreeBSD.org> AuthorDate: 2023-11-05 00:05:02 +0000 Commit: Torsten Zuehlsdorff <tz@FreeBSD.org> CommitDate: 2023-11-05 00:26:37 +0000 databases/pg_vector: New port Open-source vector similarity search for Postgres Store your vectors with the rest of your data. Supports: * exact and approximate nearest neighbor search * L2 distance, inner product, and cosine distance * any language with a Postgres client Plus ACID compliance, point-in-time recovery, JOINs, and all of the other great features of Postgres Sponsored by: P. Variablis GmbH --- databases/pg_vector/Makefile | 23 +++++++++++++++++++++++ databases/pg_vector/distinfo | 3 +++ databases/pg_vector/pkg-descr | 10 ++++++++++ databases/pg_vector/pkg-plist | 29 +++++++++++++++++++++++++++++ 4 files changed, 65 insertions(+) diff --git a/databases/pg_vector/Makefile b/databases/pg_vector/Makefile new file mode 100644 index 000000000000..7a2b6e6dd788 --- /dev/null +++ b/databases/pg_vector/Makefile @@ -0,0 +1,23 @@ +PORTNAME= pg_vector +DISTVERSION= v0.5.1 +CATEGORIES= databases +PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}- + +MAINTAINER= tz@FreeBSD.org +COMMENT= PostgreSQL extension for vector similarity search + +LICENSE= BSD2CLAUSE + +USES= gmake pgsql:11+ +WANT_PGSQL= server + +USE_GITHUB= yes +GH_ACCOUNT= pgvector +GH_PROJECT= pgvector + +MAKE_ENV= USE_PGXS=1 + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/vector.so + +.include <bsd.port.mk> diff --git a/databases/pg_vector/distinfo b/databases/pg_vector/distinfo new file mode 100644 index 000000000000..38d3fb9b42d8 --- /dev/null +++ b/databases/pg_vector/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1698481060 +SHA256 (pgvector-pgvector-v0.5.1_GH0.tar.gz) = cc7a8e034a96e30a819911ac79d32f6bc47bdd1aa2de4d7d4904e26b83209dc8 +SIZE (pgvector-pgvector-v0.5.1_GH0.tar.gz) = 70728 diff --git a/databases/pg_vector/pkg-descr b/databases/pg_vector/pkg-descr new file mode 100644 index 000000000000..25c86b693f5c --- /dev/null +++ b/databases/pg_vector/pkg-descr @@ -0,0 +1,10 @@ +Open-source vector similarity search for Postgres + +Store your vectors with the rest of your data. Supports: + +* exact and approximate nearest neighbor search +* L2 distance, inner product, and cosine distance +* any language with a Postgres client + +Plus ACID compliance, point-in-time recovery, JOINs, and all of the other great +features of Postgres diff --git a/databases/pg_vector/pkg-plist b/databases/pg_vector/pkg-plist new file mode 100644 index 000000000000..519cbdb8982a --- /dev/null +++ b/databases/pg_vector/pkg-plist @@ -0,0 +1,29 @@ +include/postgresql/server/extension/vector/vector.h +lib/postgresql/vector.so +share/postgresql/extension/vector--0.1.0--0.1.1.sql +share/postgresql/extension/vector--0.1.1--0.1.3.sql +share/postgresql/extension/vector--0.1.3--0.1.4.sql +share/postgresql/extension/vector--0.1.4--0.1.5.sql +share/postgresql/extension/vector--0.1.5--0.1.6.sql +share/postgresql/extension/vector--0.1.6--0.1.7.sql +share/postgresql/extension/vector--0.1.7--0.1.8.sql +share/postgresql/extension/vector--0.1.8--0.2.0.sql +share/postgresql/extension/vector--0.2.0--0.2.1.sql +share/postgresql/extension/vector--0.2.1--0.2.2.sql +share/postgresql/extension/vector--0.2.2--0.2.3.sql +share/postgresql/extension/vector--0.2.3--0.2.4.sql +share/postgresql/extension/vector--0.2.4--0.2.5.sql +share/postgresql/extension/vector--0.2.5--0.2.6.sql +share/postgresql/extension/vector--0.2.6--0.2.7.sql +share/postgresql/extension/vector--0.2.7--0.3.0.sql +share/postgresql/extension/vector--0.3.0--0.3.1.sql +share/postgresql/extension/vector--0.3.1--0.3.2.sql +share/postgresql/extension/vector--0.3.2--0.4.0.sql +share/postgresql/extension/vector--0.4.0--0.4.1.sql +share/postgresql/extension/vector--0.4.1--0.4.2.sql +share/postgresql/extension/vector--0.4.2--0.4.3.sql +share/postgresql/extension/vector--0.4.3--0.4.4.sql +share/postgresql/extension/vector--0.4.4--0.5.0.sql +share/postgresql/extension/vector--0.5.0--0.5.1.sql +share/postgresql/extension/vector--0.5.1.sql +share/postgresql/extension/vector.control