summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-12-08 15:58:13 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-12-08 15:58:13 +0000
commit53c961e8514b3201d5d5e5206a5db80049c62f23 (patch)
tree6e1cc43877ec817c466529c6a50eab778eb34dab /dev-python/paisley/paisley-0.1.ebuild
parentAdd ignum to sourceforge mirrors (bug #296179). (diff)
downloadgentoo-2-53c961e8514b3201d5d5e5206a5db80049c62f23.tar.gz
gentoo-2-53c961e8514b3201d5d5e5206a5db80049c62f23.tar.bz2
gentoo-2-53c961e8514b3201d5d5e5206a5db80049c62f23.zip
Add missing dependencies. Add "test" USE flag and fix src_test(). Set PYTHON_MODNAME.
(Portage version: 14964-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/paisley/paisley-0.1.ebuild')
-rw-r--r--dev-python/paisley/paisley-0.1.ebuild18
1 files changed, 13 insertions, 5 deletions
diff --git a/dev-python/paisley/paisley-0.1.ebuild b/dev-python/paisley/paisley-0.1.ebuild
index fc9352828261..f7b9881a1b86 100644
--- a/dev-python/paisley/paisley-0.1.ebuild
+++ b/dev-python/paisley/paisley-0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/paisley/paisley-0.1.ebuild,v 1.3 2009/11/30 18:20:43 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/paisley/paisley-0.1.ebuild,v 1.4 2009/12/08 15:58:13 arfrever Exp $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
@@ -14,12 +14,20 @@ SRC_URI="http://pypi.python.org/packages/source/p/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
+IUSE="test"
-DEPEND=""
-RDEPEND="dev-python/twisted"
+RDEPEND="dev-python/simplejson
+ dev-python/twisted
+ dev-python/twisted-web"
+DEPEND="${RDEPEND}
+ test? ( dev-python/nose )"
RESTRICT_PYTHON_ABIS="3.*"
+PYTHON_MODNAME="paisley.py"
+
src_test() {
- python test_paisley.py
+ testing() {
+ nosetests-${PYTHON_ABI} test_paisley.py
+ }
+ python_execute_function testing
}