diff options
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/rapidfuzz/Manifest | 3 | ||||
| -rw-r--r-- | dev-python/rapidfuzz/rapidfuzz-3.10.0.ebuild | 59 | ||||
| -rw-r--r-- | dev-python/rapidfuzz/rapidfuzz-3.9.6.ebuild | 67 | ||||
| -rw-r--r-- | dev-python/rapidfuzz/rapidfuzz-3.9.7.ebuild | 67 |
4 files changed, 0 insertions, 196 deletions
diff --git a/dev-python/rapidfuzz/Manifest b/dev-python/rapidfuzz/Manifest index 0760f2011e19..258436227b55 100644 --- a/dev-python/rapidfuzz/Manifest +++ b/dev-python/rapidfuzz/Manifest @@ -1,4 +1 @@ -DIST rapidfuzz-3.10.0.tar.gz 57942780 BLAKE2B 3510ef495e9eb2a158eae73526e109809a9487ce48a70189b0c6f25957e46a6a640f1d0f9ef00203ea7730a2ba2b1086db9faf20434c92afb6b7205057aa5c22 SHA512 88e92ac4bfd72288546265c4d3957ce672f314f08f39b11ba21c267b07797eec45315af788f94152a4704e0782df77fbcb40ef6773be7d3a5d3684fd7230e437 DIST rapidfuzz-3.10.1.tar.gz 57982250 BLAKE2B 7b0c5f4a940b46bcc340eb8bf32cec3389b243368c36caa92e39e62f18c7ebb1f56d439bf8609825b4b64d743dc0ae041b4660b89cd03af0016944620ab99648 SHA512 f72a9ed6e3fd64640a877d50ab25c90d1969adfd93ff0029526a94ff1e62aa4fd8e9b4ce63ee8a5b37cfb68d2966051e76d78b26ef502a8c0b28fe5f462c8462 -DIST rapidfuzz-3.9.6.tar.gz 1596107 BLAKE2B e108320e05ad3ad194b1ffa05d5fddc5bb6080e73ecb031117a0552d5685734870af4a87503022fceadf3fd38b31e71f85c05483b4aaaf4a9d7358d4566699b4 SHA512 015b947dcfd12ee48c7592ac2fc204833d8aa8e43110dab12dff7650e9f309a9a2017d2faf89b3c154cead23d9dc7fc1658f0ff5d2f8b5b3c73b2c97f021c7d9 -DIST rapidfuzz-3.9.7.tar.gz 1596228 BLAKE2B ba3188748dc408cbe91718e890fd67e9ee47feacfe2b307038d7bfc6ffdb7aebb016b2276b591a1fd3a5c59df29a1b55a9555505f938638907d11deec9575f98 SHA512 b1a50f3ff0af044e0aa57a053bcefb3227dce2ed17b94ed82afe72203c6e858221c5ca955e4f190a0cb7adaeada11fab7fa5958e1c439deec60d96899207269d diff --git a/dev-python/rapidfuzz/rapidfuzz-3.10.0.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.10.0.ebuild deleted file mode 100644 index c6d946fc7b35..000000000000 --- a/dev-python/rapidfuzz/rapidfuzz-3.10.0.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=scikit-build-core -PYPI_PN=RapidFuzz -PYTHON_COMPAT=( pypy3 python3_{10..13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics" -HOMEPAGE=" - https://github.com/rapidfuzz/RapidFuzz/ - https://pypi.org/project/RapidFuzz/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -# all these are header-only libraries -DEPEND=" - >=dev-cpp/taskflow-3.0.0 - >=dev-cpp/rapidfuzz-cpp-3.0.5 - dev-python/numpy[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/cython-3[${PYTHON_USEDEP}] - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # sterilize build flags - sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die - # remove bundled libraries - rm -r extern || die - # force recythonization - find src -name '*.cxx' -delete || die - # do not require exact taskflow version - sed -i -e '/Taskflow/s:3\.7\.0::' CMakeLists.txt || die - # https://github.com/scikit-build/scikit-build-core/issues/912 - sed -i -e '/scikit-build-core/s:0\.10:0.8:' pyproject.toml || die - - distutils-r1_src_prepare - - export RAPIDFUZZ_BUILD_EXTENSION=1 -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/rapidfuzz/rapidfuzz-3.9.6.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.9.6.ebuild deleted file mode 100644 index 35a2e0c93f7e..000000000000 --- a/dev-python/rapidfuzz/rapidfuzz-3.9.6.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -# custom wrapper over setuptools -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( pypy3 python3_{10..13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics" -HOMEPAGE=" - https://github.com/rapidfuzz/RapidFuzz/ - https://pypi.org/project/rapidfuzz/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -# all these are header-only libraries -DEPEND=" - >=dev-cpp/taskflow-3.0.0 - >=dev-cpp/rapidfuzz-cpp-3.0.5 - dev-python/numpy[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/cython-3[${PYTHON_USEDEP}] - >=dev-python/scikit-build-0.16.2[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # sterilize build flags - sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die - # remove bundled libraries - rm -r extern || die - # force recythonization - find src -name '*.cxx' -delete || die - # do not require exact taskflow version - sed -i -e '/Taskflow/s:3\.7\.0::' CMakeLists.txt || die - - distutils-r1_src_prepare - - export RAPIDFUZZ_BUILD_EXTENSION=1 -} - -python_compile() { - distutils-r1_python_compile - - # scikit-build is broken and reuses the same build - # https://github.com/scikit-build/scikit-build/issues/633 - rm -r _skbuild || die -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/rapidfuzz/rapidfuzz-3.9.7.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.9.7.ebuild deleted file mode 100644 index 54534f44e80f..000000000000 --- a/dev-python/rapidfuzz/rapidfuzz-3.9.7.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -# custom wrapper over setuptools -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( pypy3 python3_{10..13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics" -HOMEPAGE=" - https://github.com/rapidfuzz/RapidFuzz/ - https://pypi.org/project/rapidfuzz/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -# all these are header-only libraries -DEPEND=" - >=dev-cpp/taskflow-3.0.0 - >=dev-cpp/rapidfuzz-cpp-3.0.5 - dev-python/numpy[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/cython-3[${PYTHON_USEDEP}] - >=dev-python/scikit-build-0.16.2[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # sterilize build flags - sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die - # remove bundled libraries - rm -r extern || die - # force recythonization - find src -name '*.cxx' -delete || die - # do not require exact taskflow version - sed -i -e '/Taskflow/s:3\.7\.0::' CMakeLists.txt || die - - distutils-r1_src_prepare - - export RAPIDFUZZ_BUILD_EXTENSION=1 -} - -python_compile() { - distutils-r1_python_compile - - # scikit-build is broken and reuses the same build - # https://github.com/scikit-build/scikit-build/issues/633 - rm -r _skbuild || die -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} |
