Version bump
authorAndrey Grozin <grozin@gentoo.org>
Mon, 7 Jun 2010 16:47:26 +0000 (16:47 +0000)
committerAndrey Grozin <grozin@gentoo.org>
Mon, 7 Jun 2010 16:47:26 +0000 (16:47 +0000)
Package-Manager: portage-2.2_rc67/cvs/Linux i686

dev-python/mpmath/ChangeLog
dev-python/mpmath/mpmath-0.15.ebuild [moved from dev-python/mpmath/mpmath-0.13.ebuild with 60% similarity]

index cdd9890d8330e9b3dc1c56c463ce146a62c807a1..bb3b8312c50ebdac7b652b8429b20fdd19091280 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-python/mpmath
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/mpmath/ChangeLog,v 1.11 2010/02/07 20:57:23 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mpmath/ChangeLog,v 1.12 2010/06/07 16:47:26 grozin Exp $
+
+*mpmath-0.15 (07 Jun 2010)
+
+  07 Jun 2010; Andrey Grozin <grozin@gentoo.org> -mpmath-0.13.ebuild,
+  +mpmath-0.15.ebuild:
+  Version bump
 
   07 Feb 2010; Peter Volkov <pva@gentoo.org> mpmath-0.13.ebuild:
   $HOMEPAGE: Never refer to a variable name in the string; include only raw
similarity index 60%
rename from dev-python/mpmath/mpmath-0.13.ebuild
rename to dev-python/mpmath/mpmath-0.15.ebuild
index e928a50ec4a459448b2c95f6bebdf38c06bf515e..6fbcebf1e9e07468b51b42208b1914b39de0d065 100644 (file)
@@ -1,35 +1,43 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/mpmath/mpmath-0.13.ebuild,v 1.2 2010/02/07 20:57:23 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mpmath/mpmath-0.15.ebuild,v 1.1 2010/06/07 16:47:26 grozin Exp $
+
+EAPI="2"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+DISTUTILS_SRC_TEST="py.test"
 
-EAPI=2
-NEED_PYTHON=2.4
 inherit distutils
 
 DESCRIPTION="A python library for arbitrary-precision floating-point arithmetic"
-HOMEPAGE="http://code.google.com/p/mpmath"
+HOMEPAGE="http://code.google.com/p/mpmath/ http://pypi.python.org/pypi/mpmath/"
 SRC_URI="http://mpmath.googlecode.com/files/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="doc examples gmp test"
+IUSE="doc examples gmp"
 
 RDEPEND="gmp? ( dev-python/gmpy )"
-DEPEND="doc? ( dev-python/sphinx )
-       test? ( dev-python/py )"
+DEPEND="doc? ( dev-python/sphinx )"
+RESTRICT_PYTHON_ABIS="3.*"
+
+DOCS="CHANGES"
 
 src_compile() {
        distutils_src_compile
        if use doc; then
                cd doc
-               "${python}" build.py
-               cd ..
+               "$(PYTHON -f)" build.py
        fi
 }
 
+src_test() {
+       cd mpmath/tests
+       distutils_src_test
+}
+
 src_install() {
-       DOCS="CHANGES"
        distutils_src_install
 
        if use doc; then
@@ -43,8 +51,3 @@ src_install() {
                doins demo/*
        fi
 }
-
-src_test() {
-       cd mpmath/tests
-       py.test || die "tests failed"
-}