summaryrefslogtreecommitdiff
path: root/dev-python/joblib
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-05-23 19:00:21 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-05-23 19:00:21 +0000
commit09cb45b21c7d590ec2e5955b98678951ada09ff7 (patch)
tree364b8331744a9f0e5eb0eeb5eff848df97a01949 /dev-python/joblib
parent17c0e53539cd38c91225209817116a86d424bb4b (diff)
downloadbaldeagleos-repo-09cb45b21c7d590ec2e5955b98678951ada09ff7.tar.gz
baldeagleos-repo-09cb45b21c7d590ec2e5955b98678951ada09ff7.tar.xz
baldeagleos-repo-09cb45b21c7d590ec2e5955b98678951ada09ff7.zip
Adding metadata
Diffstat (limited to 'dev-python/joblib')
-rw-r--r--dev-python/joblib/Manifest1
-rw-r--r--dev-python/joblib/joblib-1.5.1.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/joblib/Manifest b/dev-python/joblib/Manifest
index 7c61e166fd4e..c19c09664a51 100644
--- a/dev-python/joblib/Manifest
+++ b/dev-python/joblib/Manifest
@@ -1,2 +1,3 @@
DIST joblib-1.4.2.tar.gz 2116621 BLAKE2B e6c00a2308099690ddb89956b090996405d0b1c214e810b4c6ea4fe32bec8f297a324e6faa7c5f459c5ade84230d9b09e263b344069f43523208acf761d7b006 SHA512 d4c84803207ace0025701261f9e7976329e2ff9fa18a3155be1afe1f03ebfd470772e39e94b3ed01f9d1409589991c9592dc4188bca86dba158c44c70355441b
DIST joblib-1.5.0.tar.gz 330234 BLAKE2B 27832b09a8aea2a28731694bd284155013cbaf8190e6d4998a92b55bd7a5339ab59ba4a1896c15619b044077fb1f67c83a4bef882b29e4e4e1b3ccd3bd3b76b1 SHA512 fddf2ed16129da52983fc078c599276cd37140061b88841dcdb1d732682a8819ac2adbaefd15581345af4fbcaf637d7cde00dbd5640b2598d57bd474081382a5
+DIST joblib-1.5.1.tar.gz 330475 BLAKE2B c60e9cd076b5381a20c01b633c02f3192ecd02e21f141cff07d3f01d04e10ff52f131e1c671e33da862f8c959f9f1ba96dc35031a358b59098d8d2bbb1859ce4 SHA512 1ca99d55e2a921beefbbb95dc6e1c6f353b28c9e31cfb708ef5a822df0d09f7947ad0d3dad5c52ccf4c96236f5bb86afb93600518e0a9a61fb2050084ef13194
diff --git a/dev-python/joblib/joblib-1.5.1.ebuild b/dev-python/joblib/joblib-1.5.1.ebuild
new file mode 100644
index 000000000000..58a3a76c3996
--- /dev/null
+++ b/dev-python/joblib/joblib-1.5.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9,10,11,12,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
+}