mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/joblib: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST joblib-1.5.1.tar.gz 330475 BLAKE2B c60e9cd076b5381a20c01b633c02f3192ecd02e21f141cff07d3f01d04e10ff52f131e1c671e33da862f8c959f9f1ba96dc35031a358b59098d8d2bbb1859ce4 SHA512 1ca99d55e2a921beefbbb95dc6e1c6f353b28c9e31cfb708ef5a822df0d09f7947ad0d3dad5c52ccf4c96236f5bb86afb93600518e0a9a61fb2050084ef13194
|
||||
DIST joblib-1.5.2.tar.gz 331077 BLAKE2B 6c5644d094259660206bf991afca5308f9059c73bed57dfda3e34d1d4727c1b58bd6dfa6e07369a33e437826d8d762fc3608a6164b467b45b242d2160f836d04 SHA512 481f742f6f5370be4f841b3d9e6d2a82e5870e5bb773c2af154d602a2cb3136f45dce1cb74d5f3f536703e563c1ea0253ad28bd70df7dd9461c199f7c0e69112
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
# 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/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/threadpoolctl[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
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
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# https://github.com/joblib/joblib/issues/1115
|
||||
joblib/test/test_memory.py::test_parallel_call_cached_function_defined_in_jupyter
|
||||
)
|
||||
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest -p asyncio
|
||||
}
|
||||
Reference in New Issue
Block a user