public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rapidfuzz/
Date: Mon,  8 Apr 2024 03:06:24 +0000 (UTC)	[thread overview]
Message-ID: <1712544581.70ded15d4a3c8c7e0cc58f7dc18cf067d76b21e7.mgorny@gentoo> (raw)

commit:     70ded15d4a3c8c7e0cc58f7dc18cf067d76b21e7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  8 02:49:41 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Apr  8 02:49:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70ded15d

dev-python/rapidfuzz: Bump to 3.8.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/rapidfuzz/Manifest               |  1 +
 dev-python/rapidfuzz/rapidfuzz-3.8.1.ebuild | 66 +++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/dev-python/rapidfuzz/Manifest b/dev-python/rapidfuzz/Manifest
index 6bf3efc60eee..c76b8a59dcd7 100644
--- a/dev-python/rapidfuzz/Manifest
+++ b/dev-python/rapidfuzz/Manifest
@@ -1,3 +1,4 @@
 DIST rapidfuzz-3.6.2.tar.gz 1556623 BLAKE2B aef59f1d03309535015e0fb27688613630c0e2c459f464223d4ef8dbbb0241f991ae2b9c9d81890f7cd063f33ad7e6193a6f9c98c5287010402b402e1f343b1e SHA512 83ba27ec1c68d10c568ee629519709113aac3136e73da55d46dcfd3b0f1eac2ebe8631376ca10d2b5fde892d690d79f5a8ce5fd0114502d1f3576756b0960db7
 DIST rapidfuzz-3.7.0.tar.gz 1569549 BLAKE2B fca22e86c002eeef7763487168d072941bbaefc7fa9cb9d5ae3d3f49e3a4487d69917da6663436cfc73ca38c67f2fc3a985e82dd64fe430aabc3708efada8513 SHA512 058fee9dc4d6934bf7b0e10eb8cc39303b6b4b67562c3b2244ec9035b1d5c3301aaf1570aa26099a6f3a6c0e7b52c387a01fcd62be28f55ab755377d053eb7f5
 DIST rapidfuzz-3.8.0.tar.gz 1591944 BLAKE2B e1702ec1b3da02cb77ee5bda6775e9f22b16122f798c6884fb1f17b61f1a62f4c493c9d6ffb1af54517eec2167b59782edd5ae0b31ed0caade673d81557e4ea3 SHA512 ae41b27386ef865ca8063591564e1f1a874bdfc838387bd51fd766adbc71d4eeab6122d6ef927ddd5603e2f5e914023741382a52caf3292f0e1dcd4392e9714c
+DIST rapidfuzz-3.8.1.tar.gz 1592462 BLAKE2B 79062be1bdd2e5aa1c364f2426a8b3cb4fc03e44b7548e475abd60827821414ce4ebcbe90377c0d19eb2c8c741e2e171c73e4672fd8126bf99856ea095e9b85b SHA512 fbebdf804220841257075af51186cde5cf8b0ea71bc4ce208bc64853fd1b1aebf97bfb86d1db058c3fb72a60268e5297fe3691b042d52263c66f8da6ae37f90a

diff --git a/dev-python/rapidfuzz/rapidfuzz-3.8.1.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.8.1.ebuild
new file mode 100644
index 000000000000..9bf96f9f14b7
--- /dev/null
+++ b/dev-python/rapidfuzz/rapidfuzz-3.8.1.ebuild
@@ -0,0 +1,66 @@
+# 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..12} )
+
+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 ~ia64 ~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.4
+	dev-python/numpy[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	>=dev-python/cython-3[${PYTHON_USEDEP}]
+	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}]
+	)
+"
+
+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
+
+	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
+}


             reply	other threads:[~2024-04-08  3:06 UTC|newest]

Thread overview: 209+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-08  3:06 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-01  5:41 [gentoo-commits] repo/gentoo:master commit in: dev-python/rapidfuzz/ Sam James
2024-10-25  4:04 Michał Górny
2024-10-12  8:13 Michał Górny
2024-10-12  7:28 Michał Górny
2024-10-12  7:28 Michał Górny
2024-10-12  7:04 Michał Górny
2024-10-04  3:12 Michał Górny
2024-09-24 15:09 Arthur Zamarin
2024-09-24 15:03 Arthur Zamarin
2024-09-24  6:41 Michał Górny
2024-09-21 11:51 Arthur Zamarin
2024-09-21 11:39 Arthur Zamarin
2024-09-21 11:08 Arthur Zamarin
2024-09-21  9:59 Sam James
2024-09-03  5:23 Michał Górny
2024-08-31  9:21 Michał Górny
2024-08-31  8:00 Arthur Zamarin
2024-08-24 11:08 Arthur Zamarin
2024-08-24 11:08 Arthur Zamarin
2024-08-24 10:40 Arthur Zamarin
2024-08-24  9:59 Arthur Zamarin
2024-08-24  8:18 Sam James
2024-08-24  8:11 Sam James
2024-08-17  9:57 Michał Górny
2024-08-17  9:57 Michał Górny
2024-08-17  9:57 Michał Górny
2024-08-17  9:57 Michał Górny
2024-08-17  8:33 Jakov Smolić
2024-08-17  7:51 Michał Górny
2024-08-07  4:56 Michał Górny
2024-07-30  2:47 Michał Górny
2024-07-21  2:47 Michał Górny
2024-07-20 22:46 Sam James
2024-07-20 22:46 Sam James
2024-07-20 22:34 Sam James
2024-07-20 12:50 Arthur Zamarin
2024-07-20 11:18 Arthur Zamarin
2024-07-20 11:18 Arthur Zamarin
2024-07-20 11:14 Arthur Zamarin
2024-07-03  3:44 Michał Górny
2024-06-29 16:58 Michał Górny
2024-06-29 10:55 Sam James
2024-06-29 10:55 Sam James
2024-06-29  8:53 Sam James
2024-06-29  8:53 Sam James
2024-06-29  8:25 Sam James
2024-06-29  8:25 Sam James
2024-06-29  7:57 Arthur Zamarin
2024-06-14 11:42 Petr Vaněk
2024-06-14  1:57 Michał Górny
2024-06-10 12:51 Michał Górny
2024-06-10  7:40 Petr Vaněk
2024-06-08  8:44 Arthur Zamarin
2024-06-08  7:42 Arthur Zamarin
2024-06-08  7:22 Arthur Zamarin
2024-06-08  7:18 Arthur Zamarin
2024-06-08  7:17 Arthur Zamarin
2024-06-08  7:10 Arthur Zamarin
2024-06-01  3:57 Michał Górny
2024-05-30  4:03 Michał Górny
2024-05-25 19:58 Michał Górny
2024-05-25 17:31 Arthur Zamarin
2024-05-23 16:33 Michał Górny
2024-05-20  4:36 Michał Górny
2024-05-17  8:51 Arthur Zamarin
2024-05-17  8:46 Arthur Zamarin
2024-05-17  8:46 Arthur Zamarin
2024-05-17  8:46 Arthur Zamarin
2024-05-17  8:31 Arthur Zamarin
2024-05-17  8:18 Arthur Zamarin
2024-05-03  3:42 Michał Górny
2024-04-25  3:39 Michał Górny
2024-04-24 18:18 Sam James
2024-04-24 18:18 Sam James
2024-04-24 17:59 Arthur Zamarin
2024-04-24 17:39 Arthur Zamarin
2024-04-24 16:15 Sam James
2024-04-24 16:15 Sam James
2024-04-24 16:15 Sam James
2024-04-12  3:03 Michał Górny
2024-04-11 21:34 Sam James
2024-04-11 19:39 Sam James
2024-04-11 17:40 Arthur Zamarin
2024-04-11 17:40 Arthur Zamarin
2024-04-11 17:09 Arthur Zamarin
2024-04-11 16:30 Sam James
2024-04-11 16:30 Sam James
2024-04-07  3:00 Michał Górny
2024-03-25  4:47 Michał Górny
2024-03-22 13:05 Michał Górny
2024-03-22  7:28 Arthur Zamarin
2024-03-22  6:49 Arthur Zamarin
2024-03-22  4:17 Sam James
2024-03-22  4:16 Sam James
2024-03-22  4:15 Sam James
2024-03-22  4:14 Sam James
2024-03-22  4:14 Sam James
2024-03-06  7:06 Michał Górny
2024-01-23 16:53 Michał Górny
2024-01-23 16:40 Sam James
2024-01-23 16:40 Sam James
2024-01-23 16:40 Sam James
2023-12-29 17:08 Arthur Zamarin
2023-12-28  6:15 Michał Górny
2023-12-27 16:29 Michał Górny
2023-11-30 12:58 Michał Górny
2023-11-30  6:00 Arthur Zamarin
2023-11-29 18:38 Arthur Zamarin
2023-11-29 17:23 Arthur Zamarin
2023-11-29 17:04 Arthur Zamarin
2023-11-29 17:04 Arthur Zamarin
2023-11-29 16:45 Arthur Zamarin
2023-11-29 16:45 Arthur Zamarin
2023-11-25  5:18 Sam James
2023-11-20 16:03 Michał Górny
2023-11-06 10:06 Sam James
2023-11-06 10:06 Sam James
2023-11-06  9:54 Sam James
2023-11-06  9:54 Sam James
2023-11-03  7:06 Michał Górny
2023-11-01 16:05 Michał Górny
2023-10-09 13:59 Michał Górny
2023-09-25 18:31 Arthur Zamarin
2023-09-25 18:27 Arthur Zamarin
2023-09-25 17:33 Arthur Zamarin
2023-09-25 17:33 Arthur Zamarin
2023-09-25 16:54 Arthur Zamarin
2023-09-25 16:54 Arthur Zamarin
2023-09-25  2:55 Michał Górny
2023-09-13 15:02 Michał Górny
2023-09-10  5:27 WANG Xuerui
2023-08-20 17:53 Arthur Zamarin
2023-08-20  9:09 Michał Górny
2023-08-03 10:47 Michał Górny
2023-08-03 10:28 Arthur Zamarin
2023-08-03  6:09 Michał Górny
2023-07-21  6:06 Michał Górny
2023-07-15  8:19 Arthur Zamarin
2023-07-15  8:19 Arthur Zamarin
2023-07-15  6:51 Sam James
2023-07-15  3:10 Sam James
2023-07-15  3:10 Sam James
2023-07-14 18:02 Arthur Zamarin
2023-07-13  5:28 Michał Górny
2023-06-07  5:09 Michał Górny
2023-06-04  4:58 Michał Górny
2023-06-03 20:39 Sam James
2023-06-03 19:56 Arthur Zamarin
2023-06-03 18:40 Arthur Zamarin
2023-06-03 18:35 Arthur Zamarin
2023-06-03 18:26 Arthur Zamarin
2023-06-03 18:09 Arthur Zamarin
2023-06-03 18:06 Arthur Zamarin
2023-06-03  6:48 Michał Górny
2023-05-05 13:53 Michał Górny
2023-05-05  9:33 Arthur Zamarin
2023-05-05  9:33 Arthur Zamarin
2023-05-04 16:56 Michał Górny
2023-05-03  6:33 Arthur Zamarin
2023-05-03  4:45 Sam James
2023-05-02 20:50 Sam James
2023-05-02 20:11 Sam James
2023-05-02 19:59 Arthur Zamarin
2023-04-17 13:50 Michał Górny
2023-04-17  5:26 Michał Górny
2023-04-14 20:46 Sam James
2023-04-11 17:25 Michał Górny
2023-04-02  2:55 Michał Górny
2023-04-01  6:13 Michał Górny
2023-03-16  4:07 Michał Górny
2023-03-16  4:07 Michał Górny
2023-02-13  3:09 Matt Turner
2023-01-08  8:12 Joonas Niilola
2022-12-25 17:46 Arthur Zamarin
2022-12-25 17:35 Arthur Zamarin
2022-12-25 17:29 Arthur Zamarin
2022-12-25 17:21 Arthur Zamarin
2022-12-25 17:12 Arthur Zamarin
2022-12-25 17:03 Sam James
2022-12-21  7:51 Michał Górny
2022-12-12 15:33 Michał Górny
2022-12-09  5:05 Michał Górny
2022-12-06  6:02 Michał Górny
2022-12-05 19:12 Arthur Zamarin
2022-11-30  4:41 Sam James
2022-11-30  4:41 Sam James
2022-11-18 16:37 Arthur Zamarin
2022-11-18 16:37 Arthur Zamarin
2022-11-18 16:37 Arthur Zamarin
2022-11-18 16:37 Arthur Zamarin
2022-11-06  6:11 Michał Górny
2022-11-04 18:06 Arthur Zamarin
2022-10-30  6:39 Michał Górny
2022-10-30  6:39 Michał Górny
2022-10-29 19:43 Sam James
2022-10-25  8:28 Michał Górny
2022-10-05 19:23 Michał Górny
2022-10-05  9:41 Michał Górny
2022-10-05  9:41 Michał Górny
2022-10-04 19:24 Jakov Smolić
2022-10-03 19:55 Michał Górny
2022-10-01 15:53 Michał Górny
2022-09-28 18:34 Michał Górny
2022-09-26 11:22 Michał Górny
2022-09-22 12:15 Michał Górny
2022-09-19  6:47 Michał Górny
2022-09-18 12:55 Michał Górny
2022-09-18  8:33 Pacho Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1712544581.70ded15d4a3c8c7e0cc58f7dc18cf067d76b21e7.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox