summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2008-03-15 23:23:23 +0000
committerTiziano Müller <dev-zero@gentoo.org>2008-03-15 23:23:23 +0000
commitb537795d969e1f9737085c36662376639360c360 (patch)
treeb101c0385f806a0bfc7998d568c9505cb5984a24 /dev-python/werkzeug
parentAdd a blocker in RDEPEND on virtual/imapd so we avoid manpage collisions; bug... (diff)
downloadgentoo-2-b537795d969e1f9737085c36662376639360c360.tar.gz
gentoo-2-b537795d969e1f9737085c36662376639360c360.tar.bz2
gentoo-2-b537795d969e1f9737085c36662376639360c360.zip
Added various fixes, added src_test together with dependencies.
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-python/werkzeug')
-rw-r--r--dev-python/werkzeug/ChangeLog5
-rw-r--r--dev-python/werkzeug/werkzeug-0.2.ebuild21
2 files changed, 21 insertions, 5 deletions
diff --git a/dev-python/werkzeug/ChangeLog b/dev-python/werkzeug/ChangeLog
index 7bd9d93112d4..30f8dba1d395 100644
--- a/dev-python/werkzeug/ChangeLog
+++ b/dev-python/werkzeug/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/werkzeug
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/werkzeug/ChangeLog,v 1.1 2008/03/15 21:39:35 hoffie Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/werkzeug/ChangeLog,v 1.2 2008/03/15 23:23:23 dev-zero Exp $
+
+ 15 Mar 2008; Tiziano Müller <dev-zero@gentoo.org> werkzeug-0.2.ebuild:
+ Added various fixes, added src_test together with dependencies.
*werkzeug-0.2 (15 Mar 2008)
diff --git a/dev-python/werkzeug/werkzeug-0.2.ebuild b/dev-python/werkzeug/werkzeug-0.2.ebuild
index de3e1cc1de23..24b526ae92bc 100644
--- a/dev-python/werkzeug/werkzeug-0.2.ebuild
+++ b/dev-python/werkzeug/werkzeug-0.2.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/werkzeug/werkzeug-0.2.ebuild,v 1.1 2008/03/15 21:39:35 hoffie Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/werkzeug/werkzeug-0.2.ebuild,v 1.2 2008/03/15 23:23:23 dev-zero Exp $
+
+NEED_PYTHON="2.4"
inherit distutils
@@ -12,10 +14,21 @@ SRC_URI="http://pypi.python.org/packages/source/W/Werkzeug/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="test"
-RDEPEND=">=dev-lang/python-2.4"
+RDEPEND=""
DEPEND=">=dev-python/setuptools-0.6_rc5
- ${RDEPEND}"
+ test? ( dev-python/py
+ dev-python/lxml
+ dev-python/simplejson )"
S="${WORKDIR}/${MY_P}"
+
+DOCS="CHANGES"
+
+src_test() {
+ distutils_python_version
+ # path gets set correctly in conftest.py
+ cd tests
+ py.test || die "tests failed"
+}