Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/joblib/
Date: Tue, 03 Nov 2015 10:25:07
Message-Id: 1446546280.ee680bf4b96b33f4f3c7da35e1f66d13bed43f67.jlec@gentoo
1 commit: ee680bf4b96b33f4f3c7da35e1f66d13bed43f67
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 3 08:37:11 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 3 10:24:40 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee680bf4
7
8 dev-python/joblib: Version Bump
9
10 Package-Manager: portage-2.2.23
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 dev-python/joblib/Manifest | 1 +
14 dev-python/joblib/joblib-0.9.3.ebuild | 47 +++++++++++++++++++++++++++++++++++
15 dev-python/joblib/metadata.xml | 2 +-
16 3 files changed, 49 insertions(+), 1 deletion(-)
17
18 diff --git a/dev-python/joblib/Manifest b/dev-python/joblib/Manifest
19 index fc4332f..225e668 100644
20 --- a/dev-python/joblib/Manifest
21 +++ b/dev-python/joblib/Manifest
22 @@ -1,2 +1,3 @@
23 DIST joblib-0.8.4.tar.gz 314213 SHA256 f185b87199525e0805281960f9f91c4f2e382e5834f05678cfcfa8ec666a4d2b SHA512 37d9a107c0f8f80c30cbcf7e4520a571eb925efdfb8729ca681fb12b3ec79cfd63c4b53660e560bbb3bc162664f79ab1d9fa7207f3dac00b5d5cddcdc12169c9 WHIRLPOOL f887c0153b4fa691e2289a9d3237a1b9ee51fabd7f6f3a54c7914f4296e23d50010ba822846723566fac5bcfd40c7b23c458121b6eff18d8ce15d6317ae5e638
24 DIST joblib-0.9.2.tar.gz 480557 SHA256 aa20324c09428e35a93517156b5355aa69e070661cdcb3c983249c814d5f7b84 SHA512 8fb5362a6816cb9fb04611c7e2b0b9abdcee216932c966f960f490380d00a4931ddb2abbf3b30e73dca75d05056bcb4863ac92fe0d2a3e6d3842d1f116c1a3f9 WHIRLPOOL 0a04c3045979b23ddfd9554d748d42a7cbc7bed1cd02a7e68ceddc26273fe1c4aeb2c1b51597b5a3a4785aa180cabaa4f90ddd23988ef70cc66edcd8105e0120
25 +DIST joblib-0.9.3.tar.gz 445258 SHA256 ac68f659cd4cfdb102423e9d87f9d94fe1d76f1e02dcbf8c99aea7fcb223be4d SHA512 dada1e628c6f875c663cbb5e7c3339e4a56482f89bcc323f95f996821111c4d5fdc1e66511bd6158dd4b255e5d3d0de9321b7fee42c3e51ec9dcc01695a8235d WHIRLPOOL ef60a41e5939b758ec049a2739b9a0c980e6cb401c4e5f45e2036bf329660cca6b02fb65879bffdbde4aef0f45229529ac6fb769244bb0790ec35bd0dc283f84
26
27 diff --git a/dev-python/joblib/joblib-0.9.3.ebuild b/dev-python/joblib/joblib-0.9.3.ebuild
28 new file mode 100644
29 index 0000000..991fe2f
30 --- /dev/null
31 +++ b/dev-python/joblib/joblib-0.9.3.ebuild
32 @@ -0,0 +1,47 @@
33 +# Copyright 1999-2015 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=5
38 +
39 +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
40 +
41 +inherit distutils-r1
42 +
43 +DESCRIPTION="Tools to provide lightweight pipelining in Python"
44 +HOMEPAGE="http://pythonhosted.org/joblib/ https://github.com/joblib/joblib"
45 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 +
47 +LICENSE="BSD"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
50 +IUSE="doc test"
51 +
52 +DEPEND="
53 + dev-python/setuptools[${PYTHON_USEDEP}]
54 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
55 + test? ( dev-python/nose[${PYTHON_USEDEP}] )"
56 +RDEPEND=""
57 +# Usual; req'd for testsuite
58 +DISTUTILS_IN_SOURCE_BUILD=1
59 +
60 +python_compile_all() {
61 + if use doc; then
62 + sphinx-build -b html -c doc/ doc/ doc/html || die "docs failed installation"
63 + fi
64 +}
65 +
66 +python_test() {
67 + # https://github.com/joblib/joblib/issues/143
68 + if [[ "${EPYTHON}" == pypy ]]; then
69 + sed -e 's:test_func_inspect_errors:_&:' -i ${PN}/test/test_func_inspect.py || die
70 + sed -e 's:test_parallel_pickling:_&:' -i ${PN}/test/test_parallel.py || die
71 + fi
72 +
73 + nosetests -w ${PN}/test || die
74 +}
75 +
76 +python_install_all() {
77 + use doc && local HTML_DOCS=( doc/html/. )
78 + distutils-r1_python_install_all
79 +}
80
81 diff --git a/dev-python/joblib/metadata.xml b/dev-python/joblib/metadata.xml
82 index 59cc2bd..35b86be 100644
83 --- a/dev-python/joblib/metadata.xml
84 +++ b/dev-python/joblib/metadata.xml
85 @@ -1,4 +1,4 @@
86 -<?xml version='1.0' encoding='UTF-8'?>
87 +<?xml version="1.0" encoding="UTF-8"?>
88 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
89 <pkgmetadata>
90 <herd>python</herd>