summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2014-02-06 17:08:15 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2014-02-06 17:08:15 +0000
commitd88319116a5cf7e754c1d5530a272bde23c13e42 (patch)
tree126a3013e34dac662a2523af08188d513d0b8f76 /dev-python/pystache
parentDisable more bogus dependency checks wrt bug #494680. (diff)
downloadgentoo-2-d88319116a5cf7e754c1d5530a272bde23c13e42.tar.gz
gentoo-2-d88319116a5cf7e754c1d5530a272bde23c13e42.tar.bz2
gentoo-2-d88319116a5cf7e754c1d5530a272bde23c13e42.zip
Added src_test
(Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'dev-python/pystache')
-rw-r--r--dev-python/pystache/ChangeLog5
-rw-r--r--dev-python/pystache/pystache-0.5.3.ebuild12
2 files changed, 13 insertions, 4 deletions
diff --git a/dev-python/pystache/ChangeLog b/dev-python/pystache/ChangeLog
index 210dc2d7a364..9e2fdada5812 100644
--- a/dev-python/pystache/ChangeLog
+++ b/dev-python/pystache/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/pystache
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pystache/ChangeLog,v 1.1 2014/02/06 16:58:41 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pystache/ChangeLog,v 1.2 2014/02/06 17:08:15 bicatali Exp $
+
+ 06 Feb 2014; Sébastien Fabbro <bicatali@gentoo.org> pystache-0.5.3.ebuild:
+ Added src_test
*pystache-0.5.3 (06 Feb 2014)
diff --git a/dev-python/pystache/pystache-0.5.3.ebuild b/dev-python/pystache/pystache-0.5.3.ebuild
index ac2578d18bd6..b8eb6b2fbe3d 100644
--- a/dev-python/pystache/pystache-0.5.3.ebuild
+++ b/dev-python/pystache/pystache-0.5.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pystache/pystache-0.5.3.ebuild,v 1.1 2014/02/06 16:58:41 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pystache/pystache-0.5.3.ebuild,v 1.2 2014/02/06 17:08:15 bicatali Exp $
EAPI=5
@@ -14,8 +14,14 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
+IUSE="test"
RDEPEND="dev-python/simplejson[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]"
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+python_test() {
+ cd "${BUILD_DIR}"/lib
+ nosetests || die
+}