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/sympy/
Date: Mon, 28 Mar 2016 13:05:23
Message-Id: 1459169720.4c0b20374bb20fbcb26c7bcf656717de9bcbf678.grozin@gentoo
1 commit: 4c0b20374bb20fbcb26c7bcf656717de9bcbf678
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 28 12:55:20 2016 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 28 12:55:20 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c0b2037
7
8 gentoo/dev-python/sympy: cleaning old
9
10 Package-Manager: portage-2.2.28
11
12 dev-python/sympy/sympy-0.7.6.1.ebuild | 97 -----------------------------------
13 dev-python/sympy/sympy-1.0.ebuild | 96 ----------------------------------
14 2 files changed, 193 deletions(-)
15
16 diff --git a/dev-python/sympy/sympy-0.7.6.1.ebuild b/dev-python/sympy/sympy-0.7.6.1.ebuild
17 deleted file mode 100644
18 index 6ae4e9f..0000000
19 --- a/dev-python/sympy/sympy-0.7.6.1.ebuild
20 +++ /dev/null
21 @@ -1,97 +0,0 @@
22 -# Copyright 1999-2016 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -# $Id$
25 -
26 -EAPI=5
27 -
28 -PYTHON_COMPAT=( python{2_7,3_3,3_4} )
29 -
30 -inherit distutils-r1 eutils virtualx
31 -
32 -DESCRIPTION="Computer Algebra System in pure Python"
33 -HOMEPAGE="http://sympy.org"
34 -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz"
35 -
36 -LICENSE="BSD"
37 -SLOT="0"
38 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-macos"
39 -IUSE="doc examples gtk imaging ipython latex mathml opengl pdf png pyglet test texmacs theano"
40 -
41 -REQUIRED_USE="${PYTHON_REQUIRED_USE}
42 - doc? ( || ( $(python_gen_useflags 'python2*') ) )"
43 -
44 -RDEPEND="
45 - $(python_gen_cond_dep '>=dev-python/pexpect-2.0[${PYTHON_USEDEP}]' python2_7)
46 - imaging? ( dev-python/pillow[${PYTHON_USEDEP}] )
47 - ipython? ( dev-python/ipython[${PYTHON_USEDEP}] )
48 - latex? (
49 - virtual/latex-base
50 - dev-texlive/texlive-fontsextra
51 - png? ( app-text/dvipng )
52 - pdf? ( app-text/ghostscript-gpl )
53 - )
54 - mathml? (
55 - dev-libs/libxml2:2[${PYTHON_USEDEP}]
56 - $(python_gen_cond_dep 'dev-libs/libxslt[${PYTHON_USEDEP}]' python2_7)
57 - gtk? ( x11-libs/gtkmathview[gtk] )
58 - )
59 - opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
60 - pyglet? ( $(python_gen_cond_dep 'dev-python/pyglet[${PYTHON_USEDEP}]' python2_7) )
61 - texmacs? ( app-office/texmacs )
62 - theano? ( $(python_gen_cond_dep 'dev-python/theano[${PYTHON_USEDEP}]' python2_7) )
63 -"
64 -
65 -DEPEND="${RDEPEND}
66 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
67 - test? ( ${RDEPEND} dev-python/pytest[${PYTHON_USEDEP}] )"
68 -
69 -pkg_setup() {
70 - use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
71 -}
72 -
73 -python_prepare_all() {
74 - epatch "${FILESDIR}"/${PN}-0.7.6-doc-makefile.patch
75 - epatch "${FILESDIR}"/${P}-sphinx-1.3.1.patch
76 - distutils-r1_python_prepare_all
77 -}
78 -
79 -python_compile() {
80 - PYTHONPATH="." distutils-r1_python_compile
81 -}
82 -
83 -python_compile_all() {
84 - if use doc; then
85 - export XDG_CONFIG_HOME="${T}/config-dir"
86 - mkdir "${XDG_CONFIG_HOME}" || die
87 - chmod 0700 "${XDG_CONFIG_HOME}" || die
88 - emake -j1 -C doc html info cheatsheet
89 - fi
90 -}
91 -
92 -python_test() {
93 - virtx "${PYTHON}" setup.py test
94 -}
95 -
96 -python_install() {
97 - PYTHONPATH="." distutils-r1_python_install
98 -}
99 -
100 -python_install_all() {
101 - local DOCS=( AUTHORS README.rst )
102 - use doc &&\
103 - DOCS+=(
104 - doc/_build/cheatsheet/cheatsheet.pdf
105 - doc/_build/cheatsheet/combinatoric_cheatsheet.pdf
106 - ) && \
107 - local HTML_DOCS=( doc/_build/html/. ) && \
108 - doinfo doc/_build/texinfo/${PN}.info
109 - use examples && local EXAMPLES=( examples/. )
110 - distutils-r1_python_install_all
111 -
112 - if use texmacs; then
113 - exeinto /usr/libexec/TeXmacs/bin/
114 - doexe data/TeXmacs/bin/tm_sympy
115 - insinto /usr/share/TeXmacs/plugins/sympy/
116 - doins -r data/TeXmacs/progs
117 - fi
118 -}
119
120 diff --git a/dev-python/sympy/sympy-1.0.ebuild b/dev-python/sympy/sympy-1.0.ebuild
121 deleted file mode 100644
122 index 757c7d2..0000000
123 --- a/dev-python/sympy/sympy-1.0.ebuild
124 +++ /dev/null
125 @@ -1,96 +0,0 @@
126 -# Copyright 1999-2016 Gentoo Foundation
127 -# Distributed under the terms of the GNU General Public License v2
128 -# $Id$
129 -
130 -EAPI=5
131 -
132 -PYTHON_COMPAT=( python{2_7,3_3,3_4} )
133 -
134 -inherit distutils-r1 eutils virtualx
135 -
136 -DESCRIPTION="Computer Algebra System in pure Python"
137 -HOMEPAGE="http://sympy.org"
138 -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz"
139 -
140 -LICENSE="BSD"
141 -SLOT="0"
142 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-macos"
143 -IUSE="doc examples gtk imaging ipython latex mathml opengl pdf png pyglet test texmacs theano"
144 -
145 -REQUIRED_USE="${PYTHON_REQUIRED_USE}
146 - doc? ( || ( $(python_gen_useflags 'python2*') ) )"
147 -
148 -RDEPEND="dev-python/mpmath[${PYTHON_USEDEP}]
149 - $(python_gen_cond_dep '>=dev-python/pexpect-2.0[${PYTHON_USEDEP}]' python2_7)
150 - imaging? ( dev-python/pillow[${PYTHON_USEDEP}] )
151 - ipython? ( dev-python/ipython[${PYTHON_USEDEP}] )
152 - latex? (
153 - virtual/latex-base
154 - dev-texlive/texlive-fontsextra
155 - png? ( app-text/dvipng )
156 - pdf? ( app-text/ghostscript-gpl )
157 - )
158 - mathml? (
159 - dev-libs/libxml2:2[${PYTHON_USEDEP}]
160 - $(python_gen_cond_dep 'dev-libs/libxslt[${PYTHON_USEDEP}]' python2_7)
161 - gtk? ( x11-libs/gtkmathview[gtk] )
162 - )
163 - opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
164 - pyglet? ( $(python_gen_cond_dep 'dev-python/pyglet[${PYTHON_USEDEP}]' python2_7) )
165 - texmacs? ( app-office/texmacs )
166 - theano? ( $(python_gen_cond_dep 'dev-python/theano[${PYTHON_USEDEP}]' python2_7) )
167 -"
168 -
169 -DEPEND="${RDEPEND}
170 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
171 - test? ( ${RDEPEND} dev-python/pytest[${PYTHON_USEDEP}] )"
172 -
173 -pkg_setup() {
174 - use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
175 -}
176 -
177 -python_prepare_all() {
178 - epatch "${FILESDIR}"/${P}-doc-makefile.patch
179 - epatch "${FILESDIR}"/${PN}-0.7.6.1-zeta.patch
180 - distutils-r1_python_prepare_all
181 -}
182 -
183 -python_compile() {
184 - PYTHONPATH="." distutils-r1_python_compile
185 -}
186 -
187 -python_compile_all() {
188 - if use doc; then
189 - export XDG_CONFIG_HOME="${T}/config-dir"
190 - mkdir "${XDG_CONFIG_HOME}" || die
191 - chmod 0700 "${XDG_CONFIG_HOME}" || die
192 - emake -j1 -C doc html info man cheatsheet
193 - fi
194 -}
195 -
196 -python_test() {
197 - virtx "${PYTHON}" setup.py test
198 -}
199 -
200 -python_install() {
201 - PYTHONPATH="." distutils-r1_python_install
202 -}
203 -
204 -python_install_all() {
205 - local DOCS=( AUTHORS README.rst )
206 - if use doc; then
207 - DOCS+=( doc/_build/cheatsheet/cheatsheet.pdf \
208 - doc/_build/cheatsheet/combinatoric_cheatsheet.pdf )
209 - local HTML_DOCS=( doc/_build/html/. )
210 - doinfo doc/_build/texinfo/${PN}.info
211 - fi
212 - use examples && local EXAMPLES=( examples/. )
213 - distutils-r1_python_install_all
214 -
215 - if use texmacs; then
216 - exeinto /usr/libexec/TeXmacs/bin/
217 - doexe data/TeXmacs/bin/tm_sympy
218 - insinto /usr/share/TeXmacs/plugins/sympy/
219 - doins -r data/TeXmacs/progs
220 - fi
221 -}