From 5f0030fd1370c4d03dbb2e0d3086f5e618a33749 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 28 Apr 2024 23:59:44 +0100 Subject: gentoo auto-resync : 28:04:2024 - 23:59:44 --- sci-libs/evaluate/Manifest | 2 +- sci-libs/evaluate/evaluate-0.4.0-r3.ebuild | 52 ------------------------------ sci-libs/evaluate/evaluate-0.4.0-r4.ebuild | 52 ++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+), 53 deletions(-) delete mode 100644 sci-libs/evaluate/evaluate-0.4.0-r3.ebuild create mode 100644 sci-libs/evaluate/evaluate-0.4.0-r4.ebuild (limited to 'sci-libs/evaluate') diff --git a/sci-libs/evaluate/Manifest b/sci-libs/evaluate/Manifest index 89760daf2109..88a84ed06e08 100644 --- a/sci-libs/evaluate/Manifest +++ b/sci-libs/evaluate/Manifest @@ -1,4 +1,4 @@ AUX evaluate-0.4.0-tests.patch 8354 BLAKE2B 45c6fbcd58eb1899a02b373f882917cb2d76a05f5737a50c60d96f1eeb9b0169f8e526a475ec8aab2829f3ce47082476b802813064ca912353b65652e3f7fc64 SHA512 e296c97d5bf3d06828ddda96f00b20cb763b9c9a8611b148cf0e5c55bb78995a45df1b2cd731e4c45bfe80817ce03485a958c01c2e081aef3cd5238a9011903b DIST evaluate-0.4.0.gh.tar.gz 292250 BLAKE2B f88428b263820c1af43d02ae676625257251476092efe624490f29e63a045d698db01e4a7a802c2330027d01bc6ccf16986f28ecf8202ecbfd943c5d7c40f6ec SHA512 f2136196fc4e5717859e36e173cd49d049fc5ef50c89f466e13edd0142830574dec0b5485a4a1097eec9cb9df756a617216ff48c141db008cb0c2b85288d7fc9 -EBUILD evaluate-0.4.0-r3.ebuild 1456 BLAKE2B 85cca95eafab5afb93713eb4421649c57b39913da7bbb8661085c576ee3e17790b5e2ffda290dfe376b92fdd55c3386b0c41c7c454c323e26304e4f859107858 SHA512 f7da18a1a4ed1c5fe7b23e6ea613e9f91fe80554e4b2e8f8943e10af31527c5330d366c8b864643120cea8f2d3eab006fd99138856ee6fff284279185a793d50 +EBUILD evaluate-0.4.0-r4.ebuild 1462 BLAKE2B 28fb3cfcf694ff587cacc0d4cf75a35239d1233ddfcadc0e24087b5c656ad43c7d1de1e6f1a4f5f89ece6e9e2bdc55d72661c96f869d15b8c12e6508a94989ac SHA512 83c9544d605312993dca423983a564eee556e5960a019bd30a7e889c0cc7f0d0cd32e6b7e71c0f54621cfe7e8a934453c6ee787ce0bd01e5c9bc3c33be6d8a9a MISC metadata.xml 379 BLAKE2B a717b46962e59358925c866c64b2d0bc1dcd5d55d73e814686a09f703e339d2c0de52f6c214c8f795518d6d9dbb46443be11374643d415ff681dedca1511732b SHA512 03d6b58cad73cad46f1101fedf88ec94dc6d7a2028399a20b39939bead4fa402d00224085206a175a33d92417176cc45853060b18faa13769b80527fac9254e1 diff --git a/sci-libs/evaluate/evaluate-0.4.0-r3.ebuild b/sci-libs/evaluate/evaluate-0.4.0-r3.ebuild deleted file mode 100644 index ffcfa55cc008..000000000000 --- a/sci-libs/evaluate/evaluate-0.4.0-r3.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# 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..12} ) -DISTUTILS_SINGLE_IMPL=1 -inherit distutils-r1 - -DESCRIPTION="makes evaluating, comparing models and reporting their performance easier" -HOMEPAGE=" - https://pypi.org/project/evaluate/ - https://github.com/huggingface/evaluate -" -SRC_URI="https://github.com/huggingface/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -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}] -" -BDEPEND="test? ( - $(python_gen_cond_dep ' - sci-libs/jiwer[${PYTHON_USEDEP}] - sci-libs/seqeval[${PYTHON_USEDEP}] - ') -)" - -PATCHES=( "${FILESDIR}"/${P}-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 -} diff --git a/sci-libs/evaluate/evaluate-0.4.0-r4.ebuild b/sci-libs/evaluate/evaluate-0.4.0-r4.ebuild new file mode 100644 index 000000000000..44de1b5ec03a --- /dev/null +++ b/sci-libs/evaluate/evaluate-0.4.0-r4.ebuild @@ -0,0 +1,52 @@ +# 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..12} ) +DISTUTILS_SINGLE_IMPL=1 +inherit distutils-r1 + +DESCRIPTION="makes evaluating, comparing models and reporting their performance easier" +HOMEPAGE=" + https://pypi.org/project/evaluate/ + https://github.com/huggingface/evaluate +" +SRC_URI="https://github.com/huggingface/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +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/datasets[${PYTHON_SINGLE_USEDEP}] + sci-libs/transformers[${PYTHON_SINGLE_USEDEP}] +" +BDEPEND="test? ( + $(python_gen_cond_dep ' + sci-libs/jiwer[${PYTHON_USEDEP}] + sci-libs/seqeval[${PYTHON_USEDEP}] + ') +)" + +PATCHES=( "${FILESDIR}"/${P}-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 +} -- cgit v1.2.3