diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-02 05:16:35 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-02 05:16:35 +0100 |
commit | 6882d8d1110ef4feeec532196a1f0a25420d0fd1 (patch) | |
tree | c8a3d28a31e6c077d6b9097ff36b1232d2ce04b7 /dev-python/rapidfuzz | |
parent | 85a2a2153ef8027c2ba1be45143cd91914be0ad0 (diff) |
gentoo auto-resync : 02:04:2023 - 05:16:35
Diffstat (limited to 'dev-python/rapidfuzz')
-rw-r--r-- | dev-python/rapidfuzz/Manifest | 2 | ||||
-rw-r--r-- | dev-python/rapidfuzz/rapidfuzz-2.15.0.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/rapidfuzz/Manifest b/dev-python/rapidfuzz/Manifest index 8dcde0d12cb8..e2c5a46b2199 100644 --- a/dev-python/rapidfuzz/Manifest +++ b/dev-python/rapidfuzz/Manifest @@ -1,5 +1,7 @@ DIST rapidfuzz-2.13.7.tar.gz 999972 BLAKE2B 1120a8fb91b03bc3d9bf6a04291f188df06d7ff37911ae8459b4a082d949bcad21598513416aa4ccfb268ba16dbe4faa574015d5730a729950c2713ae15b0be1 SHA512 5d2c4620c09b44fc8bd48e236b46af6e28ef3b86f32e0697408bd77230af46d711bfc28eb7fcfc8b1403a84b51235fc39b9a1d2fedb6421918bcb700b2b88f9c DIST rapidfuzz-2.14.0.tar.gz 997048 BLAKE2B 74ee7d6a6f5b41067eca5480e036270ac67d277523045d63ed04fc3ee570a092a6ebc35eeb8566452ec74d536c453634893759a29bb102fe381cca912637a38e SHA512 66599cb507786932d45d7366a7aa5e440375ec9c49c865743b6f2bf1f3ed748b5e9003ba6010568ba185031b995b41d47abe84e8af5575bdd3b055dbfb56920e +DIST rapidfuzz-2.15.0.tar.gz 998377 BLAKE2B f749aef36791a2ec9a5dc870f5438af7088debd8b0abf5a44af37d31f84f577d540d18599a3d34641aa52a8e55db3cb491f43dc3c2f4b5fce8d8137c16c9ba7e SHA512 e77d34304a2145828aa183b1539f341c0761a84a481a0d72f3b15fda9564a7e1651ee3b255203bd270d5e5f70c5670f351d53e0bc560e94b8518cf67924a5e7a EBUILD rapidfuzz-2.13.7.ebuild 1071 BLAKE2B 9a3adef0003a472350e6dfe631560f9e600a29f09a4c8c0b2342d6af91a986fe5b66874b183c1e4aa8be8fddb79e8a3f76edf05128011aa85f0eebebdde366a1 SHA512 a43bc3856e5364f63d7586c951596a7dd512dc5d2b9c665b7c1b998e53757590c29ce982858d786870f928537d2872bc814da04d33336f4972bcbb3f572195a8 EBUILD rapidfuzz-2.14.0.ebuild 1078 BLAKE2B e13755f23b49f18153148c38dcb0dceda22e2ab7b5e83d9a2a4d0655b3aa9fb1d67462cdef04f30f0922e7ffbfa04a4336bab8d11e3b5a949de63c0ef967ee44 SHA512 638e5c4f3248443a7854fe28cf188fdbf7a7dd24cff170568104dfe5710271c86e051ce36ac05b040ce99f49a29be21e30bb481b0aab185450d48e344461415f +EBUILD rapidfuzz-2.15.0.ebuild 1078 BLAKE2B e13755f23b49f18153148c38dcb0dceda22e2ab7b5e83d9a2a4d0655b3aa9fb1d67462cdef04f30f0922e7ffbfa04a4336bab8d11e3b5a949de63c0ef967ee44 SHA512 638e5c4f3248443a7854fe28cf188fdbf7a7dd24cff170568104dfe5710271c86e051ce36ac05b040ce99f49a29be21e30bb481b0aab185450d48e344461415f MISC metadata.xml 374 BLAKE2B e6ee89a9850276b8c22c9bc851ebea2cde2ea696d122d70c6465e09a9371c59f81d1976b3253e8ee90afae5e3e30e993481b402058bac0c58ec01f71a0b7c3b4 SHA512 9a39c4bcf8e8de0a6d6a356a9aeb415f8f49667caf5716eee50bf251f1fd53bb076e817fac0b15bf64e65c1b9625c78810da61a5d96b273a20b2669a18084d6e diff --git a/dev-python/rapidfuzz/rapidfuzz-2.15.0.ebuild b/dev-python/rapidfuzz/rapidfuzz-2.15.0.ebuild new file mode 100644 index 000000000000..39eddbadbe99 --- /dev/null +++ b/dev-python/rapidfuzz/rapidfuzz-2.15.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# 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 ~sparc ~x86" + +# all these are header-only libraries +DEPEND=" + >=dev-cpp/taskflow-3.0.0 + >=dev-cpp/rapidfuzz-cpp-1.10.0 + 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 + + distutils-r1_src_prepare + + export RAPIDFUZZ_BUILD_EXTENSION=1 +} |