summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-01-18 23:42:02 +0000
committerMichał Górny <mgorny@gentoo.org>2013-01-18 23:42:02 +0000
commit61b62a009bd759d00f9a5938242033fb4d81638b (patch)
tree751939e7cb0454e3ff070485f83890297cc64805 /dev-python/3to2
parentAdd proper attribution to ChangeLog. (diff)
downloadgentoo-2-61b62a009bd759d00f9a5938242033fb4d81638b.tar.gz
gentoo-2-61b62a009bd759d00f9a5938242033fb4d81638b.tar.bz2
gentoo-2-61b62a009bd759d00f9a5938242033fb4d81638b.zip
Enable running tests.
(Portage version: 2.2.0_alpha154/cvs/Linux x86_64, signed Manifest commit with key 42B9401D)
Diffstat (limited to 'dev-python/3to2')
-rw-r--r--dev-python/3to2/3to2-1.0.ebuild9
-rw-r--r--dev-python/3to2/ChangeLog7
-rw-r--r--dev-python/3to2/metadata.xml9
3 files changed, 17 insertions, 8 deletions
diff --git a/dev-python/3to2/3to2-1.0.ebuild b/dev-python/3to2/3to2-1.0.ebuild
index 584611f86102..81ad5ed73254 100644
--- a/dev-python/3to2/3to2-1.0.ebuild
+++ b/dev-python/3to2/3to2-1.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/3to2/3to2-1.0.ebuild,v 1.3 2012/12/17 19:55:39 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/3to2/3to2-1.0.ebuild,v 1.4 2013/01/18 23:42:02 mgorny Exp $
EAPI=5
@@ -15,3 +15,8 @@ LICENSE="Apache-1.1"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
+
+python_test() {
+ "${PYTHON}" "${BUILD_DIR}"/lib/lib3to2/tests/test_all_fixers.py \
+ || die "Tests fail with ${EPYTHON}"
+}
diff --git a/dev-python/3to2/ChangeLog b/dev-python/3to2/ChangeLog
index 0e417fc3d7ea..3b60430ff7cb 100644
--- a/dev-python/3to2/ChangeLog
+++ b/dev-python/3to2/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/3to2
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/3to2/ChangeLog,v 1.3 2012/12/17 19:55:39 mgorny Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/3to2/ChangeLog,v 1.4 2013/01/18 23:42:02 mgorny Exp $
+
+ 18 Jan 2013; Michał Górny <mgorny@gentoo.org> 3to2-1.0.ebuild, metadata.xml:
+ Enable running tests.
17 Dec 2012; Michał Górny <mgorny@gentoo.org> 3to2-1.0.ebuild:
Bump to EAPI=5 to make Paludis happy, bug #447524.
diff --git a/dev-python/3to2/metadata.xml b/dev-python/3to2/metadata.xml
index d09f4dcc0796..30e55dfcc55c 100644
--- a/dev-python/3to2/metadata.xml
+++ b/dev-python/3to2/metadata.xml
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer>
-<email>chutzpah@gentoo.org</email>
-<name>Patrick McLean</name>
-</maintainer>
+ <herd>python</herd>
+ <maintainer>
+ <email>chutzpah@gentoo.org</email>
+ <name>Patrick McLean</name>
+ </maintainer>
</pkgmetadata>