summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-08-18 10:38:07 +0000
committerMichał Górny <mgorny@gentoo.org>2013-08-18 10:38:07 +0000
commit02220a54939df9bebe2ce609da30be685c79c50b (patch)
tree894a6bfbf2af5dc97a3a164968a2e28b3a94fe50 /dev-python/networkx
parentImprove the distutils-r1 ebuild. Install docs into /usr/share/doc/${PF}. (diff)
downloadgentoo-2-02220a54939df9bebe2ce609da30be685c79c50b.tar.gz
gentoo-2-02220a54939df9bebe2ce609da30be685c79c50b.tar.bz2
gentoo-2-02220a54939df9bebe2ce609da30be685c79c50b.zip
Add the test phase.
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643!)
Diffstat (limited to 'dev-python/networkx')
-rw-r--r--dev-python/networkx/ChangeLog5
-rw-r--r--dev-python/networkx/networkx-1.7-r2.ebuild6
2 files changed, 9 insertions, 2 deletions
diff --git a/dev-python/networkx/ChangeLog b/dev-python/networkx/ChangeLog
index 3e775791f7e8..edd6837abcba 100644
--- a/dev-python/networkx/ChangeLog
+++ b/dev-python/networkx/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/networkx
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/networkx/ChangeLog,v 1.18 2013/08/18 10:33:24 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/networkx/ChangeLog,v 1.19 2013/08/18 10:38:07 mgorny Exp $
+
+ 18 Aug 2013; Michał Górny <mgorny@gentoo.org> networkx-1.7-r2.ebuild:
+ Add the test phase.
18 Aug 2013; Michał Górny <mgorny@gentoo.org> networkx-1.7-r2.ebuild:
Improve the distutils-r1 ebuild. Install docs into /usr/share/doc/${PF}.
diff --git a/dev-python/networkx/networkx-1.7-r2.ebuild b/dev-python/networkx/networkx-1.7-r2.ebuild
index 57f5e652725f..e34cea08845e 100644
--- a/dev-python/networkx/networkx-1.7-r2.ebuild
+++ b/dev-python/networkx/networkx-1.7-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/networkx/networkx-1.7-r2.ebuild,v 1.2 2013/08/18 10:33:24 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/networkx/networkx-1.7-r2.ebuild,v 1.3 2013/08/18 10:38:07 mgorny Exp $
EAPI=5
@@ -47,6 +47,10 @@ python_compile_all() {
fi
}
+python_test() {
+ nosetests || die
+}
+
python_install_all() {
# Oh my.
rm -r "${ED}"usr/share/doc/${P} || die