diff options
Diffstat (limited to 'dev-python/Levenshtein')
-rw-r--r-- | dev-python/Levenshtein/Levenshtein-0.25.1.ebuild | 4 | ||||
-rw-r--r-- | dev-python/Levenshtein/Levenshtein-0.26.0.ebuild | 45 | ||||
-rw-r--r-- | dev-python/Levenshtein/Manifest | 4 |
3 files changed, 50 insertions, 3 deletions
diff --git a/dev-python/Levenshtein/Levenshtein-0.25.1.ebuild b/dev-python/Levenshtein/Levenshtein-0.25.1.ebuild index 065790cb527a..2f5b745fd09c 100644 --- a/dev-python/Levenshtein/Levenshtein-0.25.1.ebuild +++ b/dev-python/Levenshtein/Levenshtein-0.25.1.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_EXT=1 # custom wrapper over setuptools DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86" DEPEND=" <dev-cpp/rapidfuzz-cpp-4 diff --git a/dev-python/Levenshtein/Levenshtein-0.26.0.ebuild b/dev-python/Levenshtein/Levenshtein-0.26.0.ebuild new file mode 100644 index 000000000000..b4e355488661 --- /dev/null +++ b/dev-python/Levenshtein/Levenshtein-0.26.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-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 +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Functions for fast computation of Levenshtein distance, and edit operations" +HOMEPAGE=" + https://pypi.org/project/Levenshtein/ + https://github.com/rapidfuzz/Levenshtein/ +" +SRC_URI=" + https://github.com/rapidfuzz/Levenshtein/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ppc ppc64 ~riscv ~s390 ~sparc ~x86" + +DEPEND=" + <dev-cpp/rapidfuzz-cpp-4 + >=dev-cpp/rapidfuzz-cpp-3.0.0 +" +RDEPEND=" + <dev-python/rapidfuzz-4.0.0[${PYTHON_USEDEP}] + >=dev-python/rapidfuzz-3.9.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/cython-3.0.11[${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 +} diff --git a/dev-python/Levenshtein/Manifest b/dev-python/Levenshtein/Manifest index 4bc4486ccbdf..cee4d87b286e 100644 --- a/dev-python/Levenshtein/Manifest +++ b/dev-python/Levenshtein/Manifest @@ -1,3 +1,5 @@ DIST Levenshtein-0.25.1.gh.tar.gz 39060 BLAKE2B 9d058d910be7c6c3e668cca631a7da5bed678e219c96e4255dbf69c46cb3c55002928fcd90f39916b6c1a57845e9cf1a2327701ae21c662b81f909b9ea1f4bff SHA512 936dab36b15df6f2ee5425efb1fdb1490fb8f618ba453f464a6dd615bcc427e55ceee7474f06b34392871d9f38470b853602a11d8f9776eee66ec34156511ca4 -EBUILD Levenshtein-0.25.1.ebuild 1140 BLAKE2B d246d0f0ad2e490e5e3a5394763eca7b42558e52c2bc71b0eb49cfcd28144e5aa53d1cc7288ec791171a66a6d27ac909b83703f5f6406f08930fcd9fd56512d6 SHA512 91ff21ee02dc61bb7ab6bf5f7932e1045f09305fbb9e70567dbb4b4ea5e0b8953fd27915731e15c6a04db54c127597d4cfdeff289bd8e5fd1d4625238b7784f0 +DIST Levenshtein-0.26.0.gh.tar.gz 38404 BLAKE2B c78a53ba9d5c10968f000264cd20e9d5bc155135765088d4cb7f3f937c6cb5c30f01c09c977e9c8a50d4d0bafab0ad89848102d6f28c57cd471b5901f652d175 SHA512 cf48aa9e81a90c6a9a4cc7033f5035dc89f45db9c7e35929c4b11e2b9af180a018d455a56b8c1f5c748db263401155950e1985a195613a5bb914050f5d68e998 +EBUILD Levenshtein-0.25.1.ebuild 1128 BLAKE2B 7605ff16bb4ec666e69b1925452693f331133ad359ec1843849ade7f19dbae5666aae822d5e42c7fb6a49d1bdbadda987ba28fb7f7bbd7b909f7d55f0fc87e6f SHA512 31ff71e7ccd0230396fcca3de7104527de508558a6a458b59f29edd65779ac51817d525f19eb42e0fa5616a484886649071f0a468891b1120bf19f39f461970d +EBUILD Levenshtein-0.26.0.ebuild 1012 BLAKE2B d14ab09a6b8cfc9be0a042a6f48fa95f6638f9eb6c21e97747d664beff370fb9422947b5ba91b40b3abd838f35dcd0a0cd7ff875248fd2a6af2de44318de3958 SHA512 b3a755ed8907aebb198a005c5f53042c5c8c4c4351d0231475bf3e669a375c6c4d999da439feeff8b1e6e7f2601e6123718dc0325fbeaff7d050ddac93b33712 MISC metadata.xml 376 BLAKE2B def9cd056f31bd8ef5f0903f302a00ed361fef19a7df2494fc0ebb34f61c098e50288d98d30a292b0614ae2930082bf919fc37612cdc1bef9f5c5d07cdc080d3 SHA512 4b4766b2894b28a2d199a4d98d4accffe4a5197b41b08443d7d57d9363f96ae42400dd717e516aded73197233d779f5cbdf58670244ef162ebf4177f47cffa4c |