summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-07 03:58:39 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-07 03:58:39 +0000
commit581f5ea3a9122395f5e6d35bae01c833b60c331c (patch)
tree9acacfb0f160d7f3594d1982e5a8e8e4819dd598
parentDelete older ebuild. (diff)
downloadgentoo-2-581f5ea3a9122395f5e6d35bae01c833b60c331c.tar.gz
gentoo-2-581f5ea3a9122395f5e6d35bae01c833b60c331c.tar.bz2
gentoo-2-581f5ea3a9122395f5e6d35bae01c833b60c331c.zip
Set PYTHON_DEPEND. Simplify src_test().
(Portage version: HEAD/cvs/Linux x86_64)
-rw-r--r--dev-python/blockcanvas/ChangeLog6
-rw-r--r--dev-python/blockcanvas/blockcanvas-3.1.1.ebuild26
2 files changed, 16 insertions, 16 deletions
diff --git a/dev-python/blockcanvas/ChangeLog b/dev-python/blockcanvas/ChangeLog
index 3d35df2537d5..391e8afacbd5 100644
--- a/dev-python/blockcanvas/ChangeLog
+++ b/dev-python/blockcanvas/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/blockcanvas
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/blockcanvas/ChangeLog,v 1.7 2010/03/23 05:09:30 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/blockcanvas/ChangeLog,v 1.8 2010/07/07 03:58:39 arfrever Exp $
+
+ 07 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ blockcanvas-3.1.1.ebuild:
+ Set PYTHON_DEPEND. Simplify src_test().
*blockcanvas-3.1.1 (22 Mar 2010)
diff --git a/dev-python/blockcanvas/blockcanvas-3.1.1.ebuild b/dev-python/blockcanvas/blockcanvas-3.1.1.ebuild
index e982d0e0e1f7..ea5f7d00ee0c 100644
--- a/dev-python/blockcanvas/blockcanvas-3.1.1.ebuild
+++ b/dev-python/blockcanvas/blockcanvas-3.1.1.ebuild
@@ -1,23 +1,27 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/blockcanvas/blockcanvas-3.1.1.ebuild,v 1.1 2010/03/23 05:09:30 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/blockcanvas/blockcanvas-3.1.1.ebuild,v 1.2 2010/07/07 03:58:39 arfrever Exp $
-EAPI="2"
+EAPI="3"
+PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+DISTUTILS_SRC_TEST="setup.py"
inherit distutils
MY_PN="BlockCanvas"
MY_P="${MY_PN}-${PV}"
+
DESCRIPTION="Enthought Tool Suite numerical modeling framework"
-HOMEPAGE="http://code.enthought.com/projects/block_canvas.php"
+HOMEPAGE="http://code.enthought.com/projects/block_canvas.php http://pypi.python.org/pypi/BlockCanvas"
SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz"
-IUSE=""
-#IUSE="test"
+LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-LICENSE="BSD"
+IUSE=""
+#IUSE="test"
RDEPEND="dev-python/numpy
dev-python/configobj
@@ -32,7 +36,6 @@ RDEPEND="dev-python/numpy
DEPEND="dev-python/setuptools"
# Tests require X display.
# test? ( ${RDEPEND} >=dev-python/nose-0.10.3 )
-RESTRICT_PYTHON_ABIS="3.*"
RESTRICT="test"
S="${WORKDIR}/${MY_P}"
@@ -45,15 +48,8 @@ src_prepare() {
setup.py || die
}
-src_test() {
- testing() {
- PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test
- }
- python_execute_function testing
-}
-
src_install() {
- find "${S}" -name \*LICENSE.txt -delete
+ find "${S}" -name "*LICENSE.txt" -delete
distutils_src_install
dodoc docs/*.txt
}