From 05f2a11918a15ef57166e74d69d6c4737673e75c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 29 Jun 2023 07:39:57 +0100 Subject: gentoo auto-resync : 29:06:2023 - 07:39:57 --- dev-python/joblib/Manifest | 4 ++- dev-python/joblib/joblib-1.2.0.ebuild | 1 - dev-python/joblib/joblib-1.3.0.ebuild | 57 +++++++++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 dev-python/joblib/joblib-1.3.0.ebuild (limited to 'dev-python/joblib') diff --git a/dev-python/joblib/Manifest b/dev-python/joblib/Manifest index 22a207c6b815..78a208c5001d 100644 --- a/dev-python/joblib/Manifest +++ b/dev-python/joblib/Manifest @@ -1,3 +1,5 @@ DIST joblib-1.2.0.gh.tar.gz 345345 BLAKE2B e18be536054829057ff320eda320a7548434108b3fc6c92a03df73dc68e093d039c656c1d674ea26fb6419bdfc39d26cfc28236a6bfbf0dcbf3ace7e52b0c829 SHA512 de882f2ff8dd936b4f98352b9ee1cc56c3a734f215a74257cf90a25736afd9e6b93e6538929b7a29f5956e6fccbdfcbf8b39c8fd68035a8857721f7a76066133 -EBUILD joblib-1.2.0.ebuild 1207 BLAKE2B bd0a35aae8c896189a6488582943893eada958b0efb36af7479dae83a1b94aae139e7778c58235d7e9240f9185dfb32f91efcf3aa0c9016d319eee4fe08f800f SHA512 ffa0d185db3c3bc826b5ffa85949b5263c395dc85c077a9854ed1e9ae9b02146b9c0d77618a1ab96fd573852605526ca0769586dc56af26d46fb998d3b610264 +DIST joblib-1.3.0.gh.tar.gz 357076 BLAKE2B d14c71deba922fe9e9caabb35f60aeeac505e2b3fde1b87b12f998086aac91ef337af360320f5f5ac8e2e3c05a6b77d46e0b2f794932f8ecbcca2ecd907028b3 SHA512 3264f3fdf66095302c37c32cb43221c686c62646a01dbc14233c588d36e9dd13132e8b4cb0b48d2add6cdf5bb86e7c2e6dac6664a9bd22de2035ded28f61a06c +EBUILD joblib-1.2.0.ebuild 1159 BLAKE2B 2360d1177e38de0e8f591ef221da93974c743cd239302a1eeb2ff285b99f4ed6cffb633e3b9ce936fa3f28835b7ed60347bc9b09ae7f9eee1a6ece1d65ce63e8 SHA512 96b08c3b7907e08b2b4fe3553ca24802437eafb7bc147f0559adb5c677d4697fd31e8b777e2a8d93be0bec036000cb6879dbf8b813e1c14da8bdcffc45505f84 +EBUILD joblib-1.3.0.ebuild 1330 BLAKE2B 1ba2d68bbdae677f2e94b1bb18a110d2715a3eb80104b5b49daa13b06cd01a2687f89512246977f97491dc5947f464624455461ae54827bf5e3e10bb849ca8e3 SHA512 3139afe292a8d0c432ca42261ceba74397c64857574767625bce1d6a335cc276b1cbf1f14b0ec086c1f534c224b141e0f42c9796cab6b71d8e8ec1e879469d14 MISC metadata.xml 858 BLAKE2B e141cefc3f64a2d853994352590d9edb2dfcf8406e64de688b5ee077e7577ec255f214134ff04cccdd90bb08410495ca0c39081b9f530763735c12214e66c871 SHA512 4938b0a8200be169056c19816c9f6753fb19e2d89a5799de9ee9e04e48d815aec84049c480a0844e391aef1647af8b3ea70186d5a6b10be1b3dbffc13711d3ba diff --git a/dev-python/joblib/joblib-1.2.0.ebuild b/dev-python/joblib/joblib-1.2.0.ebuild index e97c038a7f9a..13027f0f851c 100644 --- a/dev-python/joblib/joblib-1.2.0.ebuild +++ b/dev-python/joblib/joblib-1.2.0.ebuild @@ -39,7 +39,6 @@ python_prepare_all() { -e 's:from \.externals ::' \ -i {} + || die - # https://github.com/joblib/joblib/issues/1115 sed -e 's:test_parallel_call_cached_function_defined_in_jupyter:_&:' \ -i joblib/test/test_memory.py || die diff --git a/dev-python/joblib/joblib-1.3.0.ebuild b/dev-python/joblib/joblib-1.3.0.ebuild new file mode 100644 index 000000000000..acfab4db2d7a --- /dev/null +++ b/dev-python/joblib/joblib-1.3.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="Tools to provide lightweight pipelining in Python" +HOMEPAGE=" + https://joblib.readthedocs.io/en/latest/ + https://github.com/joblib/joblib/ + https://pypi.org/project/joblib/ +" +SRC_URI=" + https://github.com/joblib/joblib/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/cloudpickle[${PYTHON_USEDEP}] + dev-python/loky[${PYTHON_USEDEP}] +" +# joblib is imported by setup.py so we need ${RDEPEND} +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/threadpoolctl[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # https://github.com/joblib/joblib/issues/1115 + joblib/test/test_memory.py::test_parallel_call_cached_function_defined_in_jupyter + # unexpectedly pickleable? + joblib/test/test_hashing.py::test_hashing_pickling_error +) + +python_prepare_all() { + # unbundle + rm -r joblib/externals || die + sed -e "/joblib.externals/d" -i pyproject.toml || die + find -name '*.py' -exec \ + sed -e 's:\(joblib\)\?\.externals\.::' \ + -e 's:from \.externals ::' \ + -i {} + || die + + distutils-r1_python_prepare_all +} -- cgit v1.2.3