diff options
author | Andrey Grozin <grozin@gentoo.org> | 2008-11-20 15:49:59 +0000 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2008-11-20 15:49:59 +0000 |
commit | 536494333cdb8d67d5d558d7b133598a336b15fd (patch) | |
tree | 6ed58e75e70d8300aedc5e3b2660fc69104ff732 /dev-python/sympy | |
parent | bug fix release from upstream. adds GtkStatusIcon support (diff) | |
download | historical-536494333cdb8d67d5d558d7b133598a336b15fd.tar.gz historical-536494333cdb8d67d5d558d7b133598a336b15fd.tar.bz2 historical-536494333cdb8d67d5d558d7b133598a336b15fd.zip |
Version bump, should now work with python-2.6
Package-Manager: portage-2.2_rc14/cvs/Linux 2.6.26-tuxonice i686
Diffstat (limited to 'dev-python/sympy')
-rw-r--r-- | dev-python/sympy/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/sympy/Manifest | 5 | ||||
-rw-r--r-- | dev-python/sympy/files/sympy-0.6.3-sphinx.patch | 43 | ||||
-rw-r--r-- | dev-python/sympy/sympy-0.6.3.ebuild | 72 |
4 files changed, 126 insertions, 2 deletions
diff --git a/dev-python/sympy/ChangeLog b/dev-python/sympy/ChangeLog index aa688b56155d..f18a84a78e61 100644 --- a/dev-python/sympy/ChangeLog +++ b/dev-python/sympy/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/sympy # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sympy/ChangeLog,v 1.2 2008/10/25 13:20:22 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sympy/ChangeLog,v 1.3 2008/11/20 15:49:59 grozin Exp $ + +*sympy-0.6.3 (20 Nov 2008) + + 20 Nov 2008; Andrey Grozin <grozin@gentoo.org> + +files/sympy-0.6.3-sphinx.patch, +sympy-0.6.3.ebuild: + Version bump, should now work with python-2.6 *sympy-0.6.2 (02 Sep 2008) diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest index b6eab7357637..140f627afea1 100644 --- a/dev-python/sympy/Manifest +++ b/dev-python/sympy/Manifest @@ -1,5 +1,8 @@ AUX sympy-0.6.2-sphinx.patch 1270 RMD160 e97d06ff40b4cec5fae450f6b3d0b762d52d8876 SHA1 97872deee573a13d196de9b7740d47143dc1cc5a SHA256 80b437cc064765b3c3ae9534efa253bc553fdff3d892eb037de8d1acd2e1f361 +AUX sympy-0.6.3-sphinx.patch 1270 RMD160 7a10cdf872c05d3bb5021c95cd4c9b2e4848a934 SHA1 e5207a455f20575029f2a70714a3a84ea5aacfc8 SHA256 b975e78799a0bfbff8178511284420ca6f6e59798ecc864d2f596eb6eb551d22 DIST sympy-0.6.2.tar.gz 1937727 RMD160 434166093d507ed4ac05d3a8c824315c51523003 SHA1 70b14afd0a83d2b239104ea50adda57644b4ec41 SHA256 b84d4a8c0e92557a7ee553797e2d653ac941616494250ee82fdfecbe31b0b490 +DIST sympy-0.6.3.tar.gz 2054355 RMD160 04c81c23348cb4cb7e710f3930ebfe20ac76f499 SHA1 10e6f842348fc9607d4788e74e3665f5947e75b9 SHA256 058f20f457ca3efc379d326733711789572facfc688f1a2981c1d6879bc3f986 EBUILD sympy-0.6.2.ebuild 2322 RMD160 589b92c26cecfcca8453885565f8c105d9482f43 SHA1 6b21c4817ee98fc2b1fb2fbe6568ef62995bfff7 SHA256 5d8bbcf4b9e46b0b09b0892b55361f197c0e74d132a83fb9749d06154634b9e9 -MISC ChangeLog 576 RMD160 d6228d5a49a53d613871b362920c92f34a287736 SHA1 2a275026bb1dfa09ab4da37b85e5fe3a45d7bcaa SHA256 3f7b532a78a1b7151a2fad9bd6966e2143d492a8cb53239342215ca9fa8cd44d +EBUILD sympy-0.6.3.ebuild 1728 RMD160 c6a938b96aff140ee95bda59373d481990b44b18 SHA1 73e293daab00e37f1c11cbd8285b550b75284154 SHA256 3edab6eab77df7496ceae82f7ee6a5500a66cd3e51f76f26e5c10b98098caf7e +MISC ChangeLog 756 RMD160 321953810afde796ac78204f4650293985a67c08 SHA1 2c8fcf3ddb452ce2a3f0f62e920b20b010735fd2 SHA256 6c682b39ef3e4815969729d92d908dfeaa863e9919eb85fb8562b4411802732a MISC metadata.xml 633 RMD160 1e2a9802af567bd541d0ad500ec400b9203460c4 SHA1 9e0d449759a132552a9e8d1c10ab9271db8e1191 SHA256 0ffbbb6a597b7ef6a01e51d3cea66de7ec0b600b6b34b8f2c8fdf4f30ce53612 diff --git a/dev-python/sympy/files/sympy-0.6.3-sphinx.patch b/dev-python/sympy/files/sympy-0.6.3-sphinx.patch new file mode 100644 index 000000000000..96cc926b0c95 --- /dev/null +++ b/dev-python/sympy/files/sympy-0.6.3-sphinx.patch @@ -0,0 +1,43 @@ +diff -r -U2 sympy-0.6.3.orig/doc/Makefile sympy-0.6.3/doc/Makefile +--- sympy-0.6.3.orig/doc/Makefile 2008-11-20 03:12:13.000000000 +0600 ++++ sympy-0.6.3/doc/Makefile 2008-11-21 00:42:13.000000000 +0600 +@@ -1,11 +1,8 @@ + # Makefile for Sphinx documentation + # +-RST2HTML = rst2html ++RST2HTML = rst2html.py + + # You can set these variables from the command line. + SPHINXOPTS = +-SPHINXVER = 0.4.3 +-SPHINXBUILDpy = sphinx/Sphinx-$(SPHINXVER)/sphinx-build.py +-SPHINXBUILD = PYTHONPATH=.. python $(SPHINXBUILDpy) + PAPER = + +@@ -31,11 +28,5 @@ + -rm -rf sphinx + +-$(SPHINXBUILDpy): +- rm -rf sphinx +- mkdir sphinx +- cd sphinx; wget http://pypi.python.org/packages/source/S/Sphinx/Sphinx-$(SPHINXVER).tar.gz; +- cd sphinx; tar xzf Sphinx-$(SPHINXVER).tar.gz +- +-html: $(SPHINXBUILDpy) spt-printable ++html: spt-printable + mkdir -p src/.static + mkdir -p _build/html _build/doctrees +@@ -52,5 +43,5 @@ + $(RST2HTML) src/sympy-patches-tutorial.txt > _build/html/spt-printable.html + +-htmlapi: $(SPHINXBUILDpy) ++htmlapi: + mkdir -p api/.static + mkdir -p api/modules +@@ -77,5 +68,5 @@ + ".hhp project file in _build/htmlhelp." + +-latex: $(SPHINXBUILDpy) ++latex: + mkdir -p _build/latex _build/doctrees + $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) _build/latex diff --git a/dev-python/sympy/sympy-0.6.3.ebuild b/dev-python/sympy/sympy-0.6.3.ebuild new file mode 100644 index 000000000000..29ed43cca92a --- /dev/null +++ b/dev-python/sympy/sympy-0.6.3.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sympy/sympy-0.6.3.ebuild,v 1.1 2008/11/20 15:49:59 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_unpack() { + distutils_src_unpack + + # 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 + + 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 +} |