summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: eeaa1c18524f36ea654724587e66d96513c1a199 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: enihcam <enihcam@archlinux.us>

pkgname=python-graphrag-vectors
pkgver=3.1.0
pkgrel=1
pkgdesc="GraphRAG vectors package"
arch=('any')
url="https://github.com/microsoft/graphrag"
license=('MIT')
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-hatchling' )
depends=('python-azure-core' 'python-azure-cosmos' 'python-azure-identity' 'python-azure-search-documents' 'python-graphrag-common' 'python-numpy' 'python-pyarrow' 'python-pydantic' )
source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/g/graphrag-vectors/graphrag_vectors-3.1.0.tar.gz")
sha256sums=('28f6d5f450bb8c0a60d883afb115de281711f3fb2a0357add463998a2040d313')

build() {
    cd "$srcdir/${pkgname#python-}-$pkgver"
    python -m build --wheel --no-isolation
}

package() {
    cd "$srcdir/${pkgname#python-}-$pkgver"
    python -m installer --destdir="$pkgdir" dist/*.whl
}