diff options
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/Manifest.gz | bin | 44479 -> 44638 bytes | |||
-rw-r--r-- | sci-libs/caffe2/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/caffe2/caffe2-2.0.1-r1.ebuild (renamed from sci-libs/caffe2/caffe2-2.0.1.ebuild) | 2 | ||||
-rw-r--r-- | sci-libs/seqeval/Manifest | 4 | ||||
-rw-r--r-- | sci-libs/seqeval/files/seqeval-1.2.2-gentoo.patch | 10 | ||||
-rw-r--r-- | sci-libs/seqeval/metadata.xml | 12 | ||||
-rw-r--r-- | sci-libs/seqeval/seqeval-1.2.2.ebuild | 36 |
7 files changed, 64 insertions, 2 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz Binary files differindex 67308abe8a64..dc22e494bdc8 100644 --- a/sci-libs/Manifest.gz +++ b/sci-libs/Manifest.gz diff --git a/sci-libs/caffe2/Manifest b/sci-libs/caffe2/Manifest index 363e0c313bd5..023cd56418c7 100644 --- a/sci-libs/caffe2/Manifest +++ b/sci-libs/caffe2/Manifest @@ -11,5 +11,5 @@ DIST pytorch-2.0.0.tar.gz 111327292 BLAKE2B 6d593a975c0ade714f0b189f7e3c4ff704b9 DIST pytorch-2.0.1.tar.gz 111335778 BLAKE2B 7a10cc2b2d5e2422aef7e060a0c3a62ca5c7460c6e0b9becade9b98939501975c74ed5a175a653731f43ca824d2c9bd31f41d1f633c2b139779ab23d5331e9ce SHA512 2309a22b3be3ccdb36d8d9781a59a7bdcc2fdb8d95ada205702ec77862480f0cbb12cd5d6b8cd3114d01a6e33b7743d0fe9de93debf37138ca5c14403cdb0c43 EBUILD caffe2-1.13.1-r6.ebuild 5221 BLAKE2B 64a0309f8601752187205d49629245ae8a3305d9fad0626eff293fa555e50c7c147bfa9879ada2bd0a076e41120a9f5f9667cd784a4a3418cee9a4711eb69b05 SHA512 d1162bb88a1ac0c412cc2fa828521f98be9eda5f55d63f4a5162c727940121db1a7ab8155bd151fe1a2b9985851ff82bb49e3f3e01c4e4f1fdc1f3f4444d56ce EBUILD caffe2-2.0.0-r4.ebuild 5292 BLAKE2B f0560c057af3e24e81e4538f4ef6f35eba6b3e70a435c00be0e08aed40e1991997beea05127e195fcefe019147b10ca74c338e3b5a1b8bd61c631b680805a587 SHA512 4556d43911ca5fd8438d603529cf74bde4ec8ac30b9e7a45debab2252a9a8db53dde09b20d1be08a76f90dc783bd70401b1252427da6556d6c3e7d487b656345 -EBUILD caffe2-2.0.1.ebuild 5342 BLAKE2B 0bc2440601faf6f067bf1a4792fe5d7ed944aaa878c30ed58c0c6723d72d11f364954724f1dfc65da7d34b98d1533bc5bbe6ab122c4642e6e5a5609009fb2a6e SHA512 823be596fcdb1e2f07be3a6ee8d8617d5e0ebd60aa644fbdbf375f2a97164a9991d8d12981cbc3f660ee62d2439a5d602066fb5aa2862f9ee3a3bcb8623c3168 +EBUILD caffe2-2.0.1-r1.ebuild 5349 BLAKE2B a09dc826194d3816765e6bb955dbd62608625197a9355b674ac8db38c6b9b254ad8004b1265eacc9222e2bf4261593c2b20cf79adb40ea8476cebfe0dde97502 SHA512 114d040104545a920282b1fda181b0e918cbb7d27d74999d42799eeac955d8a3e2ffcfb780c0740ac51eb358e9955bcb682970e8be72fc02b74c98595ee81b5d MISC metadata.xml 1161 BLAKE2B af1b8f3ab7789f9aa5f635d5a3f1175bbdd7ccbf68f205bfc2769ccab2cb5c519f6fe62024759eb28f0e1353a04bed3216d222808b9f95100d3e0bb591f1d82b SHA512 1737d3dc8fa7786550930beb067ca4eca173a47095a88450ab5c913d3aed08f51fe21c875f484e5663542471a48ef55878cddc97881ff8be7648987b90b79126 diff --git a/sci-libs/caffe2/caffe2-2.0.1.ebuild b/sci-libs/caffe2/caffe2-2.0.1-r1.ebuild index 558e1671f543..65814fb3e0e6 100644 --- a/sci-libs/caffe2/caffe2-2.0.1.ebuild +++ b/sci-libs/caffe2/caffe2-2.0.1-r1.ebuild @@ -57,7 +57,7 @@ RDEPEND=" opencl? ( virtual/opencl ) opencv? ( media-libs/opencv:= ) qnnpack? ( sci-libs/QNNPACK ) - tensorpipe? ( sci-libs/tensorpipe ) + tensorpipe? ( sci-libs/tensorpipe[cuda?] ) xnnpack? ( >=sci-libs/XNNPACK-2022.12.22 ) " DEPEND=" diff --git a/sci-libs/seqeval/Manifest b/sci-libs/seqeval/Manifest new file mode 100644 index 000000000000..1ef4b7602928 --- /dev/null +++ b/sci-libs/seqeval/Manifest @@ -0,0 +1,4 @@ +AUX seqeval-1.2.2-gentoo.patch 450 BLAKE2B fd44e8b8d6b421e7790ac7b7c32d260db1ff20ddec6c1c15f8bf244458776b1e201204405bfb718fa2ab12bd602de548b16228b1f7968ce3eebb6ec6c4b55742 SHA512 b26c0c01e4285f683e16da8da0be96161c3e697725dda75d9daa0b5e89294099eab0af8c3a501f33525e7fc0e5c698060f1fe4228d95ef3216dcba919da4853a +DIST seqeval-1.2.2.gh.tar.gz 42187 BLAKE2B c0ae8b71fab3d29381d5e2bc70f733b5d176b8a447ee7803a8b4681a1fbd9d197e288c1e3c1239454b5c669addc4977d8a3274c63884529d8c682bf584f2cd3a SHA512 794b817dcd19bc60ecc1c3c3f188bb17b2786dd3629691c43a594443b6dd2a3298b398309d5f14817ff1e0e37859fe109175b8bd48d0d30243de0ea4845c381a +EBUILD seqeval-1.2.2.ebuild 752 BLAKE2B f8e51652b7b9f949190e3dcee922ee7660d6095feeff8b144731f83d0c440edade13115621813ce95d56cc7ca7ac10c3b8437076e559acf2a400d9e00f54f5b0 SHA512 4f4629d9f9f8b44053378d3a7aea1ca5581cf05303720df791c8b975e122002b1744a7e181c3c0175cab03951c41aabebe82d7aec81fb4876a15dcf1215f698c +MISC metadata.xml 378 BLAKE2B 3f985472075cf2a650e8e2851d63fb69fcae8bba196b04809cea8158922aea385320d813a7ca18c96b33242b7c4e154ba92b1ff0a26e37450112df3c3e5e9484 SHA512 d227df0c4c1735b8bca799e4bdec447a15d532e63d1c6a6eb2ad634a63a13baee62f403c87db4fbe1b36ea0b1b34fda3b95b5781a7432ccae2904b0c92005664 diff --git a/sci-libs/seqeval/files/seqeval-1.2.2-gentoo.patch b/sci-libs/seqeval/files/seqeval-1.2.2-gentoo.patch new file mode 100644 index 000000000000..17af496e249a --- /dev/null +++ b/sci-libs/seqeval/files/seqeval-1.2.2-gentoo.patch @@ -0,0 +1,10 @@ +--- a/tests/test_metrics.py 2023-05-04 09:00:31.656558311 +0200 ++++ b/tests/test_metrics.py 2023-05-04 09:02:09.151781216 +0200 +@@ -158,6 +158,7 @@ + self.assertLess(abs(r_pred - r_pred_inv), 1e-4) + self.assertLess(abs(f1_pred - f1_pred_inv), 1e-4) + ++ @pytest.mark.skip(reason="take too much time to finish") + def test_statistical_tests(self): + filepath = 'eval_data.txt' + for prefix in ['BIO', 'EIO']: diff --git a/sci-libs/seqeval/metadata.xml b/sci-libs/seqeval/metadata.xml new file mode 100644 index 000000000000..11047fcb8a30 --- /dev/null +++ b/sci-libs/seqeval/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>tupone@gentoo.org</email> + <name>Tupone Alfredo</name> + </maintainer> + <upstream> + <remote-id type="pypi">seqeval</remote-id> + <remote-id type="github">chakki-works/seqeval</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-libs/seqeval/seqeval-1.2.2.ebuild b/sci-libs/seqeval/seqeval-1.2.2.ebuild new file mode 100644 index 000000000000..a0b7601ae359 --- /dev/null +++ b/sci-libs/seqeval/seqeval-1.2.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +inherit distutils-r1 + +DESCRIPTION="Python framework for sequence labeling evaluation" +HOMEPAGE=" + https://pypi.org/project/seqeval/ + https://github.com/chakki-works/seqeval +" +SRC_URI="https://github.com/chakki-works/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND="test? ( dev-python/setuptools-scm )" + +distutils_enable_tests pytest + +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) + +src_compile() { + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + distutils-r1_src_compile +} + +src_test() { + cd tests + distutils-r1_src_test +} |