diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-04 00:00:19 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-04 00:00:19 +0100 |
commit | 7f3fecbb5b871825fe9632f46659869cab6a3769 (patch) | |
tree | dd2be4fe7ee3475ca4ad093698f0f8fd1e0965dc /dev-python/joblib | |
parent | a98588cfddf3d6e88a5f17d7f399b695163c7a85 (diff) |
gentoo auto-resync : 04:05:2024 - 00:00:19
Diffstat (limited to 'dev-python/joblib')
-rw-r--r-- | dev-python/joblib/Manifest | 2 | ||||
-rw-r--r-- | dev-python/joblib/joblib-1.4.2.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/joblib/Manifest b/dev-python/joblib/Manifest index d1c36d960609..9efc9de78a8b 100644 --- a/dev-python/joblib/Manifest +++ b/dev-python/joblib/Manifest @@ -1,3 +1,5 @@ DIST joblib-1.4.0.tar.gz 2115863 BLAKE2B cd61f3523ee697382db601ebb460aa6f4cd35947978fb07473c5e2e5337713a05aee8339acee211be0076d84a00174c37623cd6010b492aee84337abc2e5e633 SHA512 5c7e5475347906cdc8575eac8d2052470408c4ed5267d59a88a9d3126fb72b977d20b24fb0983b070e2f3c101e7da000fc03231733fef62531f9aeffacc47baf +DIST joblib-1.4.2.tar.gz 2116621 BLAKE2B e6c00a2308099690ddb89956b090996405d0b1c214e810b4c6ea4fe32bec8f297a324e6faa7c5f459c5ade84230d9b09e263b344069f43523208acf761d7b006 SHA512 d4c84803207ace0025701261f9e7976329e2ff9fa18a3155be1afe1f03ebfd470772e39e94b3ed01f9d1409589991c9592dc4188bca86dba158c44c70355441b EBUILD joblib-1.4.0.ebuild 1376 BLAKE2B 0a5d8a305595de36aa6be1a207a10a19642d0c28204e63d54b58fd0fb34ccd7b1a0f64e1d1b3120b8926dbe2bfd0412a22979ce8f6f4957530a8628a8b5bf3ee SHA512 c61b0bff9b9ce336c92eed0a02c3efdf3c052affdd55dd06a1cadbf45773e36caaba8cfc7cf4b91542302663ee2d6d339255d5501b234c0f5ad32ba15537e612 +EBUILD joblib-1.4.2.ebuild 1380 BLAKE2B 6021950734acb24b961e15acb11adba5550acd620a254ead1410435e022905efc551f7c1cabda3ffb9b28bbea5003e51815de01b2377a80c4e23377036928c8f SHA512 08e7faf875307edc2bdb67cad48ba31fbd032fc9e58ff89824f81805bfc3c2b2b96633a9f88efe87131cff088d235c96fa0fcdc887723b703d418949612d074a MISC metadata.xml 858 BLAKE2B e141cefc3f64a2d853994352590d9edb2dfcf8406e64de688b5ee077e7577ec255f214134ff04cccdd90bb08410495ca0c39081b9f530763735c12214e66c871 SHA512 4938b0a8200be169056c19816c9f6753fb19e2d89a5799de9ee9e04e48d815aec84049c480a0844e391aef1647af8b3ea70186d5a6b10be1b3dbffc13711d3ba diff --git a/dev-python/joblib/joblib-1.4.2.ebuild b/dev-python/joblib/joblib-1.4.2.ebuild new file mode 100644 index 000000000000..428a8245bd46 --- /dev/null +++ b/dev-python/joblib/joblib-1.4.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 pypi + +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/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos" + +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 + # https://github.com/joblib/joblib/issu + joblib/test/test_parallel.py::test_main_thread_renamed_no_warning +) + +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 +} |