From 9005249591e1f61febbb2a3176f9b40e6d7d2063 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 13 Jul 2023 10:34:32 +0100 Subject: gentoo auto-resync : 13:07:2023 - 10:34:32 --- dev-python/rapidfuzz/Manifest | 2 +- dev-python/rapidfuzz/rapidfuzz-3.0.0-r1.ebuild | 50 ++++++++++++++++++++++++++ dev-python/rapidfuzz/rapidfuzz-3.0.0.ebuild | 49 ------------------------- 3 files changed, 51 insertions(+), 50 deletions(-) create mode 100644 dev-python/rapidfuzz/rapidfuzz-3.0.0-r1.ebuild delete mode 100644 dev-python/rapidfuzz/rapidfuzz-3.0.0.ebuild (limited to 'dev-python/rapidfuzz') diff --git a/dev-python/rapidfuzz/Manifest b/dev-python/rapidfuzz/Manifest index fecc4ae2046e..4b6a32174897 100644 --- a/dev-python/rapidfuzz/Manifest +++ b/dev-python/rapidfuzz/Manifest @@ -1,7 +1,7 @@ DIST rapidfuzz-3.0.0.tar.gz 1230857 BLAKE2B b15bcca17288cc428b485b0c6e1d322027eee5c8c0261b7f0240e4f5908ff2d53e05124855213a1923d96ec7537b75263c17f220bfaf792ab92f2f455d761027 SHA512 bafdb6045baa78154026dc0eb2498eb0031f03c36e8b17a9219d6e0c55041a9b6c164f4fcc0523480903fece0ab4e2e50a8f969a52b6934fcfbad80d8eadba25 DIST rapidfuzz-3.1.0.tar.gz 1251075 BLAKE2B 3a9e3dd4105910ad393efe795c4b7fe603f77ba922a6fa30a7b31f2f14a708651490c1afccbc9a5f217a348a8c20f779172a600331be51298ef746b0ade819ea SHA512 ff583a7b87d64b3b00d785533af3ba76d1ffa5dbc65111f4b72c2e7d84a43fe149e2f5546c6af130617e58e35556a7b2143ff6ed24dcf199d24b81ff7b46abc0 DIST rapidfuzz-3.1.1.tar.gz 1279245 BLAKE2B bd3fa008a29fa9d7c2af8708d498e1b6f4497bf23c42d3692a9d5e61ab605b4511fe26213f405cd6b1a9531f106664577fb741eac1da0a8b70c5ef7b2879b3f8 SHA512 d83e07fd3a0b3085e6b93ddf53207110ae329241c23091c561f07fbcabf630a291c4fda3c5bd2baf91d80f5426ac0cdaeda92e87b617214594bfb67b787b85db -EBUILD rapidfuzz-3.0.0.ebuild 1142 BLAKE2B 26ae1d6c907c94c54d1a3c0a5787988ccaaa127d69ec9fde94c32b666512b429ff6e95fac09ed3f997fa7cbe88eea00967c5e84a5c1ea17e0d531a2c1f12bae4 SHA512 e00828a4ed7c46cb1f217ad572d0c749bf5dfe6d74f41a716bf6159c80e157d344963d1bfed1faafd278fb7b0e3dc9909204af7d4837d8cfb4dd4472d2a46267 +EBUILD rapidfuzz-3.0.0-r1.ebuild 1168 BLAKE2B 510f0e415ec6c886f7cfa4dc3ac2d78b5008b4111cce5907f6a22f94726bb8365309b18bad0e3831d869e8ebc8086dc0354b0c1dd21ed15d95cc239bc28e9cd1 SHA512 a5b067eefb891edf64b3d7e1fb9e863fc04d872778b9f04d278a32bb053f1a94fc3c34d66570ddfc3f906999f7015deaa875d884e387cdd2f20422f15d4bcd99 EBUILD rapidfuzz-3.1.0.ebuild 1149 BLAKE2B d256c05e700c031092ff32c95f6fdb2cac97f3ac92e81c4a42ad3957fc568a44f5dfb54a909278e51ca3315a2f77d87a4d4e0edd6b3914b790de7ef22785a261 SHA512 cd23ffb6281d2ad276d2b2c642b08ed91ceb508e2d32f24e0eafd2d1e898615fd4e85e09e2a429bab351d83aef63f84c658ceea54f742dfe921bdf0055967e14 EBUILD rapidfuzz-3.1.1.ebuild 1149 BLAKE2B d256c05e700c031092ff32c95f6fdb2cac97f3ac92e81c4a42ad3957fc568a44f5dfb54a909278e51ca3315a2f77d87a4d4e0edd6b3914b790de7ef22785a261 SHA512 cd23ffb6281d2ad276d2b2c642b08ed91ceb508e2d32f24e0eafd2d1e898615fd4e85e09e2a429bab351d83aef63f84c658ceea54f742dfe921bdf0055967e14 MISC metadata.xml 374 BLAKE2B e6ee89a9850276b8c22c9bc851ebea2cde2ea696d122d70c6465e09a9371c59f81d1976b3253e8ee90afae5e3e30e993481b402058bac0c58ec01f71a0b7c3b4 SHA512 9a39c4bcf8e8de0a6d6a356a9aeb415f8f49667caf5716eee50bf251f1fd53bb076e817fac0b15bf64e65c1b9625c78810da61a5d96b273a20b2669a18084d6e diff --git a/dev-python/rapidfuzz/rapidfuzz-3.0.0-r1.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.0.0-r1.ebuild new file mode 100644 index 000000000000..b2695b5ca7cd --- /dev/null +++ b/dev-python/rapidfuzz/rapidfuzz-3.0.0-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 2022-2023 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=( python3_{9..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics" +HOMEPAGE=" + https://github.com/maxbachmann/RapidFuzz/ + https://pypi.org/project/rapidfuzz/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" + +# all these are header-only libraries +DEPEND=" + >=dev-cpp/taskflow-3.0.0 + =dev-cpp/rapidfuzz-cpp-1.11.2 + dev-python/numpy[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/rapidfuzz_capi[${PYTHON_USEDEP}] + >=dev-python/scikit-build-0.16.2[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +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 + + distutils-r1_src_prepare + + export RAPIDFUZZ_BUILD_EXTENSION=1 +} diff --git a/dev-python/rapidfuzz/rapidfuzz-3.0.0.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.0.0.ebuild deleted file mode 100644 index 2e797c1119d1..000000000000 --- a/dev-python/rapidfuzz/rapidfuzz-3.0.0.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2022-2023 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=( python3_{9..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics" -HOMEPAGE=" - https://github.com/maxbachmann/RapidFuzz/ - https://pypi.org/project/rapidfuzz/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -# all these are header-only libraries -DEPEND=" - >=dev-cpp/taskflow-3.0.0 - >=dev-cpp/rapidfuzz-cpp-1.11.2 - dev-python/numpy[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/rapidfuzz_capi[${PYTHON_USEDEP}] - >=dev-python/scikit-build-0.16.2[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -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 - - distutils-r1_src_prepare - - export RAPIDFUZZ_BUILD_EXTENSION=1 -} -- cgit v1.2.3