summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-08-28 05:27:26 +0200
committerMichał Górny <mgorny@gentoo.org>2025-08-28 05:42:35 +0200
commit6b058451579c00ac8dbda8efd188137bfb63e78c (patch)
treed3a9aafac61e214e25b2ae32ea64203068b6bf24 /dev-python
parente6a32e913cf4fb032b774254c587d2c2ecb82ec8 (diff)
downloadgentoo-6b058451579c00ac8dbda8efd188137bfb63e78c.tar.gz
gentoo-6b058451579c00ac8dbda8efd188137bfb63e78c.tar.bz2
gentoo-6b058451579c00ac8dbda8efd188137bfb63e78c.zip
dev-python/joblib: Bump to 1.5.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/joblib/Manifest1
-rw-r--r--dev-python/joblib/joblib-1.5.2.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/joblib/Manifest b/dev-python/joblib/Manifest
index acad53db9ac0..0312e710b028 100644
--- a/dev-python/joblib/Manifest
+++ b/dev-python/joblib/Manifest
@@ -1 +1,2 @@
DIST joblib-1.5.1.tar.gz 330475 BLAKE2B c60e9cd076b5381a20c01b633c02f3192ecd02e21f141cff07d3f01d04e10ff52f131e1c671e33da862f8c959f9f1ba96dc35031a358b59098d8d2bbb1859ce4 SHA512 1ca99d55e2a921beefbbb95dc6e1c6f353b28c9e31cfb708ef5a822df0d09f7947ad0d3dad5c52ccf4c96236f5bb86afb93600518e0a9a61fb2050084ef13194
+DIST joblib-1.5.2.tar.gz 331077 BLAKE2B 6c5644d094259660206bf991afca5308f9059c73bed57dfda3e34d1d4727c1b58bd6dfa6e07369a33e437826d8d762fc3608a6164b467b45b242d2160f836d04 SHA512 481f742f6f5370be4f841b3d9e6d2a82e5870e5bb773c2af154d602a2cb3136f45dce1cb74d5f3f536703e563c1ea0253ad28bd70df7dd9461c199f7c0e69112
diff --git a/dev-python/joblib/joblib-1.5.2.ebuild b/dev-python/joblib/joblib-1.5.2.ebuild
new file mode 100644
index 000000000000..9914af326785
--- /dev/null
+++ b/dev-python/joblib/joblib-1.5.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+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}]
+ )
+"
+
+EPYTEST_PLUGINS=( pytest-asyncio )
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # https://github.com/joblib/joblib/issues/1362
+ joblib/test/test_memory.py::test_parallel_call_cached_function_defined_in_jupyter
+)
+
+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
+}