diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-05-31 10:19:19 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-05-31 10:19:19 +0000 |
commit | 09c928676eb943d50fbb60feef8ca827bf0e2c44 (patch) | |
tree | 8ebf0c94c32ecad3d752c369e63effe5eb847b5c /dev-python/django-oauth-plus | |
parent | 0.9.33 version bump. (diff) | |
download | gentoo-2-09c928676eb943d50fbb60feef8ca827bf0e2c44.tar.gz gentoo-2-09c928676eb943d50fbb60feef8ca827bf0e2c44.tar.bz2 gentoo-2-09c928676eb943d50fbb60feef8ca827bf0e2c44.zip |
fix to test phase, switch to use of manage.py
(Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/django-oauth-plus')
-rw-r--r-- | dev-python/django-oauth-plus/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/django-oauth-plus/django-oauth-plus-2.1.0-r1.ebuild | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/dev-python/django-oauth-plus/ChangeLog b/dev-python/django-oauth-plus/ChangeLog index 6868fe2a9194..0212a6887874 100644 --- a/dev-python/django-oauth-plus/ChangeLog +++ b/dev-python/django-oauth-plus/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/django-oauth-plus # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/django-oauth-plus/ChangeLog,v 1.3 2013/05/23 17:52:07 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/django-oauth-plus/ChangeLog,v 1.4 2013/05/31 10:19:19 idella4 Exp $ + + 31 May 2013; Ian Delaney <idella4@gentoo.org> + django-oauth-plus-2.1.0-r1.ebuild: + fix to test phase, switch to muse of manage.py *django-oauth-plus-2.1.0-r1 (23 May 2013) diff --git a/dev-python/django-oauth-plus/django-oauth-plus-2.1.0-r1.ebuild b/dev-python/django-oauth-plus/django-oauth-plus-2.1.0-r1.ebuild index b65df6a1076f..3229530b1d96 100644 --- a/dev-python/django-oauth-plus/django-oauth-plus-2.1.0-r1.ebuild +++ b/dev-python/django-oauth-plus/django-oauth-plus-2.1.0-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/django-oauth-plus/django-oauth-plus-2.1.0-r1.ebuild,v 1.1 2013/05/23 17:52:07 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/django-oauth-plus/django-oauth-plus-2.1.0-r1.ebuild,v 1.2 2013/05/31 10:19:19 idella4 Exp $ EAPI=5 PYTHON_COMPAT=( python{2_6,2_7} ) @@ -23,11 +23,7 @@ DEPEND="${RDEPEND} dev-python/setuptools_hg[${PYTHON_USEDEP}]" python_test() { - export DJANGO_SETTINGS_MODULE="django.conf" - export SECRET_KEY='green' - if "${PYTHON}" -c \ - "from django.conf import global_settings;global_settings.SECRET_KEY='$SECRET_KEY'" \ - -m oauth_provider.tests.tests; then + if "${PYTHON}" oauth_provider/runtests/manage.py test; then einfo "Testsuite passed under ${EPYTHON}" else die "Testsuite failed under ${EPYTHON}" |