summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2009-12-24 16:06:18 +0000
committerAndrey Grozin <grozin@gentoo.org>2009-12-24 16:06:18 +0000
commit180fba5559f464ed915d30829a0f72a3d01d2285 (patch)
treef119b831f5ba2409ffe390ab05f07a8f35d9c67e /dev-python/sympy
parentFix tests and add ~amd64 keyword. (diff)
downloadhistorical-180fba5559f464ed915d30829a0f72a3d01d2285.tar.gz
historical-180fba5559f464ed915d30829a0f72a3d01d2285.tar.bz2
historical-180fba5559f464ed915d30829a0f72a3d01d2285.zip
Version bump, bug #298131, thanks to Rafal Muzylo <galtgendo@o2.pl>
Package-Manager: portage-2.2_rc60/cvs/Linux i686
Diffstat (limited to 'dev-python/sympy')
-rw-r--r--dev-python/sympy/ChangeLog9
-rw-r--r--dev-python/sympy/Manifest6
-rw-r--r--dev-python/sympy/files/sympy-0.6.6-sphinx.patch (renamed from dev-python/sympy/files/sympy-0.6.4-sphinx.patch)8
-rw-r--r--dev-python/sympy/sympy-0.6.6.ebuild74
4 files changed, 90 insertions, 7 deletions
diff --git a/dev-python/sympy/ChangeLog b/dev-python/sympy/ChangeLog
index b89cc7be834f..c923567f2945 100644
--- a/dev-python/sympy/ChangeLog
+++ b/dev-python/sympy/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/sympy
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sympy/ChangeLog,v 1.6 2009/09/04 15:43:11 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sympy/ChangeLog,v 1.7 2009/12/24 16:06:18 grozin Exp $
+
+*sympy-0.6.6 (24 Dec 2009)
+
+ 24 Dec 2009; Andrey Grozin <grozin@gentoo.org>
+ -files/sympy-0.6.4-sphinx.patch, +sympy-0.6.6.ebuild,
+ +files/sympy-0.6.6-sphinx.patch:
+ Version bump, bug #298131, thanks to Rafal Muzylo <galtgendo@o2.pl>
04 Sep 2009; Patrick Lauer <patrick@gentoo.org> -sympy-0.6.4.ebuild:
Remove old
diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index c7427f2f88c9..976335c9b91d 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,6 +1,8 @@
-AUX sympy-0.6.4-sphinx.patch 1565 RMD160 6ee2f15285b24c5d212b18fa573683776994b67d SHA1 46829c1045c1a1f25e00fb56bef3cabcb719c89d SHA256 cd92ed494390778ce4b284c3c5a70e5686ee22c75b9157c9f14b9b637c8ba4c0
AUX sympy-0.6.5-sphinx.patch 1565 RMD160 0d038e2af1e28781f99e71b1ad233acb7ad95390 SHA1 a037a0b2dc3d8b3416ecf4d6b9adaf845a494398 SHA256 faba0d2665e1c528467c08ab6e0a49c26b29b207de6f010202d49555a3c95344
+AUX sympy-0.6.6-sphinx.patch 1579 RMD160 5d5afa6e06c5ae4a2060942f8e9a5d3889339e76 SHA1 5683bad90d20cc7dc30edb9be8caa2d8348a80d0 SHA256 877fa9bff1307116556638fbfbb11258407bf1b05e8f60a99a33fd8b23aaa535
DIST sympy-0.6.5.tar.gz 2290549 RMD160 6204ddabc7f72727d8758dac4c22c353f3b5d8f8 SHA1 d6669973256aec02ca465009aa58e70d0b922223 SHA256 dd901e39f93e06f95cf0eab254d4d097dcf953551be8256ebd2256210d2f46ea
+DIST sympy-0.6.6.tar.gz 2540321 RMD160 663671a544d47ff25df407a6168affe7b7b89767 SHA1 aad5f919552a4e3710baee83ef0b2573d1950881 SHA256 ea1b6d7c3416dee08b33e3cb51355ada6bedbdd9d5e0d1e791a2fdedd433bde4
EBUILD sympy-0.6.5.ebuild 1730 RMD160 ab01e9fe3d626b6a09c5c1b44ec2b016fccd7dfb SHA1 662312d25d327ff1a964f9837ffc2f9534407784 SHA256 b493a52360980b299f1b710f669e0d3df25968f0b35e73887f2ca8989084d5fd
-MISC ChangeLog 1252 RMD160 6c09a4270ef411348b2dfc0273defe224a3777c5 SHA1 7ede2611156a3cf32cfb443712de1e83b98b763a SHA256 9cd1613afbe93cdede094ca62f5955b3160de65d71576464c5adcafa4463cc32
+EBUILD sympy-0.6.6.ebuild 1811 RMD160 89fa9fc726d0edf1f2e88ed4130bb46a3b14c2ae SHA1 5709f87a05b7937cdb42c82c2d909b2bac026532 SHA256 ac2a742c312978e2dd250659633d897170f3fd417711e665590d76fd9c4e1318
+MISC ChangeLog 1490 RMD160 5f87176f0f62367c7841477fe51e743ff12ac689 SHA1 0bf75febef11f9e74fcdb70fe470e1e87d68e3f2 SHA256 7286335989719f0749818192fe1a8a1ef5b3547d2e28d821c4d142d38d61df29
MISC metadata.xml 633 RMD160 1e2a9802af567bd541d0ad500ec400b9203460c4 SHA1 9e0d449759a132552a9e8d1c10ab9271db8e1191 SHA256 0ffbbb6a597b7ef6a01e51d3cea66de7ec0b600b6b34b8f2c8fdf4f30ce53612
diff --git a/dev-python/sympy/files/sympy-0.6.4-sphinx.patch b/dev-python/sympy/files/sympy-0.6.6-sphinx.patch
index 2d584aacc0e2..f14c49182194 100644
--- a/dev-python/sympy/files/sympy-0.6.4-sphinx.patch
+++ b/dev-python/sympy/files/sympy-0.6.6-sphinx.patch
@@ -1,7 +1,7 @@
-Index: sympy-0.6.4/doc/Makefile
+Index: sympy-0.6.5/doc/Makefile
===================================================================
---- sympy-0.6.4.orig/doc/Makefile
-+++ sympy-0.6.4/doc/Makefile
+--- sympy-0.6.5.orig/doc/Makefile
++++ sympy-0.6.5/doc/Makefile
@@ -1,14 +1,10 @@
# Makefile for Sphinx documentation
#
@@ -14,7 +14,7 @@ Index: sympy-0.6.4/doc/Makefile
-SPHINXVER = 0.5
-#SPHINXBUILDpy = sphinx/Sphinx-$(SPHINXVER)/sphinx-build.py
-SPHINXBUILDpy = sphinx-build
--SPHINXBUILD = PYTHONPATH=.. $(SPHINXBUILDpy)
+-SPHINXBUILD = PYTHONPATH=..:$(PYTHONPATH) $(SPHINXBUILDpy)
PAPER =
ALLSPHINXOPTS = -d _build/doctrees -D latex_paper_size=$(PAPER) \
diff --git a/dev-python/sympy/sympy-0.6.6.ebuild b/dev-python/sympy/sympy-0.6.6.ebuild
new file mode 100644
index 000000000000..72ae4af2d745
--- /dev/null
+++ b/dev-python/sympy/sympy-0.6.6.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sympy/sympy-0.6.6.ebuild,v 1.1 2009/12/24 16:06:18 grozin Exp $
+EAPI=2
+NEED_PYTHON=2.4
+inherit distutils
+
+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[python]
+ dev-libs/libxslt[python]
+ gtk? ( x11-libs/gtkmathview[gtk] ) )
+ latex? ( virtual/latex-base
+ png? ( app-text/dvipng )
+ pdf? ( virtual/ghostscript ) )
+ texmacs? ( app-office/texmacs )
+ ipython? ( dev-python/ipython )
+ opengl? ( dev-python/pyopengl )
+ imaging? ( dev-python/imaging )
+ || ( dev-python/ctypes >=dev-lang/python-2.5 )
+ >=dev-python/pexpect-2.0"
+DEPEND="doc? ( dev-python/sphinx )
+ test? ( >=dev-python/py-0.9.0 )"
+
+src_prepare() {
+ distutils_src_prepare
+
+ # use local sphinx
+ epatch "${FILESDIR}"/${P}-sphinx.patch
+}
+
+src_compile() {
+ distutils_src_compile
+
+ if use doc; then
+ cd doc
+ PYTHONPATH=.. emake SPHINXBUILD=sphinx-build html \
+ || die "emake html failed"
+ cd ..
+ fi
+}
+
+src_test() {
+ PYTHONPATH=build/lib/ "${python}" setup.py test || die "Unit tests failed!"
+}
+
+src_install() {
+ distutils_src_install
+
+ rm "${D}"/usr/bin/test "${D}"/usr/bin/doctest || die "rm test doctest 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
+}