blob: fd1dfaae0e4fd154ecbd89ec4a59964477129249 (
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.1.1
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=('338bd6c12647f0231bfa5f1f22538c3ebfa3a838abcbcc86bee21ed8713dd72701f62245e143e3546b6299fd324221b72abd9b2d7041fece5ea379a65ffd95cc')
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:
|