Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/future/
Date: Mon, 11 Feb 2019 00:41:18
Message-Id: 1549845661.03c417b62659132ccf6bf5be8aef050308d12269.mattst88@gentoo
1 commit: 03c417b62659132ccf6bf5be8aef050308d12269
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 11 00:39:51 2019 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 11 00:41:01 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03c417b6
7
8 dev-python/future: Version bump to 0.17.0
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 dev-python/future/Manifest | 1 +
13 dev-python/future/future-0.17.0.ebuild | 48 ++++++++++++++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/dev-python/future/Manifest b/dev-python/future/Manifest
17 index c6f9ebb99b5..0bcf5ff7b5a 100644
18 --- a/dev-python/future/Manifest
19 +++ b/dev-python/future/Manifest
20 @@ -1,2 +1,3 @@
21 DIST future-0.15.2.tar.gz 1583441 BLAKE2B 9c552a5f3598922f8910480d054015020112aae4f7e14d2c139dda13a0b26e878b75eaf5068d66f20823ac4659d85edd4087a95d9474dc27bf15767cf6e9d921 SHA512 24a0eaf70795efe1644b098c5abbcb0103d9172a5243721f0d26b1cbd108872b6c0616180da8f5507855ddfc7b26bb10a606a64e59d307d39042b346700f77ee
22 DIST future-0.16.0.tar.gz 824484 BLAKE2B b098366cc7a7866c4aa4a35f1a6a5cf113698307de8f4cce6c77e4ce72a8433dd102111f991e35ffa920c09a0d31cc048b9502dacd0aba1b701c11eaaeab8392 SHA512 41c795cd1746a76df84de2da9fbc611fc6164322c1c712ec9e8a8626c21c2717cb4899ec150d95c5e0c037270e6bb71e099edd169609369aae619daea9df2e5f
23 +DIST future-0.17.0.tar.gz 827812 BLAKE2B 14bfce4927386b157da91e6bbad547e21bb622f7e81997bc4ac400842cec5f7a50d7a0f5a743c4c76a7b80be0dcb6f54c06901311fd27781d89a8d2df1cce7e9 SHA512 f2396379e8e36753aeafdf27225c2551a31b10036f21201f1c24d63c1bb318dbd491ec977af514a19a4d477b397df9eed9711be797a64e86fc00c4692729d876
24
25 diff --git a/dev-python/future/future-0.17.0.ebuild b/dev-python/future/future-0.17.0.ebuild
26 new file mode 100644
27 index 00000000000..860a64b830c
28 --- /dev/null
29 +++ b/dev-python/future/future-0.17.0.ebuild
30 @@ -0,0 +1,48 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Easy, clean, reliable Python 2/3 compatibility"
41 +HOMEPAGE="http://python-future.org/"
42 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
43 +
44 +LICENSE="MIT"
45 +SLOT="0"
46 +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
47 +IUSE="doc test"
48 +
49 +BDEPEND="
50 + dev-python/setuptools[${PYTHON_USEDEP}]
51 + doc? (
52 + dev-python/sphinx[${PYTHON_USEDEP}]
53 + dev-python/sphinx-bootstrap-theme[${PYTHON_USEDEP}]
54 + )
55 + test? (
56 + dev-python/numpy[${PYTHON_USEDEP}]
57 + dev-python/pytest[${PYTHON_USEDEP}]
58 + )
59 +"
60 +
61 +PATCHES=(
62 +)
63 +
64 +python_prepare_all() {
65 + sed -i "/'sphinx.ext.intersphinx'/d" docs/conf.py || die
66 + distutils-r1_python_prepare_all
67 +}
68 +
69 +python_compile_all() {
70 + if use doc; then
71 + sphinx-build docs/ docs/_build/html || die
72 + HTML_DOCS=( docs/_build/html/. )
73 + fi
74 +}
75 +
76 +python_test() {
77 + pytest -vv || die "Tests failed under ${EPYTHON}"
78 +}