mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
dev-python/joblib: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST joblib-1.2.0.gh.tar.gz 345345 BLAKE2B e18be536054829057ff320eda320a7548434108b3fc6c92a03df73dc68e093d039c656c1d674ea26fb6419bdfc39d26cfc28236a6bfbf0dcbf3ace7e52b0c829 SHA512 de882f2ff8dd936b4f98352b9ee1cc56c3a734f215a74257cf90a25736afd9e6b93e6538929b7a29f5956e6fccbdfcbf8b39c8fd68035a8857721f7a76066133
|
||||
DIST joblib-1.3.0.gh.tar.gz 357076 BLAKE2B d14c71deba922fe9e9caabb35f60aeeac505e2b3fde1b87b12f998086aac91ef337af360320f5f5ac8e2e3c05a6b77d46e0b2f794932f8ecbcca2ecd907028b3 SHA512 3264f3fdf66095302c37c32cb43221c686c62646a01dbc14233c588d36e9dd13132e8b4cb0b48d2add6cdf5bb86e7c2e6dac6664a9bd22de2035ded28f61a06c
|
||||
DIST joblib-1.3.1.tar.gz 1986996 BLAKE2B fad0e61755b8d48595fcfcaeead7726242e8003acf0d50c4b0f810cb54c414fd25f6c3d420738b16d0667e06e05f5aaf8cd49e9abd693d620861acbb9eb0c16b SHA512 40aada55e64469887a323cad7049ad1fd7df815291c3e418544bce9b54af73bea67876de3469c3d0271aa4e2f6aa5f47c64c6be53730b1ba6b3e88814ddc0908
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..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"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/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
|
||||
|
||||
python_prepare_all() {
|
||||
# unbundle
|
||||
rm -r joblib/externals || die
|
||||
sed -e "s:'joblib.externals[^']*',\?::g" -i setup.py || die
|
||||
find -name '*.py' -exec \
|
||||
sed -e 's:\(joblib\)\?\.externals\.::' \
|
||||
-e 's:from \.externals ::' \
|
||||
-i {} + || die
|
||||
|
||||
sed -e 's:test_parallel_call_cached_function_defined_in_jupyter:_&:' \
|
||||
-i joblib/test/test_memory.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user