dev-python/joblib: Bump to 1.5.2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-08-28 05:27:26 +02:00
parent e6a32e913c
commit 6b05845157
2 changed files with 53 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}