Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mpmath/
Date: Tue, 02 Oct 2018 13:46:48
Message-Id: 1538487972.65b0330bbfb83ff48b70582481db0fa2ae7a3e51.grozin@gentoo
1 commit: 65b0330bbfb83ff48b70582481db0fa2ae7a3e51
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 2 13:46:12 2018 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 2 13:46:12 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65b0330b
7
8 dev-python/mpmath: cleaning old versions
9
10 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
11 Package-Manager: Portage-2.3.41, Repoman-2.3.9
12
13 dev-python/mpmath/Manifest | 1 -
14 dev-python/mpmath/mpmath-0.19-r1.ebuild | 62 ---------------------------------
15 dev-python/mpmath/mpmath-0.19-r2.ebuild | 62 ---------------------------------
16 3 files changed, 125 deletions(-)
17
18 diff --git a/dev-python/mpmath/Manifest b/dev-python/mpmath/Manifest
19 index 0cfa09cfc3d..ff89cb05b2c 100644
20 --- a/dev-python/mpmath/Manifest
21 +++ b/dev-python/mpmath/Manifest
22 @@ -1,2 +1 @@
23 DIST mpmath-1.0.0.tar.gz 511349 BLAKE2B 62c6275f76c412043cdafef51815e4b5d055a63ca36f3f63b33957351b19e03419ca27f7d59641c580cf8e47c1ca45240b68b3040e2749b3de679eb45b15a28e SHA512 b225f237008e1cfee52b2f0dca0dce1445b932b6eaef92879d7feca30d728e3f88810bfa80882ad8776ba846a636807e59bebe0b9f690cd878c089e9418bd8b7
24 -DIST mpmath-all-0.19.tar.gz 2123129 BLAKE2B df7e6255f09362a4203716a5d70036b712d069cc08c09613cabd6d1a88ab5155610f5fe5d2f33db3ed241322e92e93301c54c9cba777c0fbedfb5c891ffa3db0 SHA512 5a6ed0b5fad84c1e8399467ea7a1295f9b77c8e673b821c11e3298e88df6c48d9967eed84e2979bf12868e2f9b42bffba01a0c1836a6d82ac42d5f423fed6580
25
26 diff --git a/dev-python/mpmath/mpmath-0.19-r1.ebuild b/dev-python/mpmath/mpmath-0.19-r1.ebuild
27 deleted file mode 100644
28 index 85fc57bbf39..00000000000
29 --- a/dev-python/mpmath/mpmath-0.19-r1.ebuild
30 +++ /dev/null
31 @@ -1,62 +0,0 @@
32 -# Copyright 1999-2017 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=5
36 -
37 -PYTHON_COMPAT=( python{2_7,3_4,3_5} )
38 -
39 -inherit distutils-r1 eutils
40 -
41 -MY_PN=${PN}-all
42 -MY_P=${MY_PN}-${PV}
43 -
44 -DESCRIPTION="Python library for arbitrary-precision floating-point arithmetic"
45 -HOMEPAGE="http://mpmath.org/"
46 -SRC_URI="http://mpmath.org/files/${MY_P}.tar.gz"
47 -
48 -LICENSE="BSD"
49 -SLOT="0"
50 -KEYWORDS="amd64 ~arm ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
51 -
52 -IUSE="doc examples gmp matplotlib test"
53 -
54 -RDEPEND="
55 - gmp? ( dev-python/gmpy )
56 - matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )"
57 -DEPEND="${RDEPEND}
58 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
59 - test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
60 -
61 -S="${WORKDIR}/${MY_P}"
62 -
63 -python_prepare_all() {
64 - local PATCHES=(
65 - "${FILESDIR}/${PN}.patch"
66 - )
67 -
68 - # this fails with the current version of dev-python/py
69 - rm ${PN}/conftest.py || die
70 -
71 - # this test requires X
72 - rm ${PN}/tests/test_visualization.py || die
73 -
74 - distutils-r1_python_prepare_all
75 -}
76 -
77 -python_compile_all() {
78 - if use doc; then
79 - einfo "Generation of documentation"
80 - cd doc || die
81 - "${PYTHON}" build.py || die "Generation of documentation failed"
82 - fi
83 -}
84 -
85 -python_test() {
86 - py.test -v || die
87 -}
88 -
89 -python_install_all() {
90 - use doc && local HTML_DOCS=( doc/build/. )
91 - use examples && local EXAMPLES=( demo/. )
92 - distutils-r1_python_install_all
93 -}
94
95 diff --git a/dev-python/mpmath/mpmath-0.19-r2.ebuild b/dev-python/mpmath/mpmath-0.19-r2.ebuild
96 deleted file mode 100644
97 index 3bd7c37eb1c..00000000000
98 --- a/dev-python/mpmath/mpmath-0.19-r2.ebuild
99 +++ /dev/null
100 @@ -1,62 +0,0 @@
101 -# Copyright 1999-2017 Gentoo Foundation
102 -# Distributed under the terms of the GNU General Public License v2
103 -
104 -EAPI=5
105 -
106 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
107 -
108 -inherit distutils-r1 eutils
109 -
110 -MY_PN=${PN}-all
111 -MY_P=${MY_PN}-${PV}
112 -
113 -DESCRIPTION="Python library for arbitrary-precision floating-point arithmetic"
114 -HOMEPAGE="http://mpmath.org/"
115 -SRC_URI="http://mpmath.org/files/${MY_P}.tar.gz"
116 -
117 -LICENSE="BSD"
118 -SLOT="0"
119 -KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
120 -
121 -IUSE="doc examples gmp matplotlib test"
122 -
123 -RDEPEND="
124 - gmp? ( dev-python/gmpy )
125 - matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )"
126 -DEPEND="${RDEPEND}
127 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
128 - test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
129 -
130 -S="${WORKDIR}/${MY_P}"
131 -
132 -python_prepare_all() {
133 - local PATCHES=(
134 - "${FILESDIR}/${PN}.patch"
135 - )
136 -
137 - # this fails with the current version of dev-python/py
138 - rm ${PN}/conftest.py || die
139 -
140 - # this test requires X
141 - rm ${PN}/tests/test_visualization.py || die
142 -
143 - distutils-r1_python_prepare_all
144 -}
145 -
146 -python_compile_all() {
147 - if use doc; then
148 - einfo "Generation of documentation"
149 - cd doc || die
150 - "${PYTHON}" build.py || die "Generation of documentation failed"
151 - fi
152 -}
153 -
154 -python_test() {
155 - py.test -v || die
156 -}
157 -
158 -python_install_all() {
159 - use doc && local HTML_DOCS=( doc/build/. )
160 - use examples && local EXAMPLES=( demo/. )
161 - distutils-r1_python_install_all
162 -}