1 |
commit: c94a7f4e726be6cc2c3521f8149cb1df444f1932 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 19 06:12:26 2018 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 19 06:12:26 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c94a7f4e |
7 |
|
8 |
dev-python/sympy: cleaning old |
9 |
|
10 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
11 |
|
12 |
dev-python/sympy/Manifest | 2 - |
13 |
.../sympy/files/sympy-0.7.6-doc-makefile.patch | 10 --- |
14 |
.../sympy/files/sympy-0.7.6.1-sphinx-1.3.1.patch | 65 --------------- |
15 |
dev-python/sympy/files/sympy-0.7.6.1-zeta.patch | 32 ------- |
16 |
dev-python/sympy/sympy-0.7.6.1-r1.ebuild | 97 ---------------------- |
17 |
dev-python/sympy/sympy-1.1.ebuild | 89 -------------------- |
18 |
6 files changed, 295 deletions(-) |
19 |
|
20 |
diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest |
21 |
index faec75c8784..d29867c4cc9 100644 |
22 |
--- a/dev-python/sympy/Manifest |
23 |
+++ b/dev-python/sympy/Manifest |
24 |
@@ -1,4 +1,2 @@ |
25 |
-DIST sympy-0.7.6.1.tar.gz 6431571 BLAKE2B 07d209ec06128ce903d14b5d111f44e52c44c5dda1acafc4eecc5fe7c2b408dc6def0a893100b8e2e0ce3e8281232b0405fa48c4f6c988827c0324a9ea7e6126 SHA512 18877abd3c530418e4f4942cbb0a03140dc81e5a1004720c472fb97cf8eaa41acca59765f6278715ea88bcd0cd07ad5952863a0d1b6e6d00994d257e8c0a6574 |
26 |
DIST sympy-1.0.tar.gz 4281528 BLAKE2B b222be6ec486a01ac73e9778a7423aab45e368386003de965308cfa4e08fef07b64046f62ef707b6fa124ee6367fb051b9722e138bfe2eae4661f9e2a66c2365 SHA512 977db6e9bc6a5918cceb255981a57e85e7060c0922aefd2968b004d25d704e25a5cb5bbe09eb387e8695581e23e2825d9c40310068fe25ece7e9c23037a21f39 |
27 |
DIST sympy-1.1.1.tar.gz 4580952 BLAKE2B 81e5c7d0f80916ced5532f8e5ed3bd04f919b8acb17037237faf9d59cdf73a3a8f741086213fd2aa5a610caf88ae0781c83a0345b71945d69149075b23f09a85 SHA512 ff8857fd5810795554ca4f636b2d8e633057d7ea7df76461003d823ecbaddc98cde0561eb79a1058741c5ece233c13bfcb5e30d5bfb8ac6dbab3d05d8226f92b |
28 |
-DIST sympy-1.1.tar.gz 4579454 BLAKE2B 8288c958dffb1f719b4e7ecf49928feb935284f634257561124ee6b34866c3b4dfaa7bdbbeb0f4fc3c9e92ecc28b09406cea3d2aff1a8d9df69bac730c17ca29 SHA512 4129752778b50fbc08180fe413d2109ad418b54b79caea461b9a6cf6856ab4f50ce95df6131b07791ed633c840648aa7c4dd130ab3f1cbb1e03e7346e995747b |
29 |
|
30 |
diff --git a/dev-python/sympy/files/sympy-0.7.6-doc-makefile.patch b/dev-python/sympy/files/sympy-0.7.6-doc-makefile.patch |
31 |
deleted file mode 100644 |
32 |
index b4beca8c2a1..00000000000 |
33 |
--- a/dev-python/sympy/files/sympy-0.7.6-doc-makefile.patch |
34 |
+++ /dev/null |
35 |
@@ -1,10 +0,0 @@ |
36 |
-diff -r -U2 sympy-0.7.6.orig/doc/Makefile sympy-0.7.6/doc/Makefile |
37 |
---- sympy-0.7.6.orig/doc/Makefile 2014-11-21 02:00:41.000000000 +0600 |
38 |
-+++ sympy-0.7.6/doc/Makefile 2014-12-07 20:49:01.091613474 +0600 |
39 |
-@@ -118,5 +118,5 @@ |
40 |
- pdflatex -output-directory=_build/cheatsheet cheatsheet/cheatsheet.tex |
41 |
- |
42 |
--_build/cheatsheet/cheatsheet.pdf: cheatsheet/combinatoric_cheatsheet.tex |
43 |
-+_build/cheatsheet/combinatoric_cheatsheet.pdf: cheatsheet/combinatoric_cheatsheet.tex |
44 |
- mkdir -p _build/cheatsheet |
45 |
- pdflatex -output-directory=_build/cheatsheet cheatsheet/combinatoric_cheatsheet.tex |
46 |
|
47 |
diff --git a/dev-python/sympy/files/sympy-0.7.6.1-sphinx-1.3.1.patch b/dev-python/sympy/files/sympy-0.7.6.1-sphinx-1.3.1.patch |
48 |
deleted file mode 100644 |
49 |
index c3b20827016..00000000000 |
50 |
--- a/dev-python/sympy/files/sympy-0.7.6.1-sphinx-1.3.1.patch |
51 |
+++ /dev/null |
52 |
@@ -1,65 +0,0 @@ |
53 |
-commit d3d3bd01bc5f625055bfa7247efc1e8cdeef0b33 |
54 |
-Author: Aaditya M Nair <aadityanair6494@×××××.com> |
55 |
-Date: Tue Apr 14 16:30:01 2015 +0530 |
56 |
- |
57 |
- Doc creation now compatible with sphinx 1.3.1. Closes sympy/sympy#9273. |
58 |
- |
59 |
- New version of sphinx renamed the `default` theme to `classic` theme. |
60 |
- Corrected by defining all variables inside the .css file. |
61 |
- |
62 |
-diff --git a/doc/src/_static/default.css_t b/doc/src/_static/default.css_t |
63 |
-index 6165d8b..c2d8489 100644 |
64 |
---- a/doc/src/_static/default.css_t |
65 |
-+++ b/doc/src/_static/default.css_t |
66 |
-@@ -13,6 +13,23 @@ |
67 |
- |
68 |
- /* -- page layout ----------------------------------------------------------- */ |
69 |
- |
70 |
-+{% set theme_collapsiblesidebar = True %} |
71 |
-+{% set theme_relbarbgcolor = '#2f441e' %} |
72 |
-+{% set theme_sidebarbgcolor = '#3b5526' %} |
73 |
-+{% set theme_sidebarbtncolor = '#4F663C' %} |
74 |
-+{% set theme_sidebarlinkcolor = '#81B953' %} |
75 |
-+{% set theme_linkcolor = '#29A329' %} |
76 |
-+{% set theme_visitedlinkcolor = '#307748' %} |
77 |
-+{% set theme_headtextcolor = '#2f441e' %} |
78 |
-+{% set theme_footerbgcolor = '#293b1b' %} |
79 |
-+{% set theme_headlinkcolor = '#AAAAAA' %} |
80 |
-+{% set theme_sidebartextcolor = '#DDDDDD' %} |
81 |
-+{% set theme_footertextcolor = '#DDDDDD' %} |
82 |
-+{% set theme_relbartextcolor = '#DDDDDD' %} |
83 |
-+{% set theme_relbarlinkcolor = '#81B953' %} |
84 |
-+{% set theme_bgcolor = '#FFFFFF' %} |
85 |
-+ |
86 |
-+ |
87 |
- body { |
88 |
- font-family: {{ theme_bodyfont }}; |
89 |
- font-size: 100%; |
90 |
-diff --git a/doc/src/conf.py b/doc/src/conf.py |
91 |
-index 2c1d302..97837e3 100644 |
92 |
---- a/doc/src/conf.py |
93 |
-+++ b/doc/src/conf.py |
94 |
-@@ -96,22 +96,7 @@ |
95 |
- html_logo = '_static/sympylogo.png' |
96 |
- html_favicon = '../_build/logo/sympy-notailtext-favicon.ico' |
97 |
- # See http://sphinx-doc.org/theming.html#builtin-themes. |
98 |
--html_theme_options = { |
99 |
-- 'collapsiblesidebar': True, |
100 |
-- 'relbarbgcolor': '#2f441e', |
101 |
-- 'sidebarbgcolor': '#3b5526', |
102 |
-- 'sidebarbtncolor': '#4F663C', |
103 |
-- 'sidebarlinkcolor': '#81B953', |
104 |
-- 'linkcolor': '#29A329', |
105 |
-- 'visitedlinkcolor': '#307748', |
106 |
-- 'headtextcolor': '#2f441e', |
107 |
-- 'footerbgcolor': '#293b1b', |
108 |
-- 'headlinkcolor': '#AAAAAA', |
109 |
-- 'sidebartextcolor': '#DDDDDD', |
110 |
-- 'footertextcolor': '#DDDDDD', |
111 |
-- 'relbartextcolor': '#DDDDDD', |
112 |
-- 'relbarlinkcolor': '#81B953', |
113 |
--} |
114 |
-+ |
115 |
- |
116 |
- # If true, SmartyPants will be used to convert quotes and dashes to |
117 |
- # typographically correct entities. |
118 |
|
119 |
diff --git a/dev-python/sympy/files/sympy-0.7.6.1-zeta.patch b/dev-python/sympy/files/sympy-0.7.6.1-zeta.patch |
120 |
deleted file mode 100644 |
121 |
index ffb85f9feb1..00000000000 |
122 |
--- a/dev-python/sympy/files/sympy-0.7.6.1-zeta.patch |
123 |
+++ /dev/null |
124 |
@@ -1,32 +0,0 @@ |
125 |
-diff -r -U1 sympy-0.7.6.1.orig/sympy/functions/special/zeta_functions.py sympy-0.7.6.1/sympy/functions/special/zeta_functions.py |
126 |
---- sympy-0.7.6.1.orig/sympy/functions/special/zeta_functions.py 2015-09-04 02:34:00.000000000 +0600 |
127 |
-+++ sympy-0.7.6.1/sympy/functions/special/zeta_functions.py 2015-12-01 11:27:24.000000000 +0600 |
128 |
-@@ -243,3 +243,3 @@ |
129 |
- >>> polylog(s, -1) |
130 |
-- dirichlet_eta(s) |
131 |
-+ -dirichlet_eta(s) |
132 |
- |
133 |
-@@ -270,2 +270,3 @@ |
134 |
- def eval(cls, s, z): |
135 |
-+ from sympy import unpolarify |
136 |
- if z == 1: |
137 |
-@@ -273,6 +274,12 @@ |
138 |
- elif z == -1: |
139 |
-- return dirichlet_eta(s) |
140 |
-+ return -dirichlet_eta(s) |
141 |
- elif z == 0: |
142 |
-- return 0 |
143 |
-+ return S.Zero |
144 |
- |
145 |
-+ # branch handling |
146 |
-+ if (1 - abs(z)).is_nonnegative: |
147 |
-+ newz = unpolarify(z) |
148 |
-+ if newz != z: |
149 |
-+ return cls(s, newz) |
150 |
-+ |
151 |
- def fdiff(self, argindex=1): |
152 |
-@@ -479,3 +486,3 @@ |
153 |
- |
154 |
-- .. math:: \eta(s) = \sum_{n=1}^\infty \frac{(-1)^n}{n^s}. |
155 |
-+ .. math:: \eta(s) = \sum_{n=1}^\infty \frac{(-1)^{n-1}}{n^s}. |
156 |
- |
157 |
|
158 |
diff --git a/dev-python/sympy/sympy-0.7.6.1-r1.ebuild b/dev-python/sympy/sympy-0.7.6.1-r1.ebuild |
159 |
deleted file mode 100644 |
160 |
index 4a3641dbee9..00000000000 |
161 |
--- a/dev-python/sympy/sympy-0.7.6.1-r1.ebuild |
162 |
+++ /dev/null |
163 |
@@ -1,97 +0,0 @@ |
164 |
-# Copyright 1999-2018 Gentoo Foundation |
165 |
-# Distributed under the terms of the GNU General Public License v2 |
166 |
- |
167 |
-EAPI=5 |
168 |
- |
169 |
-PYTHON_COMPAT=( python{2_7,3_4} ) |
170 |
- |
171 |
-inherit distutils-r1 eutils virtualx |
172 |
- |
173 |
-DESCRIPTION="Computer Algebra System in pure Python" |
174 |
-HOMEPAGE="https://sympy.org" |
175 |
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz" |
176 |
- |
177 |
-LICENSE="BSD" |
178 |
-SLOT="0" |
179 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-macos" |
180 |
-IUSE="doc examples gtk imaging ipython latex mathml opengl pdf png pyglet test texmacs theano" |
181 |
- |
182 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} |
183 |
- doc? ( || ( $(python_gen_useflags 'python2*') ) )" |
184 |
- |
185 |
-RDEPEND=" |
186 |
- $(python_gen_cond_dep '>=dev-python/pexpect-2.0[${PYTHON_USEDEP}]' python2_7) |
187 |
- imaging? ( dev-python/pillow[${PYTHON_USEDEP}] ) |
188 |
- ipython? ( dev-python/ipython[${PYTHON_USEDEP}] ) |
189 |
- latex? ( |
190 |
- virtual/latex-base |
191 |
- dev-texlive/texlive-fontsextra |
192 |
- png? ( app-text/dvipng ) |
193 |
- pdf? ( app-text/ghostscript-gpl ) |
194 |
- ) |
195 |
- mathml? ( |
196 |
- dev-libs/libxml2:2[${PYTHON_USEDEP}] |
197 |
- $(python_gen_cond_dep 'dev-libs/libxslt[${PYTHON_USEDEP}]' python2_7) |
198 |
- gtk? ( x11-libs/gtkmathview[gtk] ) |
199 |
- ) |
200 |
- opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) |
201 |
- pyglet? ( $(python_gen_cond_dep 'dev-python/pyglet[${PYTHON_USEDEP}]' python2_7) ) |
202 |
- texmacs? ( app-office/texmacs ) |
203 |
- theano? ( $(python_gen_cond_dep 'dev-python/theano[${PYTHON_USEDEP}]' python2_7) ) |
204 |
-" |
205 |
- |
206 |
-DEPEND="${RDEPEND} |
207 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
208 |
- test? ( ${RDEPEND} dev-python/pytest[${PYTHON_USEDEP}] )" |
209 |
- |
210 |
-pkg_setup() { |
211 |
- use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' ) |
212 |
-} |
213 |
- |
214 |
-python_prepare_all() { |
215 |
- epatch "${FILESDIR}"/${PN}-0.7.6-doc-makefile.patch |
216 |
- epatch "${FILESDIR}"/${P}-sphinx-1.3.1.patch |
217 |
- epatch "${FILESDIR}"/${P}-zeta.patch |
218 |
- distutils-r1_python_prepare_all |
219 |
-} |
220 |
- |
221 |
-python_compile() { |
222 |
- PYTHONPATH="." distutils-r1_python_compile |
223 |
-} |
224 |
- |
225 |
-python_compile_all() { |
226 |
- if use doc; then |
227 |
- export XDG_CONFIG_HOME="${T}/config-dir" |
228 |
- mkdir "${XDG_CONFIG_HOME}" || die |
229 |
- chmod 0700 "${XDG_CONFIG_HOME}" || die |
230 |
- emake -j1 -C doc html info cheatsheet |
231 |
- fi |
232 |
-} |
233 |
- |
234 |
-python_test() { |
235 |
- virtx "${PYTHON}" setup.py test |
236 |
-} |
237 |
- |
238 |
-python_install() { |
239 |
- PYTHONPATH="." distutils-r1_python_install |
240 |
-} |
241 |
- |
242 |
-python_install_all() { |
243 |
- local DOCS=( AUTHORS README.rst ) |
244 |
- use doc &&\ |
245 |
- DOCS+=( |
246 |
- doc/_build/cheatsheet/cheatsheet.pdf |
247 |
- doc/_build/cheatsheet/combinatoric_cheatsheet.pdf |
248 |
- ) && \ |
249 |
- local HTML_DOCS=( doc/_build/html/. ) && \ |
250 |
- doinfo doc/_build/texinfo/${PN}.info |
251 |
- use examples && local EXAMPLES=( examples/. ) |
252 |
- distutils-r1_python_install_all |
253 |
- |
254 |
- if use texmacs; then |
255 |
- exeinto /usr/libexec/TeXmacs/bin/ |
256 |
- doexe data/TeXmacs/bin/tm_sympy |
257 |
- insinto /usr/share/TeXmacs/plugins/sympy/ |
258 |
- doins -r data/TeXmacs/progs |
259 |
- fi |
260 |
-} |
261 |
|
262 |
diff --git a/dev-python/sympy/sympy-1.1.ebuild b/dev-python/sympy/sympy-1.1.ebuild |
263 |
deleted file mode 100644 |
264 |
index b0780f654b5..00000000000 |
265 |
--- a/dev-python/sympy/sympy-1.1.ebuild |
266 |
+++ /dev/null |
267 |
@@ -1,89 +0,0 @@ |
268 |
-# Copyright 1999-2018 Gentoo Foundation |
269 |
-# Distributed under the terms of the GNU General Public License v2 |
270 |
- |
271 |
-EAPI=6 |
272 |
- |
273 |
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
274 |
- |
275 |
-inherit distutils-r1 eutils virtualx |
276 |
- |
277 |
-DESCRIPTION="Computer Algebra System in pure Python" |
278 |
-HOMEPAGE="https://sympy.org" |
279 |
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz" |
280 |
- |
281 |
-LICENSE="BSD" |
282 |
-SLOT="0" |
283 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
284 |
-IUSE="doc examples gtk imaging ipython latex mathml opengl pdf png pyglet symengine test texmacs theano" |
285 |
- |
286 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} |
287 |
- doc? ( || ( $(python_gen_useflags 'python2*') ) )" |
288 |
- |
289 |
-RDEPEND="dev-python/mpmath[${PYTHON_USEDEP}] |
290 |
- dev-python/pexpect[${PYTHON_USEDEP}] |
291 |
- imaging? ( dev-python/pillow[${PYTHON_USEDEP}] ) |
292 |
- ipython? ( dev-python/ipython[${PYTHON_USEDEP}] ) |
293 |
- latex? ( |
294 |
- virtual/latex-base |
295 |
- dev-texlive/texlive-fontsextra |
296 |
- png? ( app-text/dvipng ) |
297 |
- pdf? ( app-text/ghostscript-gpl ) |
298 |
- ) |
299 |
- mathml? ( |
300 |
- dev-libs/libxml2:2[${PYTHON_USEDEP}] |
301 |
- $(python_gen_cond_dep 'dev-libs/libxslt[${PYTHON_USEDEP}]' python2_7) |
302 |
- gtk? ( x11-libs/gtkmathview[gtk] ) |
303 |
- ) |
304 |
- opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) |
305 |
- pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] ) |
306 |
- symengine? ( dev-python/symengine[${PYTHON_USEDEP}] ) |
307 |
- texmacs? ( app-office/texmacs ) |
308 |
- theano? ( dev-python/theano[${PYTHON_USEDEP}] ) |
309 |
-" |
310 |
- |
311 |
-DEPEND="${RDEPEND} |
312 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] app-text/docbook2X ) |
313 |
- test? ( ${RDEPEND} dev-python/pytest[${PYTHON_USEDEP}] )" |
314 |
- |
315 |
-PATCHES=( |
316 |
- "${FILESDIR}"/${PN}-1.0-doc-makefile.patch |
317 |
-) |
318 |
- |
319 |
-pkg_setup() { |
320 |
- use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' ) |
321 |
-} |
322 |
- |
323 |
-python_compile_all() { |
324 |
- if use doc; then |
325 |
- export XDG_CONFIG_HOME="${T}/config-dir" |
326 |
- mkdir "${XDG_CONFIG_HOME}" || die |
327 |
- chmod 0700 "${XDG_CONFIG_HOME}" || die |
328 |
- emake -j1 -C doc html info man cheatsheet |
329 |
- fi |
330 |
-} |
331 |
- |
332 |
-python_test() { |
333 |
- virtx "${PYTHON}" setup.py test |
334 |
-} |
335 |
- |
336 |
-python_install_all() { |
337 |
- local DOCS=( AUTHORS README.rst ) |
338 |
- if use doc; then |
339 |
- DOCS+=( doc/_build/cheatsheet/cheatsheet.pdf \ |
340 |
- doc/_build/cheatsheet/combinatoric_cheatsheet.pdf ) |
341 |
- local HTML_DOCS=( doc/_build/html/. ) |
342 |
- doinfo doc/_build/texinfo/${PN}.info |
343 |
- fi |
344 |
- if use examples; then |
345 |
- dodoc -r examples |
346 |
- docompress -x /usr/share/doc/${PF}/examples |
347 |
- fi |
348 |
- distutils-r1_python_install_all |
349 |
- |
350 |
- if use texmacs; then |
351 |
- exeinto /usr/libexec/TeXmacs/bin/ |
352 |
- doexe data/TeXmacs/bin/tm_sympy |
353 |
- insinto /usr/share/TeXmacs/plugins/sympy/ |
354 |
- doins -r data/TeXmacs/progs |
355 |
- fi |
356 |
-} |