summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Pani (thpani) <thomas.pani@gmail.com>2008-08-13 18:05:46 +0000
committerThomas Pani (thpani) <thomas.pani@gmail.com>2008-08-13 18:05:46 +0000
commit0db2896a43319d55f374872ac762367218a823ae (patch)
tree015529d9804976578dda594621d9fa60a770e5eb
parentdev-tex/sketch: in the main tree now, removing from Sunrise (diff)
downloadsunrise-0db2896a43319d55f374872ac762367218a823ae.tar.gz
sunrise-0db2896a43319d55f374872ac762367218a823ae.tar.bz2
sunrise-0db2896a43319d55f374872ac762367218a823ae.zip
sci-libs/sympy: version bump to 0.6.1
svn path=/sunrise/; revision=6747
-rw-r--r--sci-libs/sympy/ChangeLog6
-rw-r--r--sci-libs/sympy/Manifest6
-rw-r--r--sci-libs/sympy/sympy-0.5.8.ebuild28
-rw-r--r--sci-libs/sympy/sympy-0.6.1.ebuild91
4 files changed, 99 insertions, 32 deletions
diff --git a/sci-libs/sympy/ChangeLog b/sci-libs/sympy/ChangeLog
index 480502eb8..12e4b7399 100644
--- a/sci-libs/sympy/ChangeLog
+++ b/sci-libs/sympy/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for sci-libs/sympy
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 13 Aug 2008; Thomas Pani (thpani) <thomas.pani@gmail.com>
+ -sympy-0.5.8.ebuild, +sympy-0.6.1.ebuild:
+ version bump to 0.6.1
+
08 Dec 2007; Jakub Moc <jakub@gentoo.org> -sympy-0.5.3.ebuild:
Nuke old
diff --git a/sci-libs/sympy/Manifest b/sci-libs/sympy/Manifest
index 420dc84af..d1640b0ca 100644
--- a/sci-libs/sympy/Manifest
+++ b/sci-libs/sympy/Manifest
@@ -1,4 +1,4 @@
-DIST sympy-0.5.8.tar.gz 899489 RMD160 efbe6a0181db0eb1c5bcaaf5cacd5fbbcfabad9a SHA1 1b6968e999be848781c9755726d45a36eed14149 SHA256 81114207fed20631440fe8ddb37b0349a57c094fd3fdbc9fd91accd821ac15c0
-EBUILD sympy-0.5.8.ebuild 728 RMD160 d831abd794b355521bb0815f78ce159ecfa3fd55 SHA1 e8a5f48f600a9dc36288a2a237245f06a91558b4 SHA256 a624327bff9b36c788f34545b38606db3d0f76fbd7d9209c28280d9b3eba7e78
-MISC ChangeLog 487 RMD160 6953e1e0aabdebf3aeee142d227de4d6bc7fd2bb SHA1 f3fc1a7923ac27b745b42c24b624c7a8fbe8999f SHA256 a881a285bedcd5b769077f555733626586238d7bf3db64f24552560f16bedc5f
+DIST sympy-0.6.1.tar.gz 1899899 RMD160 4c699c2bc0907c3c3091be502d6d59654cd57e51 SHA1 d74bddda2f220bef9869e2f7f7bf4548e42c6461 SHA256 21c6ed3bcdee0e642c3165bf036a69831b7e7cf535a108357d37256f8936401c
+EBUILD sympy-0.6.1.ebuild 2260 RMD160 18864407e2dad1a5206cb2ff5f78fb87d93bdaf1 SHA1 d1360267eb7d6bf6a98cee86106f4dbc935b6509 SHA256 4b679bb7e8f5ce0c5af446fc72615cd0b653f10553120f8804009a8dd72b7ef2
+MISC ChangeLog 616 RMD160 5842949574085ece219d0b872fa3ea637ac78cdd SHA1 a77bc1f0009c9f203a25b5cffdd409907e4a1bf3 SHA256 5ac905aa89b7b6eb8d8ed018e20b6f33a86455783b4f53085059388b37eab190
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/sci-libs/sympy/sympy-0.5.8.ebuild b/sci-libs/sympy/sympy-0.5.8.ebuild
deleted file mode 100644
index 07945ad5e..000000000
--- a/sci-libs/sympy/sympy-0.5.8.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit distutils eutils
-
-DESCRIPTION="Python library for symbolic mathematics."
-HOMEPAGE="http://code.google.com/p/sympy/"
-SRC_URI="http://sympy.googlecode.com/files/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE="gtk xslt"
-
-DEPEND=">=virtual/python-2.4
- >=dev-python/ipython-0.7.2
- gtk? ( x11-libs/gtkmathview )
- xslt? ( dev-libs/libxslt )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- if use xslt && ! built_with_use "dev-libs/libxslt" python ; then
- eerror "dev-libs/libxslt has to be compiled with 'python'"
- eerror "USE-flag enabled."
- die "Needed USE-flag for dev-libs/libxslt not found."
- fi
-}
diff --git a/sci-libs/sympy/sympy-0.6.1.ebuild b/sci-libs/sympy/sympy-0.6.1.ebuild
new file mode 100644
index 000000000..6403b34ee
--- /dev/null
+++ b/sci-libs/sympy/sympy-0.6.1.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+NEED_PYTHON=2.4
+
+inherit eutils distutils python multilib
+
+DESCRIPTION="Python library for symbolic mathematics."
+HOMEPAGE="http://code.google.com/p/sympy/"
+SRC_URI="http://sympy.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples gtk latex mathml pdf png test texmacs"
+
+RDEPEND="mathml? (
+ dev-libs/libxml2
+ dev-libs/libxslt
+ gtk? ( x11-libs/gtkmathview )
+ )
+ latex? (
+ virtual/latex-base
+ png? ( app-text/dvipng )
+ pdf? ( virtual/ghostscript )
+ )
+ texmacs? ( app-office/texmacs )
+ dev-python/pyopengl
+ dev-python/imaging
+ || ( dev-python/ctypes >=dev-lang/python-2.5 )
+ >=dev-python/pexpect-2.0"
+DEPEND="test? ( >=dev-python/py-0.9.0 )
+ ${RDEPEND}"
+
+pkg_setup() {
+ if use mathml ; then
+ if ! built_with_use "dev-libs/libxml2" python ; then
+ eerror "dev-libs/libxml2 has to be compiled with 'python' USE-flag."
+ die "Needed USE-flag for dev-libs/libxml2 not found."
+ fi
+
+ if ! built_with_use "dev-libs/libxslt" python ; then
+ eerror "dev-libs/libxslt has to be compiled with 'python' USE-flag."
+ die "Needed USE-flag for dev-libs/libxslt not found."
+ fi
+
+ if use gtk && ! built_with_use "x11-libs/gtkmathview" gtk ; then
+ eerror "x11-libs/gtkmathview has to be compiled with 'gtk' USE-flag."
+ die "Needed USE-flag for x11-libs/gtkmathview not found."
+ fi
+ fi
+}
+
+src_test() {
+ PYTHONPATH=build/lib/ "${python}" setup.py test || die "Unit tests failed!"
+}
+
+src_install() {
+ distutils_src_install
+
+ 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
+}
+
+pkg_postinst() {
+ if ! has_version ">=dev-python/ipython-0.7.2" ; then
+ elog
+ elog "IPython 0.7.2 (or better) wasn't found on your system. It is"
+ elog "highly recommended to install this package to optimize your"
+ elog "work with SymPy. To do so, you can run:"
+ elog
+ elog " emerge '>=dev-python/ipython-0.7.2'"
+ elog
+ fi
+}
+
+pkg_postrm() {
+ if use examples ; then
+ python_mod_cleanup /usr/share/doc/${P}
+ fi
+}