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/gmpy/
Date: Wed, 03 May 2017 09:26:33
Message-Id: 1493803563.d70f00a94b674d68cf2d74cf50aeff5dda1c81ca.mgorny@gentoo
1 commit: d70f00a94b674d68cf2d74cf50aeff5dda1c81ca
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 3 07:57:02 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 3 09:26:03 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d70f00a9
7
8 dev-python/gmpy: Clean old versions up
9
10 dev-python/gmpy/Manifest | 3 --
11 dev-python/gmpy/gmpy-2.0.4.ebuild | 59 ---------------------------------
12 dev-python/gmpy/gmpy-2.0.6.ebuild | 68 ---------------------------------------
13 dev-python/gmpy/gmpy-2.0.7.ebuild | 68 ---------------------------------------
14 4 files changed, 198 deletions(-)
15
16 diff --git a/dev-python/gmpy/Manifest b/dev-python/gmpy/Manifest
17 index c4517f7e620..bc72fecc58b 100644
18 --- a/dev-python/gmpy/Manifest
19 +++ b/dev-python/gmpy/Manifest
20 @@ -1,4 +1 @@
21 -DIST gmpy2-2.0.4.zip 280459 SHA256 c2b06e75d876960adabce575f01361f96884a64401740af49e8b9ef356bbbecf SHA512 98f57a0b140bb352dc1403dc799845685d52d346e87e6402d1e10c8ef46bbe90bae598143bd2ebffedb617c0519f75590a6cc9b30d887dc08ff6d5ae4fd7ec75 WHIRLPOOL 2f9c903c91c864ef4eb7e02b4004204580af1b7ddf67c67719ab68506a95cf57af64e06bed24ef445eb7eb2de0e7ef550748ac6e8b41e10297fcc22b04cfbca9
22 -DIST gmpy2-2.0.6.zip 280353 SHA256 5041d0ae24407c24487106099f5bcc4abb1a5f58d90e6712cc95321975eddbd4 SHA512 fae7952e86c821d8a4ae083a54d6e7e3516459abbf9bcb16408ea0d7989f309aa27348bb51781e0f52466eaf121cb193b54f5f4453093f022ce8394d273196a0 WHIRLPOOL d9a301d5d5f0872ddb517bba815cefaf8c2a3a1fa7e3e0b38f0ea0d2ec1ef8e0526549f8a3d4713b35a878125f1a766bbd3c31e0eb27902266bf3ae8a8dc2559
23 -DIST gmpy2-2.0.7.zip 280400 SHA256 7ee694b8a4c3854f27890676aa8a509a2e3f8dbdd0916fa94cbed612420b9c86 SHA512 47ba58da98cc36d4eb1eaafbf3b8c0ef31fa898d85bead6bf2fccd24ce5e33a23b66c199349b85e5ae0289ca7e651ccb0a5dd2657b4419331aeeee14a17c9291 WHIRLPOOL 099fac123707851be1743ac3e23dcbfe613bc18f608369e46541b7fdc9f52b5cc61a4ab5d1233f9e88db3a058fb402f5996c33c3c2e81d47dd4adf1e12cb559a
24 DIST gmpy2-2.0.8.zip 280551 SHA256 dd233e3288b90f21b0bb384bcc7a7e73557bb112ccf0032ad52aa614eb373d3f SHA512 090f449641f378c73eb166831b1d956c6cee3da83e42fde8741f18aa0fa687e37927fc3b045d4b35e3a3b75570e6b1074150d8bc29d16119ab5c717bcfcf9fb4 WHIRLPOOL e78b7fda27a3df8f72750b7ae6a6ff734013a68e8a39b52a3e0cc64076084ae8c5e7024684714a9a83fe22a28d7a1be4bfff7b289bfd4b797900e20790c279b0
25
26 diff --git a/dev-python/gmpy/gmpy-2.0.4.ebuild b/dev-python/gmpy/gmpy-2.0.4.ebuild
27 deleted file mode 100644
28 index 67be62398e3..00000000000
29 --- a/dev-python/gmpy/gmpy-2.0.4.ebuild
30 +++ /dev/null
31 @@ -1,59 +0,0 @@
32 -# Copyright 1999-2015 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} )
38 -
39 -inherit distutils-r1
40 -
41 -MY_PN="${PN}2"
42 -MY_P="${MY_PN}-${PV}"
43 -
44 -DESCRIPTION="Python bindings for GMP, MPC, MPFR and MPIR libraries"
45 -HOMEPAGE="https://github.com/aleaxit/gmpy"
46 -SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.zip"
47 -
48 -LICENSE="LGPL-2.1"
49 -SLOT="2"
50 -KEYWORDS="amd64 ~arm ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
51 -IUSE="doc mpir"
52 -
53 -RDEPEND="
54 - >=dev-libs/mpc-1.0.2
55 - >=dev-libs/mpfr-3.1.2
56 - !mpir? ( dev-libs/gmp:0= )
57 - mpir? ( sci-libs/mpir )"
58 -DEPEND="${RDEPEND}
59 - app-arch/unzip
60 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
61 -
62 -S="${WORKDIR}"/${MY_P}
63 -
64 -python_configure_all() {
65 - mydistutilsargs=(
66 - $(usex mpir --mpir --gmp)
67 - )
68 -}
69 -
70 -python_compile() {
71 - if ! python_is_python3; then
72 - local CFLAGS="${CFLAGS} -fno-strict-aliasing"
73 - export CFLAGS
74 - fi
75 - distutils-r1_python_compile
76 -}
77 -
78 -python_compile_all() {
79 - use doc && emake -C docs html
80 -}
81 -
82 -python_test() {
83 - cd test || die
84 - ${PYTHON} runtests.py || die
85 -}
86 -
87 -python_install_all() {
88 - use doc && local HTML_DOCS=( docs/_build/html/. )
89 - distutils-r1_python_install_all
90 -}
91
92 diff --git a/dev-python/gmpy/gmpy-2.0.6.ebuild b/dev-python/gmpy/gmpy-2.0.6.ebuild
93 deleted file mode 100644
94 index 4adf193ace2..00000000000
95 --- a/dev-python/gmpy/gmpy-2.0.6.ebuild
96 +++ /dev/null
97 @@ -1,68 +0,0 @@
98 -# Copyright 1999-2015 Gentoo Foundation
99 -# Distributed under the terms of the GNU General Public License v2
100 -
101 -EAPI=5
102 -
103 -PYTHON_COMPAT=( python{2_7,3_4} )
104 -
105 -inherit distutils-r1
106 -
107 -MY_PN="${PN}2"
108 -MY_P="${MY_PN}-${PV}"
109 -
110 -DESCRIPTION="Python bindings for GMP, MPC, MPFR and MPIR libraries"
111 -HOMEPAGE="https://github.com/aleaxit/gmpy"
112 -SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.zip"
113 -
114 -LICENSE="LGPL-2.1"
115 -SLOT="2"
116 -KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
117 -IUSE="doc mpir"
118 -
119 -RDEPEND="
120 - >=dev-libs/mpc-1.0.2
121 - >=dev-libs/mpfr-3.1.2
122 - !mpir? ( dev-libs/gmp:0= )
123 - mpir? ( sci-libs/mpir )"
124 -DEPEND="${RDEPEND}
125 - app-arch/unzip
126 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
127 -
128 -S="${WORKDIR}"/${MY_P}
129 -
130 -python_prepare_all() {
131 - # rm non std test file
132 - rm test*/gmpy_test_thr.py || die
133 - distutils-r1_python_prepare_all
134 -}
135 -
136 -python_configure_all() {
137 - mydistutilsargs=(
138 - $(usex mpir --mpir --gmp)
139 - )
140 -}
141 -
142 -python_compile() {
143 - python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
144 - distutils-r1_python_compile
145 -}
146 -
147 -python_compile_all() {
148 - use doc && emake -C docs html
149 -}
150 -
151 -python_test() {
152 - cd test || die
153 - "${PYTHON}" runtests.py || die "tests failed under ${EPYTHON}"
154 - if python_is_python3; then
155 - cd ../test3 || die
156 - else
157 - cd ../test2 || die
158 - fi
159 - "${PYTHON}" gmpy_test.py || die "tests failed under ${EPYTHON}"
160 -}
161 -
162 -python_install_all() {
163 - use doc && local HTML_DOCS=( docs/_build/html/. )
164 - distutils-r1_python_install_all
165 -}
166
167 diff --git a/dev-python/gmpy/gmpy-2.0.7.ebuild b/dev-python/gmpy/gmpy-2.0.7.ebuild
168 deleted file mode 100644
169 index f54fe0ab9cf..00000000000
170 --- a/dev-python/gmpy/gmpy-2.0.7.ebuild
171 +++ /dev/null
172 @@ -1,68 +0,0 @@
173 -# Copyright 1999-2016 Gentoo Foundation
174 -# Distributed under the terms of the GNU General Public License v2
175 -
176 -EAPI=5
177 -
178 -PYTHON_COMPAT=( python{2_7,3_4} )
179 -
180 -inherit distutils-r1
181 -
182 -MY_PN="${PN}2"
183 -MY_P="${MY_PN}-${PV}"
184 -
185 -DESCRIPTION="Python bindings for GMP, MPC, MPFR and MPIR libraries"
186 -HOMEPAGE="https://github.com/aleaxit/gmpy"
187 -SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.zip"
188 -
189 -LICENSE="LGPL-2.1"
190 -SLOT="2"
191 -KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
192 -IUSE="doc mpir"
193 -
194 -RDEPEND="
195 - >=dev-libs/mpc-1.0.2
196 - >=dev-libs/mpfr-3.1.2
197 - !mpir? ( dev-libs/gmp:0= )
198 - mpir? ( sci-libs/mpir )"
199 -DEPEND="${RDEPEND}
200 - app-arch/unzip
201 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
202 -
203 -S="${WORKDIR}"/${MY_P}
204 -
205 -python_prepare_all() {
206 - # rm non std test file
207 - rm test*/gmpy_test_thr.py || die
208 - distutils-r1_python_prepare_all
209 -}
210 -
211 -python_configure_all() {
212 - mydistutilsargs=(
213 - $(usex mpir --mpir --gmp)
214 - )
215 -}
216 -
217 -python_compile() {
218 - python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
219 - distutils-r1_python_compile
220 -}
221 -
222 -python_compile_all() {
223 - use doc && emake -C docs html
224 -}
225 -
226 -python_test() {
227 - cd test || die
228 - "${PYTHON}" runtests.py || die "tests failed under ${EPYTHON}"
229 - if python_is_python3; then
230 - cd ../test3 || die
231 - else
232 - cd ../test2 || die
233 - fi
234 - "${PYTHON}" gmpy_test.py || die "tests failed under ${EPYTHON}"
235 -}
236 -
237 -python_install_all() {
238 - use doc && local HTML_DOCS=( docs/_build/html/. )
239 - distutils-r1_python_install_all
240 -}