1 |
commit: 86ed3c8cc1d7da8edaa791c89ea86e016b4a3755 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 2 08:23:10 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 2 08:29:19 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86ed3c8c |
7 |
|
8 |
dev-python/joblib: Bump to 0.16.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/joblib/Manifest | 1 + |
13 |
dev-python/joblib/joblib-0.16.0.ebuild | 57 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 58 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/joblib/Manifest b/dev-python/joblib/Manifest |
17 |
index 974f1652955..bcaca744dab 100644 |
18 |
--- a/dev-python/joblib/Manifest |
19 |
+++ b/dev-python/joblib/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST joblib-0.14.1.tar.gz 338930 BLAKE2B 6b84c43be8b8d32f28a3dbc3e6f4ce15574cf20571805501972d162d4b076c1fe144a9790b8132821f0acd439c8859873038813c7bdd4163d0535eca36a1a8fa SHA512 079eb4321ed95c8f05399abca2a1c46ecb7c28fe9a3a50b6eb106a2bd2f3566fb25bca59022fafbfcee5069f078921421d799eeb29a796f8f98881491cf9be08 |
22 |
DIST joblib-0.15.1.tar.gz 342550 BLAKE2B c8ccf0b6d2e229a780939d9c4f39265bd18b5a452d014056001072b7daf7e46a5961c6d80f768c30ba7463aa36c5ec09959bb1e891028bf6f7862a9a265079aa SHA512 a0b0bde5b034af3eee0bce2875199fc9ac232a34a49c14daf6fbddd9bf3ad8fa0d77192827b7531704b81db7bdfbaf76c4755b8fc1035eaf73b2e08f9e6d8828 |
23 |
+DIST joblib-0.16.0.tar.gz 345002 BLAKE2B 0336fcbe95204141a0b04dfbf8949ba509792402eefbb86b3dc02375e7e3eb5c76d548d4ad01238307c0334ce4299fd9e763765d92722819894ea26ab6144032 SHA512 9f1f2e7f2e293e1c53e9752907f4ba25d52a5c4895eebfa423c8e3bc64146ab20a490e1db0cfa39596c9bbc47ea1cc491b0576bf8da9a1f68b58e91ba09ead34 |
24 |
|
25 |
diff --git a/dev-python/joblib/joblib-0.16.0.ebuild b/dev-python/joblib/joblib-0.16.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..392bb96fc6a |
28 |
--- /dev/null |
29 |
+++ b/dev-python/joblib/joblib-0.16.0.ebuild |
30 |
@@ -0,0 +1,57 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+PYTHON_COMPAT=( python3_{6..8} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Tools to provide lightweight pipelining in Python" |
40 |
+HOMEPAGE="https://joblib.readthedocs.io/en/latest/ |
41 |
+ https://github.com/joblib/joblib" |
42 |
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="BSD" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ dev-python/cloudpickle[${PYTHON_USEDEP}] |
50 |
+ dev-python/loky[${PYTHON_USEDEP}] |
51 |
+" |
52 |
+BDEPEND=" |
53 |
+ test? ( |
54 |
+ dev-python/threadpoolctl[${PYTHON_USEDEP}] |
55 |
+ ) |
56 |
+" |
57 |
+ |
58 |
+distutils_enable_sphinx doc \ |
59 |
+ 'dev-python/numpy' \ |
60 |
+ 'dev-python/matplotlib' \ |
61 |
+ 'dev-python/pillow' \ |
62 |
+ 'dev-python/sphinx-gallery' \ |
63 |
+ 'dev-python/numpydoc' \ |
64 |
+ 'dev-python/pandas' \ |
65 |
+ 'dev-python/lz4' \ |
66 |
+ 'dev-python/distributed' |
67 |
+ |
68 |
+distutils_enable_tests pytest |
69 |
+ |
70 |
+python_prepare_all() { |
71 |
+ # unbundle |
72 |
+ rm -r joblib/externals || die |
73 |
+ sed -e "s:'joblib.externals[^']*',\?::g" -i setup.py || die |
74 |
+ find -name '*.py' -exec \ |
75 |
+ sed -e 's:\(joblib\)\?\.externals\.::' \ |
76 |
+ -e 's:from \.externals ::' \ |
77 |
+ -i {} + || die |
78 |
+ |
79 |
+ sed -e "s:'_static/joblib_logo_examples.png':'doc/_static/joblib_logo_examples.png':" \ |
80 |
+ -i doc/conf.py || die |
81 |
+ |
82 |
+ # tries to fetch from the internet |
83 |
+ rm examples/compressors_comparison.py \ |
84 |
+ examples/parallel/distributed_backend_simple.py || die |
85 |
+ |
86 |
+ distutils-r1_python_prepare_all |
87 |
+} |