diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/sympy/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/sympy/sympy-0.7.0.ebuild | 68 |
2 files changed, 74 insertions, 1 deletions
diff --git a/dev-python/sympy/ChangeLog b/dev-python/sympy/ChangeLog index 0bddcfa4ae69..5293370e02f8 100644 --- a/dev-python/sympy/ChangeLog +++ b/dev-python/sympy/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/sympy # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sympy/ChangeLog,v 1.13 2011/03/07 13:20:25 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sympy/ChangeLog,v 1.14 2011/06/29 17:04:42 grozin Exp $ + +*sympy-0.7.0 (29 Jun 2011) + + 29 Jun 2011; Andrey Grozin <grozin@gentoo.org> +sympy-0.7.0.ebuild: + Version bump 07 Mar 2011; Justin Lecher <jlec@gentoo.org> sympy-0.6.7.ebuild: Correct Slots for gtk 3 introduction to tree diff --git a/dev-python/sympy/sympy-0.7.0.ebuild b/dev-python/sympy/sympy-0.7.0.ebuild new file mode 100644 index 000000000000..4065a4fafd96 --- /dev/null +++ b/dev-python/sympy/sympy-0.7.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sympy/sympy-0.7.0.ebuild,v 1.1 2011/06/29 17:04:42 grozin Exp $ + +EAPI="3" + +PYTHON_DEPEND="2:2.5" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.4 3.*" +DISTUTILS_SRC_TEST="setup.py" + +inherit distutils eutils + +DESCRIPTION="Computer algebra system (CAS) in Python" +HOMEPAGE="http://code.google.com/p/sympy/" +SRC_URI="http://sympy.googlecode.com/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc examples gtk imaging ipython latex mathml opengl pdf png test texmacs" + +RDEPEND=" + mathml? ( + dev-libs/libxml2:2[python] + dev-libs/libxslt[python] + gtk? ( x11-libs/gtkmathview[gtk] ) ) + latex? ( + virtual/latex-base + png? ( app-text/dvipng ) + pdf? ( app-text/ghostscript-gpl ) ) + texmacs? ( app-office/texmacs ) + ipython? ( dev-python/ipython ) + opengl? ( dev-python/pyopengl ) + imaging? ( dev-python/imaging ) + >=dev-python/pexpect-2.0" +DEPEND="doc? ( dev-python/sphinx )" + +src_compile() { + distutils_src_compile + + if use doc; then + cd doc + emake html || die "emake html failed" + fi +} + +src_install() { + distutils_src_install + + rm -f "${ED}usr/bin/"{doctest,test} || die "rm doctest test failed" + + if use doc; then + dohtml -r doc/_build/html/* + fi + + if use examples; then + insinto /usr/share/doc/${P} + doins -r examples + fi + + if use texmacs; then + exeinto /usr/libexec/TeXmacs/bin/ + doexe data/TeXmacs/bin/tm_sympy + insinto /usr/share/TeXmacs/plugins/sympy/ + doins -r data/TeXmacs/progs + fi +} |