public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/sympy: ChangeLog sympy-0.6.3.ebuild
@ 2008-11-20 15:49 Andrey Grozin (grozin)
  0 siblings, 0 replies; only message in thread
From: Andrey Grozin (grozin) @ 2008-11-20 15:49 UTC (permalink / raw
  To: gentoo-commits

grozin      08/11/20 15:49:59

  Modified:             ChangeLog
  Added:                sympy-0.6.3.ebuild
  Log:
  Version bump, should now work with python-2.6
  (Portage version: 2.2_rc14/cvs/Linux 2.6.26-tuxonice i686)

Revision  Changes    Path
1.3                  dev-python/sympy/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sympy/ChangeLog?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sympy/ChangeLog?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sympy/ChangeLog?r1=1.2&r2=1.3

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/sympy/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ChangeLog	25 Oct 2008 13:20:22 -0000	1.2
+++ ChangeLog	20 Nov 2008 15:49:59 -0000	1.3
@@ -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)
 



1.1                  dev-python/sympy/sympy-0.6.3.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sympy/sympy-0.6.3.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sympy/sympy-0.6.3.ebuild?rev=1.1&content-type=text/plain

Index: sympy-0.6.3.ebuild
===================================================================
# 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
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-20 15:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-20 15:49 [gentoo-commits] gentoo-x86 commit in dev-python/sympy: ChangeLog sympy-0.6.3.ebuild Andrey Grozin (grozin)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox