From 204a3190d9390ce74bf9a4e8033046bb3bb1eafc Mon Sep 17 00:00:00 2001 From: Seemant Kulleen Date: Sun, 25 Mar 2007 21:54:41 +0000 Subject: [PATCH] fix the src_test -- thanks to mabi for catching the b0rkedness Package-Manager: portage-2.1.2.2 --- dev-python/django/ChangeLog | 5 ++++- dev-python/django/Manifest | 16 ++++++++-------- dev-python/django/django-0.96.ebuild | 18 ++++++++++-------- 3 files changed, 22 insertions(+), 17 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 django-0.96.ebuild: + fix the src_test -- thanks to mabi for catching the b0rkedness 24 Mar 2007; Seemant Kulleen +django-0.96.ebuild: version bump to newest release -- how about a zero-day this time diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest index ad6b7a9589f0..bfbf586b76fc 100644 --- a/dev-python/django/Manifest +++ b/dev-python/django/Manifest @@ -4,14 +4,14 @@ EBUILD django-0.95.1.ebuild 1641 RMD160 a19104d5b0ab98437569b7c76af3949b016fa44b MD5 35a12e123818bb22d5ceaf04cb88aecc django-0.95.1.ebuild 1641 RMD160 a19104d5b0ab98437569b7c76af3949b016fa44b django-0.95.1.ebuild 1641 SHA256 e7f22d3712e8e3d0376c8de8c50d0ac900ff6cd6ec4fec6babf609f7e0e18753 django-0.95.1.ebuild 1641 -EBUILD django-0.96.ebuild 1603 RMD160 453819b1aeddf51ec025cae407f665a149b74cbf SHA1 db1c2a7aef209770f83bdf3d975be4d98a816baa SHA256 fc64b006d5eefbcf813e822366c060c4f92dadc1c3eadb1a17dbd85fc2082646 -MD5 281cabd30ae7c4de009987f61eb3d6ef django-0.96.ebuild 1603 -RMD160 453819b1aeddf51ec025cae407f665a149b74cbf django-0.96.ebuild 1603 -SHA256 fc64b006d5eefbcf813e822366c060c4f92dadc1c3eadb1a17dbd85fc2082646 django-0.96.ebuild 1603 -MISC ChangeLog 2478 RMD160 feb281aa206009772151c4ef5e6f50d424b3c046 SHA1 7f3e9ba05302f33bb722631f3ba6f8afbc244401 SHA256 61cef217dd474a7da202dca62ad2da6e0459078e7445809853723d7c424721bd -MD5 b4cdd302ea2a7504faffd91cbe620039 ChangeLog 2478 -RMD160 feb281aa206009772151c4ef5e6f50d424b3c046 ChangeLog 2478 -SHA256 61cef217dd474a7da202dca62ad2da6e0459078e7445809853723d7c424721bd ChangeLog 2478 +EBUILD django-0.96.ebuild 1642 RMD160 96f36bd35f91a652b21b4bc0d217e8fc9c878c55 SHA1 a661fdb6905412ebbf95258e46bb2a109f2a4f3a SHA256 4cc6dffca042ff5cc21906aca60e80776eba3511792bce3c073eb9b0c69dcd73 +MD5 6c7d77913b23f1935505fa07d4709e2d django-0.96.ebuild 1642 +RMD160 96f36bd35f91a652b21b4bc0d217e8fc9c878c55 django-0.96.ebuild 1642 +SHA256 4cc6dffca042ff5cc21906aca60e80776eba3511792bce3c073eb9b0c69dcd73 django-0.96.ebuild 1642 +MISC ChangeLog 2616 RMD160 b23f11329abf22fd0d25b973ad20d8c2af284255 SHA1 f14243d1feb52d177805cf79f7f9d603ec208cb7 SHA256 d3bf1d8663c52b16420e9ef91d6ddb49801e67432fa92655e73dcd283b8c7f58 +MD5 6a0b3aa38bb585c58487b58b25bc36c4 ChangeLog 2616 +RMD160 b23f11329abf22fd0d25b973ad20d8c2af284255 ChangeLog 2616 +SHA256 d3bf1d8663c52b16420e9ef91d6ddb49801e67432fa92655e73dcd283b8c7f58 ChangeLog 2616 MISC metadata.xml 299 RMD160 3d8704ab7bd5a6e6f1c503a0f121098b9565aa5b SHA1 6eb4ace4f35255ecb165611f126e131ff020ea1b SHA256 afc8576fd4c38ed4723c15af5d7c07612dc7a9e34b789f3fc48910bf89a57f34 MD5 537bb635a4ec8d4809abd2cda4456638 metadata.xml 299 RMD160 3d8704ab7bd5a6e6f1c503a0f121098b9565aa5b metadata.xml 299 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" -} -- 2.26.2