From edbbeffe1122d805d1ca0f67457432204ea50e5e Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Tue, 8 Jul 2025 19:13:23 +0000 Subject: Adding metadata --- dev-python/simsimd/Manifest | 2 +- dev-python/simsimd/simsimd-6.4.9.ebuild | 64 ------------------------------ dev-python/simsimd/simsimd-6.5.0.ebuild | 70 +++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 65 deletions(-) delete mode 100644 dev-python/simsimd/simsimd-6.4.9.ebuild create mode 100644 dev-python/simsimd/simsimd-6.5.0.ebuild (limited to 'dev-python/simsimd') diff --git a/dev-python/simsimd/Manifest b/dev-python/simsimd/Manifest index 5b828de3c9e7..9711914dbf51 100644 --- a/dev-python/simsimd/Manifest +++ b/dev-python/simsimd/Manifest @@ -1,2 +1,2 @@ DIST SimSIMD-6.4.10.gh.tar.gz 223524 BLAKE2B d0a9940883e618fdc6b7097996c755b6cfa9719ccf3cee52b2e2d96db839cdb6b5930f0a94b08b5a44c2bad8bf716229fddf99b43e045155d357ab26e4f6630f SHA512 039e62da33abd0a2b36548c3e64af528a7d2b75d34cbb45c32ba8408d79692f11e73600e7c9e5464b28b51d271a26a02a0e3e086583055b5c298db51b7421c07 -DIST SimSIMD-6.4.9.gh.tar.gz 221231 BLAKE2B 088ed41affc07c51818999688fe12c37f97de5bfe2401b25fe92f76c013fd88e1648d9a4e04db6c1e05a79cd21ea0b2d3ac36ac1626f1bd9236cb997448bbd4f SHA512 c08656215c4c909de2446f94e42ddb3b1d965656f58c6f4c17245c12d1b7134ab0d61318918c61ed9c3270d8108004ae0ac0502e3da6f6ba66ed0ab37aeaaa8a +DIST SimSIMD-6.5.0.gh.tar.gz 225878 BLAKE2B 8acc1d7ac540c0a5056a48bd1e1c7093737fdab6121e7bf5c09ec5c15af5d10b21581a18ca6cd4cc905a1dd5021d932234a0d8d7ba126d621d565a9c6148146d SHA512 d745782051250acd2e43bb6d35ee6c9e62b93d7f59ba58ac716715f638489d9c5f7f762381023a69f975eaa22ea239fb5b7bee2a73cdf91cf5d9112eee8d2c76 diff --git a/dev-python/simsimd/simsimd-6.4.9.ebuild b/dev-python/simsimd/simsimd-6.4.9.ebuild deleted file mode 100644 index da7be6bc1b94..000000000000 --- a/dev-python/simsimd/simsimd-6.4.9.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# 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 -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 toolchain-funcs - -MY_P=SimSIMD-${PV} -DESCRIPTION="Fastest SIMD-Accelerated Vector Similarity Functions for x86 and Arm" -HOMEPAGE=" - https://github.com/ashvardanian/SimSIMD/ - https://pypi.org/project/simsimd/ -" -# no sdist, as of 4.3.1 -# https://github.com/ashvardanian/SimSIMD/issues/113 -SRC_URI=" - https://github.com/ashvardanian/SimSIMD/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="openmp" - -BDEPEND=" - test? ( - dev-python/pytest-repeat[${PYTHON_USEDEP}] - dev-python/tabulate[${PYTHON_USEDEP}] - ) -" - -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 -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p repeat scripts/test.py -} diff --git a/dev-python/simsimd/simsimd-6.5.0.ebuild b/dev-python/simsimd/simsimd-6.5.0.ebuild new file mode 100644 index 000000000000..55d9082076fd --- /dev/null +++ b/dev-python/simsimd/simsimd-6.5.0.ebuild @@ -0,0 +1,70 @@ +# 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 +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 toolchain-funcs + +MY_P=SimSIMD-${PV} +DESCRIPTION="Fastest SIMD-Accelerated Vector Similarity Functions for x86 and Arm" +HOMEPAGE=" + https://github.com/ashvardanian/SimSIMD/ + https://pypi.org/project/simsimd/ +" +# no sdist, as of 4.3.1 +# https://github.com/ashvardanian/SimSIMD/issues/113 +SRC_URI=" + https://github.com/ashvardanian/SimSIMD/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +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 +} -- cgit v1.3