Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/future/
Date: Sat, 07 Mar 2020 15:24:03
Message-Id: 1583594626.994604c3262e4058a1e06b3b8cde8f22067420a4.mgorny@gentoo
1 commit: 994604c3262e4058a1e06b3b8cde8f22067420a4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 7 15:16:11 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 7 15:23:46 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=994604c3
7
8 dev-python/future: Remove redundant versions
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/future/Manifest | 2 --
13 dev-python/future/future-0.17.0.ebuild | 49 ----------------------------------
14 dev-python/future/future-0.17.1.ebuild | 38 --------------------------
15 3 files changed, 89 deletions(-)
16
17 diff --git a/dev-python/future/Manifest b/dev-python/future/Manifest
18 index 1b1bafcb16a..4d3885c3e88 100644
19 --- a/dev-python/future/Manifest
20 +++ b/dev-python/future/Manifest
21 @@ -1,3 +1 @@
22 -DIST future-0.17.0.tar.gz 827812 BLAKE2B 14bfce4927386b157da91e6bbad547e21bb622f7e81997bc4ac400842cec5f7a50d7a0f5a743c4c76a7b80be0dcb6f54c06901311fd27781d89a8d2df1cce7e9 SHA512 f2396379e8e36753aeafdf27225c2551a31b10036f21201f1c24d63c1bb318dbd491ec977af514a19a4d477b397df9eed9711be797a64e86fc00c4692729d876
23 -DIST future-0.17.1.tar.gz 829119 BLAKE2B 95210b5128d25d6c189cd38bced873f096802690e8fab5f4591c08fa913c41dc255e24af1931cad91d872a286f690f47bf6e0aa365e2f6508b03b0d305779c26 SHA512 50094c44db81afbfd37ee25e1710ed11ecb2c2d64ad076fb62a2688dd36a9696ab26b0d7989bf1ecb10da251961a0ee6bb37c4dbd115f70384cd8c9a675d0b2d
24 DIST future-0.18.2.tar.gz 829220 BLAKE2B 68574b589bf54aa8dacbd162a54885589faa32829ccf212f50de5bf036ebd8b9aba0c13e63e80d34e507cc0dae4d8d3d47fea33433b17d2c2e6dbf6c37f66d8f SHA512 91c025f7d94bcdf93df838fab67053165a414fc84e8496f92ecbb910dd55f6b6af5e360bbd051444066880c5a6877e75157bd95e150ead46e5c605930dfc50f2
25
26 diff --git a/dev-python/future/future-0.17.0.ebuild b/dev-python/future/future-0.17.0.ebuild
27 deleted file mode 100644
28 index eafb857cad0..00000000000
29 --- a/dev-python/future/future-0.17.0.ebuild
30 +++ /dev/null
31 @@ -1,49 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -PYTHON_COMPAT=( python{2_7,3_{6,7}} )
38 -
39 -inherit distutils-r1
40 -
41 -DESCRIPTION="Easy, clean, reliable Python 2/3 compatibility"
42 -HOMEPAGE="http://python-future.org/"
43 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 -
45 -LICENSE="MIT"
46 -SLOT="0"
47 -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux"
48 -IUSE="doc test"
49 -RESTRICT="!test? ( test )"
50 -
51 -BDEPEND="
52 - dev-python/setuptools[${PYTHON_USEDEP}]
53 - doc? (
54 - dev-python/sphinx[${PYTHON_USEDEP}]
55 - dev-python/sphinx-bootstrap-theme[${PYTHON_USEDEP}]
56 - )
57 - test? (
58 - dev-python/numpy[${PYTHON_USEDEP}]
59 - dev-python/pytest[${PYTHON_USEDEP}]
60 - )
61 -"
62 -
63 -PATCHES=(
64 -)
65 -
66 -python_prepare_all() {
67 - sed -i "/'sphinx.ext.intersphinx'/d" docs/conf.py || die
68 - distutils-r1_python_prepare_all
69 -}
70 -
71 -python_compile_all() {
72 - if use doc; then
73 - sphinx-build docs/ docs/_build/html || die
74 - HTML_DOCS=( docs/_build/html/. )
75 - fi
76 -}
77 -
78 -python_test() {
79 - pytest -vv || die "Tests failed under ${EPYTHON}"
80 -}
81
82 diff --git a/dev-python/future/future-0.17.1.ebuild b/dev-python/future/future-0.17.1.ebuild
83 deleted file mode 100644
84 index 889324f6510..00000000000
85 --- a/dev-python/future/future-0.17.1.ebuild
86 +++ /dev/null
87 @@ -1,38 +0,0 @@
88 -# Copyright 1999-2020 Gentoo Authors
89 -# Distributed under the terms of the GNU General Public License v2
90 -
91 -EAPI=7
92 -
93 -PYTHON_COMPAT=( python{2_7,3_{6,7}} )
94 -
95 -inherit distutils-r1
96 -
97 -DESCRIPTION="Easy, clean, reliable Python 2/3 compatibility"
98 -HOMEPAGE="http://python-future.org/"
99 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
100 -
101 -LICENSE="MIT"
102 -SLOT="0"
103 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
104 -
105 -distutils_enable_sphinx docs \
106 - dev-python/sphinx-bootstrap-theme
107 -distutils_enable_tests pytest
108 -
109 -# TODO: make numpy unconditional when it supports py3.8
110 -BDEPEND="
111 - dev-python/setuptools[${PYTHON_USEDEP}]
112 - test? (
113 - $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' \
114 - python{2_7,3_{5,6,7}})
115 - )
116 -"
117 -
118 -python_prepare_all() {
119 - # tests requiring network access
120 - rm tests/test_future/test_requests.py || die
121 - sed -i -e 's:test.*request_http:_&:' \
122 - tests/test_future/test_standard_library.py || die
123 -
124 - distutils-r1_python_prepare_all
125 -}