blob: 91796736e64ea5ea92db4bf735b35967277da042 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Butui Hu <hot123tea123@gmail.com>
_pkgname=SimSIMD
pkgname=python-simsimd
pkgver=6.3.3
pkgrel=1
pkgdesc='A Fast Dot Products & Similarity Metrics for Python using SIMD'
arch=('x86_64')
url='https://github.com/ashvardanian/simsimd'
license=('Apache-2.0')
depends=(
gcc-libs
glibc
)
makedepends=(
python-build
python-installer
python-setuptools
python-wheel
)
source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/ashvardanian/SimSIMD/archive/refs/tags/v${pkgver}.tar.gz")
sha512sums=('fc6770ff665080e1ddc43d84b492f08c3bcdc3fb54b58c6d1184cc41ababdd791df937aa75c3a3ac227e5eea7d96a2c26bff95192f8dd714763aa83b8943cd3c')
build() {
cd "${_pkgname}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${_pkgname}-${pkgver}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
# vim:set ts=2 sw=2 et:
|