summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/larch')
-rw-r--r--dev-python/larch/ChangeLog8
-rw-r--r--dev-python/larch/larch-1.20121006-r1.ebuild (renamed from dev-python/larch/larch-1.20121006.ebuild)18
2 files changed, 20 insertions, 6 deletions
diff --git a/dev-python/larch/ChangeLog b/dev-python/larch/ChangeLog
index bbbf2dbc2b77..fc33a9bf1200 100644
--- a/dev-python/larch/ChangeLog
+++ b/dev-python/larch/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/larch
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/larch/ChangeLog,v 1.2 2012/10/06 23:24:13 mschiff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/larch/ChangeLog,v 1.3 2012/10/07 00:40:09 mschiff Exp $
+
+*larch-1.20121006-r1 (07 Oct 2012)
+
+ 07 Oct 2012; Marc Schiffbauer <mschiff@gentoo.org> -larch-1.20121006.ebuild,
+ +larch-1.20121006-r1.ebuild:
+ Enabled test after adding dev-util/cmdtest to the tree.
*larch-1.20121006 (06 Oct 2012)
diff --git a/dev-python/larch/larch-1.20121006.ebuild b/dev-python/larch/larch-1.20121006-r1.ebuild
index 4ed922e08a0a..eef4163eec02 100644
--- a/dev-python/larch/larch-1.20121006.ebuild
+++ b/dev-python/larch/larch-1.20121006-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/larch/larch-1.20121006.ebuild,v 1.1 2012/10/06 23:24:13 mschiff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/larch/larch-1.20121006-r1.ebuild,v 1.1 2012/10/07 00:40:09 mschiff Exp $
EAPI=4
@@ -11,19 +11,27 @@ inherit distutils python
DESCRIPTION="Copy-on-write B-tree data structure"
HOMEPAGE="http://liw.fi/larch/"
SRC_URI="http://code.liw.fi/debian/pool/main/p/python-${PN}/python-${PN}_${PV}.orig.tar.gz"
-RESTRICT="test"
+#RESTRICT="test"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="test"
-DEPEND="dev-python/cliapp
+DEPEND="test? ( dev-python/CoverageTestRunner dev-util/cmdtest )"
+
+RDEPEND="dev-python/cliapp
dev-python/tracing
dev-python/ttystatus"
-RDEPEND="${DEPEND}"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
+
+src_test() {
+ # remove build directory so tests will not fail
+ # due to tests defined twice
+ rm -rf "${S}"/build
+ default
+}