mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/simsimd: Bump to 6.5.8
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
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
|
||||
DIST simsimd-6.5.8.tar.gz.provenance 9301 BLAKE2B 96454794c9e1c60c3c30b5949d103684376beb276284ce30d4e326c667d70c6e5e62c16d85c87d5daba590b5d9a6b54b6d4b2ba2fd4be44a03eb723650b07812 SHA512 964ee818b70278ef217e4a207ad972ddca1b4cec2000918d62b3ad8de6e7e2c30ace2030a697b7c302f064feb80113c21c95377dabc6cb1b4ca1c7d506602998
|
||||
|
||||
63
dev-python/simsimd/simsimd-6.5.8.ebuild
Normal file
63
dev-python/simsimd/simsimd-6.5.8.ebuild
Normal file
@@ -0,0 +1,63 @@
|
||||
# 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
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user