summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2013-05-31 02:31:45 +0000
committerMike Gilbert <floppym@gentoo.org>2013-05-31 02:31:45 +0000
commit90eb855ccc0eca8d8f88a2cfd68c68dbf83288de (patch)
tree8c564af768c97584e25a2cb2e9ea871c81f36912 /dev-python/django-appconf
parentNew package. (diff)
downloadhistorical-90eb855ccc0eca8d8f88a2cfd68c68dbf83288de.tar.gz
historical-90eb855ccc0eca8d8f88a2cfd68c68dbf83288de.tar.bz2
historical-90eb855ccc0eca8d8f88a2cfd68c68dbf83288de.zip
Make python_test do something useful.
Package-Manager: portage-2.2.0_alpha177/cvs/Linux x86_64 Manifest-Sign-Key: 0x0BBEEA1FEA4843A4
Diffstat (limited to 'dev-python/django-appconf')
-rw-r--r--dev-python/django-appconf/ChangeLog5
-rw-r--r--dev-python/django-appconf/Manifest10
-rw-r--r--dev-python/django-appconf/django-appconf-0.6.ebuild22
3 files changed, 17 insertions, 20 deletions
diff --git a/dev-python/django-appconf/ChangeLog b/dev-python/django-appconf/ChangeLog
index 59d901d0fd2d..54e3488ab0ed 100644
--- a/dev-python/django-appconf/ChangeLog
+++ b/dev-python/django-appconf/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/django-appconf
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django-appconf/ChangeLog,v 1.5 2013/05/20 17:17:00 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-appconf/ChangeLog,v 1.6 2013/05/31 02:31:42 floppym Exp $
+
+ 31 May 2013; Mike Gilbert <floppym@gentoo.org> django-appconf-0.6.ebuild:
+ Make python_test do something useful.
20 May 2013; Ian Delaney <idella4@gentoo.org> django-appconf-0.6.ebuild:
proper fix to test phase
diff --git a/dev-python/django-appconf/Manifest b/dev-python/django-appconf/Manifest
index b44b82863cc2..b3820242a016 100644
--- a/dev-python/django-appconf/Manifest
+++ b/dev-python/django-appconf/Manifest
@@ -5,13 +5,13 @@ AUX docs.patch 713 SHA256 6d1b5078bb1b75e92a996a051d15f48ddef34253546dce8c7b2000
DIST django-appconf-0.5.tar.gz 14537 SHA256 fe5ddcd6b701727afc4b3dee8967d1b20137e2f4ccb025c1d17e5e0c59696c5f SHA512 43a8bda2be8626534984dc292b6aa0d060477a771657355dbbf5fcad10d0eb6b830d23d15241fc81309486e0b2e0bac62483cf797364172bd53c43622d436595 WHIRLPOOL 61bb1adb41a5092bfa9a42a7190c5125cce49065b55b1e566b61cd4520507e469e39ac718d15feeacc69c76270ae57aa5192b46616cf46d12ffb36f28292bf07
DIST django-appconf-0.6.tar.gz 15384 SHA256 a88ed8fb923a53c70c2c46fbe4508b5f81646b4b01401f1568a821671b33215c SHA512 b6c882ef7d2088e4a17c5099bd9581fec7c5185c13b1d3aa1f46daf33d8f51b047da9dc4091822ab7523e2eba9922fe1ec6b681b544b1657c43879e591278913 WHIRLPOOL 803e6546747c93bd6cb801e2210774c3d5cd1ab422c6c96854a79019f94bbdfdfe6f3d2ec1db32ecb8beda87c510479649bb6b31d4419282e49d1966dd184a2a
EBUILD django-appconf-0.5.ebuild 1243 SHA256 66e5f0c0ef390892224ceac9fd5d98b56893e7f4c8b4a19441b2a3b9ef348dc8 SHA512 25a1bcd5568633436540332f46a2ba1f2d88d8e14663530be6e52d410abc728bcfa458de31f36a43348238856554b7bdba91a534bd36405facd757d2d98c3d4d WHIRLPOOL 57043c545a498d8ff377087c7923c58ee0b97c49a5eb2cc6bcdf0b58a31a35eae5dc7bd95613be31c91fd5c3db974af04db55b872bed68082fecdedff0ef8c72
-EBUILD django-appconf-0.6.ebuild 1313 SHA256 c698acd95a4d7b37f9dc752aa1a025ff723e9ebdaec92f9b73b62f2f3996ed8c SHA512 1ea56dc9f7decbf17e91e5717b4f7b295af088d1861d6620e108457097e340830e91dc2fd6caf07d46df8e288cd16d449267884c5c46185253d003fcaa37b839 WHIRLPOOL ee517aedd65f6490d9b7d85ae1b2bfd7f6130a73a8905903b70cdc62ef8abd0c80fdcc406fa77117779d516e12ba6a99133f79428309a625ceff9891b99fa89a
-MISC ChangeLog 971 SHA256 9b077361a50e9373fdc98f4f958c5e77f224d9ada7fad965aa2967990d03274c SHA512 50ce7b548de43d7580ceb3ff6dd0d0a080d790e9031304c1095ace1852333e9511c3684db117b12db9edf4b4fa17d820244d5f760cd245a11257ab1e810d2017 WHIRLPOOL 8c6a61b97071179ca65bda2abf577db2f722f17b23d6513c497b08087eea95ab1bec8bd096b3f869fd1a94bc126403c0fb779e0f90d74e3467ab8a50c895d133
+EBUILD django-appconf-0.6.ebuild 1171 SHA256 609967e5fe5043a0103684a0390b499aa34455445ab7e3a07e862fe0b409b96d SHA512 6ac1a07d1824218dcdec1362904a976a411c3ef18807262bfc1021260251a2382a3189cfa960812a6f7dd251cbb894a98835e82178b78f2b2c49dda87068419e WHIRLPOOL 7482e5ef5f697ca7c6aa014e237e533cd2685705ccec6a0faa9b252a27f9a41761c82c839cbb72f88eaba1e511379251ee37830ab62a901270d3b3324d8126f3
+MISC ChangeLog 1088 SHA256 bebaea6bfab9341ee9f17333fb5daee90b7566e9e43cbce43be1cf8d7a03b17c SHA512 6388c04710ff720ee2b7cbf80c70f759d10a378e2fdf7b388a6b946a5f59dd02222d29d42a09fd796a8eebde70e553cf6cd2442f05583382b390542355615a22 WHIRLPOOL 6568fc82bcf5314c225fd5aeee7bbf6774fc7b20873134360c0d65064ada1ad7c4f619799ceec3192d757f00dae9943ed0ec38c62b535b63749c81cadcada35d
MISC metadata.xml 253 SHA256 e46efd590a64061ef839b703b4ea6f25ec8aa4b2e4da401c7ae00c74828de0c2 SHA512 8b47855847429a6f134541fe072f4b650f58e8ef0eb534e61c88442681429185b6ae3217512c69a427cf1309bad72fa7ab0d17bc62db76e4653081639224eac4 WHIRLPOOL 28eed9c27b29956e68cc70e1f74106f7e1b30a744c0cf045957cf80b5da93c05174f9a426ea7efef83ed07b7b3bdeb1c7139199e211837c5d4ec64870e0e7c69
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlGaWp4ACgkQso7CE7gHKw2F1gCcDb0XKYOtj437NDuCxfj3eg8F
-XusAn1oP9Muxz7jtsltSL7fE3c7XwZ9J
-=1a/K
+iF4EAREIAAYFAlGoC5AACgkQC77qH+pIQ6QqaAD/YG+uJwpoDxVCYQBSidEP4JOD
+ZBUzvNL69kKRLRtO+sIBAIW4YH3g2wRGp7CfyZtEeUhNVv+hEd9pYKrW9v5tyKGl
+=L+hz
-----END PGP SIGNATURE-----
diff --git a/dev-python/django-appconf/django-appconf-0.6.ebuild b/dev-python/django-appconf/django-appconf-0.6.ebuild
index f79df155535e..a24e10534adb 100644
--- a/dev-python/django-appconf/django-appconf-0.6.ebuild
+++ b/dev-python/django-appconf/django-appconf-0.6.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-appconf/django-appconf-0.6.ebuild,v 1.2 2013/05/20 17:17:00 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-appconf/django-appconf-0.6.ebuild,v 1.3 2013/05/31 02:31:42 floppym Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
@@ -11,7 +11,7 @@ DESCRIPTION="A helper class for handling configuration defaults of packaged apps
HOMEPAGE="http://pypi.python.org/pypi/django-appconf http://django-appconf.readthedocs.org/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
-IUSE="doc"
+IUSE="doc test"
LICENSE="BSD"
SLOT="0"
@@ -19,7 +19,9 @@ SLOT="0"
RDEPEND=">=dev-python/django-1.4.1[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ test? ( dev-python/django-discover-runner[${PYTHON_USEDEP}] )
+"
PATCHES=( "${FILESDIR}"/docs.patch )
@@ -28,17 +30,9 @@ python_compile_all() {
}
python_test() {
- export DJANGO_SETTINGS_MODULE="django.conf"
- export SECRET_KEY="green"
- pushd "${BUILD_DIR}"/lib > /dev/null
- if ! "${PYTHON}" -c \
- "from django.conf import global_settings;global_settings.SECRET_KEY='$SECRET_KEY'" \
- -m appconf.tests.tests
- then
- die "test failed under ${EPYTHON}"
- else
- einfo "tests passed under ${EPYTHON}"
- fi
+ set -- django-admin.py test appconf --settings=appconf.test_settings
+ echo "$@"
+ "$@" || die "Testing failed with ${EPYTHON}"
}
python_install_all() {