server/database: Add pgvector package version 0.8.2

This commit is contained in:
Atilla BALCI
2026-04-18 15:26:07 +03:00
parent 458feefc8e
commit f386c46baf
2 changed files with 76 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
# pgvector builds as a standard PostgreSQL PGXS extension.
# PG_CONFIG is auto-detected via PATH; USE_PGXS=1 tells the
# Makefile to build against the installed PostgreSQL rather than
# the PostgreSQL source tree.
def build():
autotools.make("USE_PGXS=1 OPTFLAGS=\"\"")
def install():
autotools.rawInstall("USE_PGXS=1 DESTDIR=%s OPTFLAGS=\"\"" % get.installDIR())
+58
View File
@@ -0,0 +1,58 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>pgvector</Name>
<Homepage>https://github.com/pgvector/pgvector</Homepage>
<Packager>
<Name>Atilla BALCI</Name>
<Email>atilla.balci@tarimorman.gov.tr</Email>
</Packager>
<License>PostgreSQL</License>
<IsA>library</IsA>
<Summary>Open-source vector similarity search for PostgreSQL</Summary>
<Description>pgvector is an open-source vector similarity search extension for PostgreSQL. Store, index, and query vectors directly in the database. Supports exact and approximate nearest neighbor search, L2, inner product, cosine, L1, Hamming, and Jaccard distances.</Description>
<Archive sha1sum="9cee651c1655356380debce2248a1d0eb1055fed" type="targz">https://github.com/pgvector/pgvector/archive/refs/tags/v0.8.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>postgresql-server</Dependency>
<Dependency>postgresql-lib</Dependency>
<Dependency>gcc</Dependency>
<Dependency>make</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>pgvector</Name>
<RuntimeDependencies>
<Dependency>postgresql-server</Dependency>
<Dependency>postgresql-lib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/postgresql/vector.so</Path>
<Path fileType="data">/usr/share/postgresql/extension/vector*</Path>
<Path fileType="header">/usr/include/postgresql/server/extension/vector</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2026-04-18</Date>
<Version>0.8.2</Version>
<Comment>Improve portability and file paths.</Comment>
<Name>Atilla BALCI</Name>
<Email>atilla.balci@tarimorman.gov.tr</Email>
</Update>
<Update release="2">
<Date>2026-04-18</Date>
<Version>0.8.2</Version>
<Comment>Fix dependencies.</Comment>
<Name>Atilla BALCI</Name>
<Email>atilla.balci@tarimorman.gov.tr</Email>
</Update>
<Update release="1">
<Date>2026-04-18</Date>
<Version>0.8.2</Version>
<Comment>First release</Comment>
<Name>Atilla BALCI</Name>
<Email>atilla.balci@tarimorman.gov.tr</Email>
</Update>
</History>
</PISI>