diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-05-26 12:34:37 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-05-26 12:34:37 +0000 |
| commit | 45620c5bf2efedf816b5e32e4301aae632c35ce7 (patch) | |
| tree | 61ef3643a8095165533163b38426879409a6b633 /dev-python/joblib | |
| parent | 2797cc940a89b17c99cb401b83beba1fe1442368 (diff) | |
| download | baldeagleos-repo-45620c5bf2efedf816b5e32e4301aae632c35ce7.tar.gz baldeagleos-repo-45620c5bf2efedf816b5e32e4301aae632c35ce7.tar.xz baldeagleos-repo-45620c5bf2efedf816b5e32e4301aae632c35ce7.zip | |
Adding metadata
Diffstat (limited to 'dev-python/joblib')
| -rw-r--r-- | dev-python/joblib/joblib-1.1.0-r1.ebuild | 47 | ||||
| -rw-r--r-- | dev-python/joblib/joblib-1.1.0.ebuild | 2 |
2 files changed, 48 insertions, 1 deletions
diff --git a/dev-python/joblib/joblib-1.1.0-r1.ebuild b/dev-python/joblib/joblib-1.1.0-r1.ebuild new file mode 100644 index 000000000000..f627bd235c06 --- /dev/null +++ b/dev-python/joblib/joblib-1.1.0-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..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}.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 + + # https://github.com/joblib/joblib/issues/1115 + sed -e 's:test_parallel_call_cached_function_defined_in_jupyter:_&:' \ + -i joblib/test/test_memory.py || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/joblib/joblib-1.1.0.ebuild b/dev-python/joblib/joblib-1.1.0.ebuild index 3fb250b9084b..b21627ed4cbe 100644 --- a/dev-python/joblib/joblib-1.1.0.ebuild +++ b/dev-python/joblib/joblib-1.1.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="Tools to provide lightweight pipelining in Python" |
