public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/evaluate/
@ 2023-05-17 17:22 Alfredo Tupone
  0 siblings, 0 replies; 6+ messages in thread
From: Alfredo Tupone @ 2023-05-17 17:22 UTC (permalink / raw
  To: gentoo-commits

commit:     495a12b89714af51f7e154d7e1cdb86d6836ee2d
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed May 17 17:20:38 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed May 17 17:21:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=495a12b8

sci-libs/evaluate: add datasets deps

Closes: https://bugs.gentoo.org/906591
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 .../{evaluate-0.4.0.ebuild => evaluate-0.4.0-r1.ebuild}    | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/sci-libs/evaluate/evaluate-0.4.0.ebuild b/sci-libs/evaluate/evaluate-0.4.0-r1.ebuild
similarity index 78%
rename from sci-libs/evaluate/evaluate-0.4.0.ebuild
rename to sci-libs/evaluate/evaluate-0.4.0-r1.ebuild
index 60382685f160..f9caea3a3a19 100644
--- a/sci-libs/evaluate/evaluate-0.4.0.ebuild
+++ b/sci-libs/evaluate/evaluate-0.4.0-r1.ebuild
@@ -5,6 +5,7 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_11 )
+DISTUTILS_SINGLE_IMPL=1
 inherit distutils-r1
 
 DESCRIPTION="makes evaluating, comparing models and reporting their performance easier"
@@ -20,12 +21,17 @@ SLOT="0"
 KEYWORDS="~amd64"
 
 RDEPEND="
-	dev-python/pyarrow[${PYTHON_USEDEP},parquet]
-	dev-python/unidecode[${PYTHON_USEDEP}]
+	$(python_gen_cond_dep '
+		dev-python/pyarrow[${PYTHON_USEDEP},parquet]
+		dev-python/unidecode[${PYTHON_USEDEP}]
+	')
+	sci-libs/datasets[${PYTHON_SINGLE_USEDEP}]
 "
 BDEPEND="test? (
-	sci-libs/jiwer[${PYTHON_USEDEP}]
-	sci-libs/seqeval[${PYTHON_USEDEP}]
+	$(python_gen_cond_dep '
+		sci-libs/jiwer[${PYTHON_USEDEP}]
+		sci-libs/seqeval[${PYTHON_USEDEP}]
+	')
 )"
 
 PATCHES=( "${FILESDIR}"/${P}-tests.patch )


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/evaluate/
@ 2023-05-18 16:28 Alfredo Tupone
  0 siblings, 0 replies; 6+ messages in thread
From: Alfredo Tupone @ 2023-05-18 16:28 UTC (permalink / raw
  To: gentoo-commits

commit:     0676c58823205b10e413b03ec2c10d4ff6dd288a
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu May 18 16:26:08 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu May 18 16:27:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0676c588

sci-libs/evaluate: fix rdeps

Closes: https://bugs.gentoo.org/906658
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 .../evaluate/{evaluate-0.4.0-r1.ebuild => evaluate-0.4.0-r2.ebuild}     | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sci-libs/evaluate/evaluate-0.4.0-r1.ebuild b/sci-libs/evaluate/evaluate-0.4.0-r2.ebuild
similarity index 94%
rename from sci-libs/evaluate/evaluate-0.4.0-r1.ebuild
rename to sci-libs/evaluate/evaluate-0.4.0-r2.ebuild
index f9caea3a3a19..11f7e2a1f9c2 100644
--- a/sci-libs/evaluate/evaluate-0.4.0-r1.ebuild
+++ b/sci-libs/evaluate/evaluate-0.4.0-r2.ebuild
@@ -22,8 +22,10 @@ KEYWORDS="~amd64"
 
 RDEPEND="
 	$(python_gen_cond_dep '
+		dev-python/matplotlib[${PYTHON_USEDEP}]
 		dev-python/pyarrow[${PYTHON_USEDEP},parquet]
 		dev-python/unidecode[${PYTHON_USEDEP}]
+		sci-libs/transformers[${PYTHON_USEDEP}]
 	')
 	sci-libs/datasets[${PYTHON_SINGLE_USEDEP}]
 "


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/evaluate/
@ 2024-04-20  7:39 Alfredo Tupone
  0 siblings, 0 replies; 6+ messages in thread
From: Alfredo Tupone @ 2024-04-20  7:39 UTC (permalink / raw
  To: gentoo-commits

commit:     32896fd18bd3ef7eca026631ca559dc6bd1010db
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 20 07:37:41 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Apr 20 07:39:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32896fd1

sci-libs/evaluate: python3.12

Closes: https://bugs.gentoo.org/929773
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 .../evaluate/{evaluate-0.4.0-r2.ebuild => evaluate-0.4.0-r3.ebuild}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/evaluate/evaluate-0.4.0-r2.ebuild b/sci-libs/evaluate/evaluate-0.4.0-r3.ebuild
similarity index 95%
rename from sci-libs/evaluate/evaluate-0.4.0-r2.ebuild
rename to sci-libs/evaluate/evaluate-0.4.0-r3.ebuild
index 61fc96cebeac..ffcfa55cc008 100644
--- a/sci-libs/evaluate/evaluate-0.4.0-r2.ebuild
+++ b/sci-libs/evaluate/evaluate-0.4.0-r3.ebuild
@@ -1,10 +1,10 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_11 )
+PYTHON_COMPAT=( python3_{11..12} )
 DISTUTILS_SINGLE_IMPL=1
 inherit distutils-r1
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/evaluate/
@ 2024-04-28 15:38 Alfredo Tupone
  0 siblings, 0 replies; 6+ messages in thread
From: Alfredo Tupone @ 2024-04-28 15:38 UTC (permalink / raw
  To: gentoo-commits

commit:     e956eb3813157a13c56082b219faddc85e212d3e
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 28 15:29:42 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Apr 28 15:38:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e956eb38

sci-libs/evaluate: scilibs/transformers is now SINGLE_USEDEP

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 .../evaluate/{evaluate-0.4.0-r3.ebuild => evaluate-0.4.0-r4.ebuild}     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/evaluate/evaluate-0.4.0-r3.ebuild b/sci-libs/evaluate/evaluate-0.4.0-r4.ebuild
similarity index 96%
rename from sci-libs/evaluate/evaluate-0.4.0-r3.ebuild
rename to sci-libs/evaluate/evaluate-0.4.0-r4.ebuild
index ffcfa55cc008..44de1b5ec03a 100644
--- a/sci-libs/evaluate/evaluate-0.4.0-r3.ebuild
+++ b/sci-libs/evaluate/evaluate-0.4.0-r4.ebuild
@@ -25,9 +25,9 @@ RDEPEND="
 		dev-python/matplotlib[${PYTHON_USEDEP}]
 		dev-python/pyarrow[${PYTHON_USEDEP},parquet]
 		dev-python/unidecode[${PYTHON_USEDEP}]
-		sci-libs/transformers[${PYTHON_USEDEP}]
 	')
 	sci-libs/datasets[${PYTHON_SINGLE_USEDEP}]
+	sci-libs/transformers[${PYTHON_SINGLE_USEDEP}]
 "
 BDEPEND="test? (
 	$(python_gen_cond_dep '


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/evaluate/
@ 2025-02-05 21:35 Alfredo Tupone
  0 siblings, 0 replies; 6+ messages in thread
From: Alfredo Tupone @ 2025-02-05 21:35 UTC (permalink / raw
  To: gentoo-commits

commit:     fab8d322a405dfe6c6fc33c7176f8ed42ba58329
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  5 21:34:50 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Feb  5 21:35:02 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fab8d322

sci-libs/evaluate: add 0.4.3, drop 0.4.0-r4

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-libs/evaluate/Manifest                                            | 2 +-
 sci-libs/evaluate/{evaluate-0.4.0-r4.ebuild => evaluate-0.4.3.ebuild} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-libs/evaluate/Manifest b/sci-libs/evaluate/Manifest
index 684c25d25aa0..c83597d759de 100644
--- a/sci-libs/evaluate/Manifest
+++ b/sci-libs/evaluate/Manifest
@@ -1 +1 @@
-DIST evaluate-0.4.0.gh.tar.gz 292250 BLAKE2B f88428b263820c1af43d02ae676625257251476092efe624490f29e63a045d698db01e4a7a802c2330027d01bc6ccf16986f28ecf8202ecbfd943c5d7c40f6ec SHA512 f2136196fc4e5717859e36e173cd49d049fc5ef50c89f466e13edd0142830574dec0b5485a4a1097eec9cb9df756a617216ff48c141db008cb0c2b85288d7fc9
+DIST evaluate-0.4.3.gh.tar.gz 297000 BLAKE2B 5d658cf513a0083194829618bde53c1e6f4a41e48a9ff683c79bc5b57f9f25acc38b42bed5ad56c569b7cae442212fc3dda1ce4db406ab2a49789b485c5c27a0 SHA512 f19f22fb1625544d3e27f25b159449c9f656540b5dbc62f00d13bad2dd33d5591d80f6e81d671d51f802b671602b86b758d9a53be4f63378c181f66eb93c2830

diff --git a/sci-libs/evaluate/evaluate-0.4.0-r4.ebuild b/sci-libs/evaluate/evaluate-0.4.3.ebuild
similarity index 94%
rename from sci-libs/evaluate/evaluate-0.4.0-r4.ebuild
rename to sci-libs/evaluate/evaluate-0.4.3.ebuild
index 44de1b5ec03a..7a61c68b2fa2 100644
--- a/sci-libs/evaluate/evaluate-0.4.0-r4.ebuild
+++ b/sci-libs/evaluate/evaluate-0.4.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023-2024 Gentoo Authors
+# Copyright 2023-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -36,7 +36,7 @@ BDEPEND="test? (
 	')
 )"
 
-PATCHES=( "${FILESDIR}"/${P}-tests.patch )
+PATCHES=( "${FILESDIR}"/${PN}-0.4.0-tests.patch )
 
 distutils_enable_tests pytest
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/evaluate/
@ 2025-02-06 18:35 Alfredo Tupone
  0 siblings, 0 replies; 6+ messages in thread
From: Alfredo Tupone @ 2025-02-06 18:35 UTC (permalink / raw
  To: gentoo-commits

commit:     3ed7a978f9379580bd453a4ac9d80150c01dca86
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  6 18:34:51 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Feb  6 18:35:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ed7a978

sci-libs/evaluate: fix tests

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-libs/evaluate/evaluate-0.4.3.ebuild | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/sci-libs/evaluate/evaluate-0.4.3.ebuild b/sci-libs/evaluate/evaluate-0.4.3.ebuild
index 7a61c68b2fa2..109f4f0d530f 100644
--- a/sci-libs/evaluate/evaluate-0.4.3.ebuild
+++ b/sci-libs/evaluate/evaluate-0.4.3.ebuild
@@ -40,13 +40,15 @@ PATCHES=( "${FILESDIR}"/${PN}-0.4.0-tests.patch )
 
 distutils_enable_tests pytest
 
-src_prepare() {
-	# These require packages not available on gentoo
-	rm -r metrics/{bertscore,bleurt,character,charcut_mt,chrf,code_eval} || die
-	rm -r metrics/{competition_math,coval,google_bleu,mauve,meteor} || die
-	rm -r metrics/{nist_mt,rl_reliability,rouge,sacrebleu,sari} || die
-	rm -r metrics/{ter,trec_eval,wiki_split,xtreme_s} || die
-	rm -r measurements/word_length || die
-	rm tests/test_evaluation_suite.py || die
-	distutils-r1_src_prepare
+src_test() {
+	local EPYTEST_DESELECT=(
+		tests/test_evaluation_suite.py::TestEvaluationSuite::test_empty_suite
+		tests/test_evaluation_suite.py::TestEvaluationSuite::test_running_evaluation_suite
+		tests/test_evaluator.py::TestAudioClassificationEvaluator::test_class_init
+		tests/test_evaluator.py::TestAudioClassificationEvaluator::test_overwrite_default_metric
+		tests/test_evaluator.py::TestAudioClassificationEvaluator::test_pipe_init
+		tests/test_evaluator.py::TestAudioClassificationEvaluator::test_raw_pipe_init
+		tests/test_metric.py::TestEvaluationcombined_evaluation::test_modules_from_string_poslabel
+	)
+	distutils-r1_src_test
 }


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-02-06 18:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-28 15:38 [gentoo-commits] repo/gentoo:master commit in: sci-libs/evaluate/ Alfredo Tupone
  -- strict thread matches above, loose matches on Subject: below --
2025-02-06 18:35 Alfredo Tupone
2025-02-05 21:35 Alfredo Tupone
2024-04-20  7:39 Alfredo Tupone
2023-05-18 16:28 Alfredo Tupone
2023-05-17 17:22 Alfredo Tupone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox