mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-03 11:58:07 -07:00
dev-python/simsimd: Bump to 6.5.16
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -4,3 +4,5 @@ DIST simsimd-6.5.14.tar.gz 186858 BLAKE2B 672593790defcc1ab6781e5bdb114652d19329
|
||||
DIST simsimd-6.5.14.tar.gz.provenance 9353 BLAKE2B 90229287ec211d693bc31cbeca4dda5fbb8e094b3be1400eae985ec3354e7f751b87f53e29a81687e7c29ab8242e7e8622d6fe409b9a97bdcbb8be29e355f21b SHA512 d79c7624efe9ea9697f70005730bbc6137e58986bacd705a8c620cf6fb03a280f9557e81e66eb1a92e858e509f2f210bb16532e5a0551ea641562f17deccf06a
|
||||
DIST simsimd-6.5.15.tar.gz 186832 BLAKE2B 2ad541c94883f9c3b925c50872fbabadd3f6543d9ee33e877d4c5394ee21a72a6e80fed0648d4dbebe8b8dea391b2684ec719bc13e56eea0eebecae3acb86355 SHA512 1c565c7b5b486d54f22b6e68a80587f79f983794176870b131044214277046a4fba312d7fafa68e7f60b708389909e1817c34afa69066c9b878fcd732bbbeb1b
|
||||
DIST simsimd-6.5.15.tar.gz.provenance 9588 BLAKE2B 87ef699494028296ba4240cb86b9be76f612da84252ac9e4981bf25a03019d2c5817123279b259fd1c86ca39596ca7ed144a5e8a95e0b3f49c2ad826deb2cac3 SHA512 7742413438b43f71457a16b5f2ec2039b86f5ae256247e4ec15b9b676d221ea856bb2a813ba786dc77586a0840e588967aea7cc1cd11da18934ccae5bcf8509c
|
||||
DIST simsimd-6.5.16.tar.gz 187216 BLAKE2B 37458dbf2f850e0300728fca7aee04fb10bc2c291cf176b67385e0d4fe243f74bad66d3bace1adb68ea6595896a672de96bcbc4d57875d70f82de809c1ef6a0d SHA512 1300ec551d19a3249f9ce80b38e8fe160725946f061785b76b30a0c1be9bffcdb3cc177f53017249f3efbeee417bacbd13218812b57da96d07f86b9c0e5c1a3c
|
||||
DIST simsimd-6.5.16.tar.gz.provenance 9588 BLAKE2B 181417e467f5e59362344d46797e109659fac8f86e0a38c978a0d6ea6a94baf0b5734e2e366c93eb182551ec91ee53ef79176047c5164177430cf8d1858dfd9d SHA512 6272e6babbe3f0c0a1f3d864524db3edad8977591bb5cd37ecc7972e85552456c73c5b12862dd016b077b889e55d94029711f3a0e441b586f80325a15e99787c
|
||||
|
||||
64
dev-python/simsimd/simsimd-6.5.16.ebuild
Normal file
64
dev-python/simsimd/simsimd-6.5.16.ebuild
Normal file
@@ -0,0 +1,64 @@
|
||||
# Copyright 2024-2026 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
|
||||
}
|
||||
Reference in New Issue
Block a user