git: 2adc60ebcca7 - main - databases/pgvector: Update from 0.6.2 to 0.7.0

From: Torsten Zuehlsdorff <tz_at_FreeBSD.org>
Date: Fri, 03 May 2024 21:38:24 UTC
The branch main has been updated by tz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2adc60ebcca7264c025b42e75f4d0d5cb7872cb3

commit 2adc60ebcca7264c025b42e75f4d0d5cb7872cb3
Author:     Torsten Zuehlsdorff <tz@FreeBSD.org>
AuthorDate: 2024-05-03 21:37:19 +0000
Commit:     Torsten Zuehlsdorff <tz@FreeBSD.org>
CommitDate: 2024-05-03 21:37:19 +0000

    databases/pgvector: Update from 0.6.2 to 0.7.0
    
      Changelog:
    
        Added halfvec type
        Added sparsevec type
        Added support for indexing bit type
        Added support for indexing L1 distance with HNSW
        Added binary_quantize function
        Added hamming_distance function
        Added jaccard_distance function
        Added l2_normalize function
        Added subvector function
        Added concatenate operator for vectors
        Added CPU dispatching for distance functions on Linux x86-64
        Updated comparison operators to support vectors with different dimensions
    
    Sponsored by:   P. Variablis GmbH
---
 databases/pgvector/Makefile  | 2 +-
 databases/pgvector/distinfo  | 6 +++---
 databases/pgvector/pkg-plist | 5 ++++-
 3 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/databases/pgvector/Makefile b/databases/pgvector/Makefile
index 78636fcc5905..f98cac17bc3a 100644
--- a/databases/pgvector/Makefile
+++ b/databases/pgvector/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pgvector
-PORTVERSION=	0.6.2
+PORTVERSION=	0.7.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	databases
 PKGNAMEPREFIX=	postgresql${PGSQL_VER:S/.//}-
diff --git a/databases/pgvector/distinfo b/databases/pgvector/distinfo
index 5a63f8fa2e48..247705e12171 100644
--- a/databases/pgvector/distinfo
+++ b/databases/pgvector/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1711308303
-SHA256 (pgvector-pgvector-v0.6.2_GH0.tar.gz) = a11cc249a9f3f3d7b13069a1696f2915ac28991a72d7ba4e2bcfdceddbaeae49
-SIZE (pgvector-pgvector-v0.6.2_GH0.tar.gz) = 82070
+TIMESTAMP = 1714660132
+SHA256 (pgvector-pgvector-v0.7.0_GH0.tar.gz) = 1b5503a35c265408b6eb282621c5e1e75f7801afc04eecb950796cfee2e3d1d8
+SIZE (pgvector-pgvector-v0.7.0_GH0.tar.gz) = 111225
diff --git a/databases/pgvector/pkg-plist b/databases/pgvector/pkg-plist
index b1d8776c7fc8..146cf5808b59 100644
--- a/databases/pgvector/pkg-plist
+++ b/databases/pgvector/pkg-plist
@@ -1,3 +1,5 @@
+include/postgresql/server/extension/vector/halfvec.h
+include/postgresql/server/extension/vector/sparsevec.h
 include/postgresql/server/extension/vector/vector.h
 lib/postgresql/vector.so
 share/postgresql/extension/vector--0.1.0--0.1.1.sql
@@ -28,5 +30,6 @@ share/postgresql/extension/vector--0.5.0--0.5.1.sql
 share/postgresql/extension/vector--0.5.1--0.6.0.sql
 share/postgresql/extension/vector--0.6.0--0.6.1.sql
 share/postgresql/extension/vector--0.6.1--0.6.2.sql
-share/postgresql/extension/vector--0.6.2.sql
+share/postgresql/extension/vector--0.6.2--0.7.0.sql
+share/postgresql/extension/vector--0.7.0.sql
 share/postgresql/extension/vector.control