From 6854913aa1a57839328baafb435b84f9baacae65 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 17 May 2023 22:10:38 +0100 Subject: gentoo auto-resync : 17:05:2023 - 22:10:37 --- sci-libs/Manifest.gz | Bin 44802 -> 44802 bytes sci-libs/evaluate/Manifest | 2 +- sci-libs/evaluate/evaluate-0.4.0-r1.ebuild | 49 +++++++++++++++++++++++++++++ sci-libs/evaluate/evaluate-0.4.0.ebuild | 43 ------------------------- 4 files changed, 50 insertions(+), 44 deletions(-) create mode 100644 sci-libs/evaluate/evaluate-0.4.0-r1.ebuild delete mode 100644 sci-libs/evaluate/evaluate-0.4.0.ebuild (limited to 'sci-libs') diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz index 0cbbcc3c614c..7eda71136715 100644 Binary files a/sci-libs/Manifest.gz and b/sci-libs/Manifest.gz differ diff --git a/sci-libs/evaluate/Manifest b/sci-libs/evaluate/Manifest index fc58f197984e..ac66e8e92385 100644 --- a/sci-libs/evaluate/Manifest +++ b/sci-libs/evaluate/Manifest @@ -1,4 +1,4 @@ AUX evaluate-0.4.0-tests.patch 2471 BLAKE2B 9744c3f24f1e95a88f9a06d065234ba37b094723261884681c021888c794c9a8c1d6253390105379c898f59d8f18b947db9a3a1229a85fdf3f341909e5eb4eb3 SHA512 03a4b335f856da64423bce7fd10a21558d4ced499794868ac5c34f68885f39627ae75bd01634370bd7c175be330e7abb8adb1317d0e5a3adb938f140c9216387 DIST evaluate-0.4.0.gh.tar.gz 292250 BLAKE2B f88428b263820c1af43d02ae676625257251476092efe624490f29e63a045d698db01e4a7a802c2330027d01bc6ccf16986f28ecf8202ecbfd943c5d7c40f6ec SHA512 f2136196fc4e5717859e36e173cd49d049fc5ef50c89f466e13edd0142830574dec0b5485a4a1097eec9cb9df756a617216ff48c141db008cb0c2b85288d7fc9 -EBUILD evaluate-0.4.0.ebuild 1189 BLAKE2B 75bf8bb8f0c8bd9e2994b196f85315d6d2677d70ee07ac076aca379a725d30d7920f476994b299c71fe033196460a5c6a642128d7c0c35d9bf5d7407b33d0b8f SHA512 6a3ed06a927967a4e6395f0493776953aad00e12a7732afab7578edc9b4eaf6a43fa6c877e5f0bec88a545e74373ae8388d3f7b17f53a5c9fee1ef3f511f08b7 +EBUILD evaluate-0.4.0-r1.ebuild 1319 BLAKE2B 40bfe7ed6988e3d010425db6912fd4164760c7cadecb4661305cfb076f3abd8bb4eb6d014fae1129207768b5657768d899890a7fbe5cef1447c57c86410e4195 SHA512 8d1a993ddbecc999cf0743a5a74bf4af1c05c5bbf3931101ae9e877aebbc16c080b548565d35cf01a7866d250b7167744ba170e15602d9156ac9774db988bc13 MISC metadata.xml 379 BLAKE2B a717b46962e59358925c866c64b2d0bc1dcd5d55d73e814686a09f703e339d2c0de52f6c214c8f795518d6d9dbb46443be11374643d415ff681dedca1511732b SHA512 03d6b58cad73cad46f1101fedf88ec94dc6d7a2028399a20b39939bead4fa402d00224085206a175a33d92417176cc45853060b18faa13769b80527fac9254e1 diff --git a/sci-libs/evaluate/evaluate-0.4.0-r1.ebuild b/sci-libs/evaluate/evaluate-0.4.0-r1.ebuild new file mode 100644 index 000000000000..f9caea3a3a19 --- /dev/null +++ b/sci-libs/evaluate/evaluate-0.4.0-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +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" +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/pyarrow[${PYTHON_USEDEP},parquet] + dev-python/unidecode[${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 + distutils-r1_src_prepare +} diff --git a/sci-libs/evaluate/evaluate-0.4.0.ebuild b/sci-libs/evaluate/evaluate-0.4.0.ebuild deleted file mode 100644 index 60382685f160..000000000000 --- a/sci-libs/evaluate/evaluate-0.4.0.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_11 ) -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=" - dev-python/pyarrow[${PYTHON_USEDEP},parquet] - dev-python/unidecode[${PYTHON_USEDEP}] -" -BDEPEND="test? ( - 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 - distutils-r1_src_prepare -} -- cgit v1.2.3