summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2007-03-25 21:54:41 +0000
committerSeemant Kulleen <seemant@gentoo.org>2007-03-25 21:54:41 +0000
commit4a37f416268023b6f99654a182c90b47de0c4cb8 (patch)
tree32b9636bb82a2ddef9e9fe359b0c548ca3fe1142 /dev-python/django
parentAdd ~ia64 wrt bug 154088 (diff)
downloadgentoo-2-4a37f416268023b6f99654a182c90b47de0c4cb8.tar.gz
gentoo-2-4a37f416268023b6f99654a182c90b47de0c4cb8.tar.bz2
gentoo-2-4a37f416268023b6f99654a182c90b47de0c4cb8.zip
fix the src_test -- thanks to mabi for catching the b0rkedness
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-python/django')
-rw-r--r--dev-python/django/ChangeLog5
-rw-r--r--dev-python/django/django-0.96.ebuild18
2 files changed, 14 insertions, 9 deletions
diff --git a/dev-python/django/ChangeLog b/dev-python/django/ChangeLog
index 7e84cb91a4c4..f8f6e32e5909 100644
--- a/dev-python/django/ChangeLog
+++ b/dev-python/django/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/django
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.14 2007/03/24 03:46:19 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.15 2007/03/25 21:54:41 seemant Exp $
+
+ 25 Mar 2007; Seemant Kulleen <seemant@gentoo.org> django-0.96.ebuild:
+ fix the src_test -- thanks to mabi for catching the b0rkedness
24 Mar 2007; Seemant Kulleen <seemant@gentoo.org> +django-0.96.ebuild:
version bump to newest release -- how about a zero-day this time
diff --git a/dev-python/django/django-0.96.ebuild b/dev-python/django/django-0.96.ebuild
index 5ba7068cb364..04187168444c 100644
--- a/dev-python/django/django-0.96.ebuild
+++ b/dev-python/django/django-0.96.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-0.96.ebuild,v 1.1 2007/03/24 03:46:19 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-0.96.ebuild,v 1.2 2007/03/25 21:54:41 seemant Exp $
inherit bash-completion distutils eutils versionator
@@ -40,6 +40,15 @@ src_unpack() {
setup.py || die "sed failed"
}
+src_test() {
+ cat >> tests/settings.py << __EOF__
+DATABASE_ENGINE='sqlite3'
+ROOT_URLCONF='tests/urls.py'
+SITE_ID=1
+__EOF__
+ PYTHONPATH="." ${python} tests/runtests.py --settings=settings -v1 || die "tests failed"
+}
+
src_install() {
distutils_python_version
@@ -56,10 +65,3 @@ src_install() {
doins -r examples
fi
}
-
-src_test() {
- cat >> tests/settings.py << __EOF__
-DATABASE_ENGINE='sqlite3'
-__EOF__
- PYTHONPATH="." ${python} tests/runtests.py --settings=settings -v1 || die "tests failed"
-}