1 |
bicatali 14/02/03 01:56:57 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: sympy-0.7.4.1.ebuild |
5 |
Removed: sympy-0.7.2-r1.ebuild sympy-0.6.7.ebuild |
6 |
sympy-0.7.1.ebuild sympy-0.7.2.ebuild |
7 |
sympy-0.7.0.ebuild |
8 |
Log: |
9 |
Version bump and cleanup, reworked tests, forced system mpmath dependency |
10 |
|
11 |
(Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360) |
12 |
|
13 |
Revision Changes Path |
14 |
1.5 dev-python/sympy/metadata.xml |
15 |
|
16 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sympy/metadata.xml?rev=1.5&view=markup |
17 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sympy/metadata.xml?rev=1.5&content-type=text/plain |
18 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sympy/metadata.xml?r1=1.4&r2=1.5 |
19 |
|
20 |
Index: metadata.xml |
21 |
=================================================================== |
22 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/sympy/metadata.xml,v |
23 |
retrieving revision 1.4 |
24 |
retrieving revision 1.5 |
25 |
diff -u -r1.4 -r1.5 |
26 |
--- metadata.xml 15 Oct 2013 18:17:35 -0000 1.4 |
27 |
+++ metadata.xml 3 Feb 2014 01:56:57 -0000 1.5 |
28 |
@@ -1,18 +1,29 @@ |
29 |
<?xml version="1.0" encoding="UTF-8"?> |
30 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
31 |
<pkgmetadata> |
32 |
- <herd>sci-mathematics</herd> |
33 |
- <maintainer> |
34 |
- <email>grozin@g.o</email> |
35 |
- <name>Andrey Grozin</name> |
36 |
- </maintainer> |
37 |
- <longdescription>Computer algebra system (CAS) in Python</longdescription> |
38 |
- <use> |
39 |
- <flag name="ipython">Add support for <pkg>dev-python/ipython</pkg></flag> |
40 |
- <flag name="imaging">Add support for <pkg>dev-python/imaging</pkg></flag> |
41 |
- <flag name="mathml">Add support for mathml</flag> |
42 |
- <flag name="pyglet">Use <pkg>dev-python/pyglet</pkg> for plots and print preview</flag> |
43 |
- <flag name="texmacs">Add <pkg>app-office/texmacs</pkg> interface</flag> |
44 |
- <flag name="system-mpmath">Use mpmath from portage instead of the bundled one</flag> |
45 |
- </use> |
46 |
+<herd>sci-mathematics</herd> |
47 |
+<maintainer> |
48 |
+ <email>grozin@g.o</email> |
49 |
+ <name>Andrey Grozin</name> |
50 |
+</maintainer> |
51 |
+<longdescription> |
52 |
+ SymPy is a Python library for symbolic mathematics (manipulation). It |
53 |
+ aims to become a full-featured computer algebra system (CAS) while keeping |
54 |
+ the code as simple as possible in order to be comprehensible and easily |
55 |
+ extensible. SymPy is written entirely in Python and does not require |
56 |
+ any external libraries, except optionally for plotting support. |
57 |
+</longdescription> |
58 |
+<use> |
59 |
+ <flag name="ipython">Add support for <pkg>dev-python/ipython</pkg></flag> |
60 |
+ <flag name="imaging">Add support for <pkg>dev-python/imaging</pkg></flag> |
61 |
+ <flag name="mathml">Add support for mathml</flag> |
62 |
+ <flag name="pyglet">Use <pkg>dev-python/pyglet</pkg> for plots and print preview</flag> |
63 |
+ <flag name="texmacs">Add <pkg>app-office/texmacs</pkg> |
64 |
+ interface</flag> |
65 |
+ <flag name="theano">Add support for <pkg>dev-python/theano</pkg></flag> |
66 |
+ <flag name="system-mpmath">Use mpmath from portage instead of the bundled one</flag> |
67 |
+</use> |
68 |
+<upstream> |
69 |
+ <remote-id type="pypi">sympy</remote-id> |
70 |
+</upstream> |
71 |
</pkgmetadata> |
72 |
|
73 |
|
74 |
|
75 |
1.28 dev-python/sympy/ChangeLog |
76 |
|
77 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sympy/ChangeLog?rev=1.28&view=markup |
78 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sympy/ChangeLog?rev=1.28&content-type=text/plain |
79 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sympy/ChangeLog?r1=1.27&r2=1.28 |
80 |
|
81 |
Index: ChangeLog |
82 |
=================================================================== |
83 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/sympy/ChangeLog,v |
84 |
retrieving revision 1.27 |
85 |
retrieving revision 1.28 |
86 |
diff -u -r1.27 -r1.28 |
87 |
--- ChangeLog 28 Dec 2013 20:31:19 -0000 1.27 |
88 |
+++ ChangeLog 3 Feb 2014 01:56:57 -0000 1.28 |
89 |
@@ -1,6 +1,15 @@ |
90 |
# ChangeLog for dev-python/sympy |
91 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
92 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sympy/ChangeLog,v 1.27 2013/12/28 20:31:19 jlec Exp $ |
93 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
94 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sympy/ChangeLog,v 1.28 2014/02/03 01:56:57 bicatali Exp $ |
95 |
+ |
96 |
+*sympy-0.7.4.1 (03 Feb 2014) |
97 |
+ |
98 |
+ 03 Feb 2014; Sébastien Fabbro <bicatali@g.o> +sympy-0.7.4.1.ebuild, |
99 |
+ -files/sympy-0.6.6-sphinx.patch, -files/sympy-0.6.7-python-2.7.patch, |
100 |
+ -files/sympy-0.7.1-mpmath.patch, -files/sympy-0.7.2-mpmath.patch, |
101 |
+ -sympy-0.6.7.ebuild, -sympy-0.7.0.ebuild, -sympy-0.7.1.ebuild, |
102 |
+ -sympy-0.7.2-r1.ebuild, -sympy-0.7.2.ebuild, metadata.xml: |
103 |
+ Version bump and cleanup, reworked tests, forced system mpmath dependency |
104 |
|
105 |
28 Dec 2013; Justin Lecher <jlec@g.o> sympy-0.7.3.ebuild: |
106 |
Add workaround for XDG_CONFIG_HOME problems, #488378 |
107 |
|
108 |
|
109 |
|
110 |
1.1 dev-python/sympy/sympy-0.7.4.1.ebuild |
111 |
|
112 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sympy/sympy-0.7.4.1.ebuild?rev=1.1&view=markup |
113 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sympy/sympy-0.7.4.1.ebuild?rev=1.1&content-type=text/plain |
114 |
|
115 |
Index: sympy-0.7.4.1.ebuild |
116 |
=================================================================== |
117 |
# Copyright 1999-2014 Gentoo Foundation |
118 |
# Distributed under the terms of the GNU General Public License v2 |
119 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/sympy/sympy-0.7.4.1.ebuild,v 1.1 2014/02/03 01:56:57 bicatali Exp $ |
120 |
|
121 |
EAPI=5 |
122 |
|
123 |
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) |
124 |
|
125 |
inherit distutils-r1 eutils virtualx |
126 |
|
127 |
DESCRIPTION="Computer Algebra System in pure Python" |
128 |
HOMEPAGE="http://sympy.org" |
129 |
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz |
130 |
http://dev.gentoo.org/~bicatali/distfiles/${P}-system-mpmath.patch.gz" |
131 |
|
132 |
LICENSE="BSD" |
133 |
SLOT="0" |
134 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-macos" |
135 |
IUSE="doc examples gtk imaging ipython latex mathml opengl pdf png pyglet test texmacs theano" |
136 |
|
137 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
138 |
|
139 |
RDEPEND=" |
140 |
>=dev-python/mpmath-0.18[${PYTHON_USEDEP}] |
141 |
>=dev-python/pexpect-2.0[python_targets_python2_6?,python_targets_python2_7?] |
142 |
imaging? ( virtual/python-imaging[${PYTHON_USEDEP}] ) |
143 |
ipython? ( dev-python/ipython[${PYTHON_USEDEP}] ) |
144 |
latex? ( |
145 |
virtual/latex-base |
146 |
dev-texlive/texlive-fontsextra |
147 |
png? ( app-text/dvipng ) |
148 |
pdf? ( app-text/ghostscript-gpl ) |
149 |
) |
150 |
mathml? ( |
151 |
dev-libs/libxml2:2[${PYTHON_USEDEP}] |
152 |
dev-libs/libxslt[python_targets_python2_6?,python_targets_python2_7?] |
153 |
gtk? ( x11-libs/gtkmathview[gtk] ) |
154 |
) |
155 |
opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) |
156 |
pyglet? ( dev-python/pyglet[python_targets_python2_6?,python_targets_python2_7?] ) |
157 |
texmacs? ( app-office/texmacs ) |
158 |
theano? ( dev-python/theano[python_targets_python2_6?,python_targets_python2_7?] ) |
159 |
" |
160 |
|
161 |
DEPEND="${RDEPEND} |
162 |
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
163 |
test? ( ${RDEPEND} dev-python/pytest[${PYTHON_USEDEP}] )" |
164 |
|
165 |
PATCHES=( "${WORKDIR}"/${P}-system-mpmath.patch ) |
166 |
|
167 |
python_prepare() { |
168 |
rm -r sympy/mpmath doc/src/modules/mpmath || die |
169 |
} |
170 |
|
171 |
python_compile() { |
172 |
PYTHONPATH="." distutils-r1_python_compile |
173 |
} |
174 |
|
175 |
python_compile_all() { |
176 |
if use doc; then |
177 |
export XDG_CONFIG_HOME="${T}/config-dir" |
178 |
mkdir "${XDG_CONFIG_HOME}" || die |
179 |
chmod 0700 "${XDG_CONFIG_HOME}" || die |
180 |
emake -C doc html cheatsheet |
181 |
fi |
182 |
} |
183 |
|
184 |
python_test() { |
185 |
VIRTUALX_COMMAND="./setup.py" virtualmake test |
186 |
} |
187 |
|
188 |
python_install() { |
189 |
PYTHONPATH="." distutils-r1_python_install |
190 |
} |
191 |
|
192 |
python_install_all() { |
193 |
use doc && local HTML_DOCS=( doc/_build/. ) && \ |
194 |
dodoc doc/_build/cheatsheet/cheatsheet.pdf |
195 |
use examples && local EXAMPLES=( examples/. ) |
196 |
distutils-r1_python_install_all |
197 |
|
198 |
if use texmacs; then |
199 |
exeinto /usr/libexec/TeXmacs/bin/ |
200 |
doexe data/TeXmacs/bin/tm_sympy |
201 |
insinto /usr/share/TeXmacs/plugins/sympy/ |
202 |
doins -r data/TeXmacs/progs |
203 |
fi |
204 |
} |