mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
dev-python/simsimd: Bump to 6.5.12
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
f42523c5f0
commit
c0fc01c42c
@ -1,3 +1,5 @@
|
||||
DIST simsimd-6.5.12.tar.gz 186676 BLAKE2B 3eadeb1612d7147539a259112ac2dc186b95ed55f814ef662b596e654e5782b54f633cd9086b14ff97f2c86b4f6083057615fd2e98b89ac599408461a5abf28d SHA512 50cdc0201c3a4753a504f50474337957b8aa0ac5e889fbc3921abce611d49e95bd48b9e458c05cff526e3fa65b7010445a942ce46ceab47eaa03d31d87036311
|
||||
DIST simsimd-6.5.12.tar.gz.provenance 9493 BLAKE2B dc070671415ab886ee4642824ab536dad5cc9ceed147a259c8f38b8d1b6690b2c0fb221fdba4e7297e88f4627ebc655e742e7668c92d2752412c4e1e0d68b599 SHA512 8db488effba3057ed611a40ecb9cb3952c67441fbed4fcc504f95ac1792bdb466e451791b0844058d6323e6f4c9aac0d18e6a8ede74944bdc045a83e320b1471
|
||||
DIST simsimd-6.5.3.tar.gz 184865 BLAKE2B beb35b81ab1b5d722c4e3c824075e150620943bd66ba488be020c0de3d5fa3ffd24efc7870763fe3d4c9e0d824e2b116af942b2bd3e38463d5948a5832a2fbf8 SHA512 adc914bba666fc05b57b40f0b00b591d15d6e834eed27d232ef498bd93b0ed398a0348478fc4f2517a1f5d973985060d93a2c3346917ce4a47b90a5e359668b8
|
||||
DIST simsimd-6.5.3.tar.gz.provenance 9307 BLAKE2B ae0de33d7d106b0ecc3705bcb8d5b5ec6a42fd12657b2b429083991187747e4ea7f1d5b37205b9d1aae5f1db5acfb42fb3417ac89470e34c2d28fda1f4d3f4f0 SHA512 dda353b271dca77f89362ad18d24fea82c07395b2d753a2afaeb133cb50fa2d8fec7b2c2c836ab995f2292cc09b53c67e2aedccfff6111cbeb2445aab112185f
|
||||
DIST simsimd-6.5.8.tar.gz 186258 BLAKE2B fa7ef025ee43991faf1fde2e8cdf01f7e2cacd59fb8581fe3eb627957cdabc613190cfddc01021852e8f9e9ff1dd92bf33af757f7d10ef0c23694058de46ec4b SHA512 960769928b5abb9376b9dccbd13b06672861769fadce97a3d90a72407ea663baf3287b8c246415e46ee72ff262ded9838ac748fc76e120566975f09ea439826c
|
||||
|
||||
64
dev-python/simsimd/simsimd-6.5.12.ebuild
Normal file
64
dev-python/simsimd/simsimd-6.5.12.ebuild
Normal file
@ -0,0 +1,64 @@
|
||||
# Copyright 2024-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_VERIFY_REPO=https://github.com/ashvardanian/SimSIMD
|
||||
# TODO: freethreading
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 pypi toolchain-funcs
|
||||
|
||||
DESCRIPTION="Fastest SIMD-Accelerated Vector Similarity Functions for x86 and Arm"
|
||||
HOMEPAGE="
|
||||
https://github.com/ashvardanian/SimSIMD/
|
||||
https://pypi.org/project/simsimd/
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="openmp"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/tabulate[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-repeat )
|
||||
distutils_enable_tests pytest
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ ${MERGE_TYPE} != binary ]] && use openmp; then
|
||||
tc-check-openmp
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${MERGE_TYPE} != binary ]] && use openmp; then
|
||||
tc-check-openmp
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/-O3/d' setup.py || die
|
||||
if ! use openmp; then
|
||||
sed -i -e '/-fopenmp/d' setup.py || die
|
||||
fi
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "Please disregard initial compiler errors -- the package is checking"
|
||||
einfo "for target support."
|
||||
|
||||
distutils-r1_src_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest scripts/test.py
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user