summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2012-05-16 13:32:04 +0000
committerTheo Chatzimichos <tampakrap@gentoo.org>2012-05-16 13:32:04 +0000
commit0546d269dbc965e404410a27f1582cbe224ffc69 (patch)
treef88826d688d089fe2e5e36a5a6bd9c03897025b1 /dev-python/django-appconf
parentDepend on virtual/ffmpeg as i compiled all the versions with current stable l... (diff)
downloadhistorical-0546d269dbc965e404410a27f1582cbe224ffc69.tar.gz
historical-0546d269dbc965e404410a27f1582cbe224ffc69.tar.bz2
historical-0546d269dbc965e404410a27f1582cbe224ffc69.zip
src_prepare removed and instead uses ' -m' for importing modules, src_test adjusted accordingly, PYTHON_DEPEND->2:2.6, changes done by idella4
Package-Manager: portage-2.2.0_alpha104/cvs/Linux x86_64
Diffstat (limited to 'dev-python/django-appconf')
-rw-r--r--dev-python/django-appconf/ChangeLog7
-rw-r--r--dev-python/django-appconf/Manifest14
-rw-r--r--dev-python/django-appconf/django-appconf-0.5.ebuild24
3 files changed, 17 insertions, 28 deletions
diff --git a/dev-python/django-appconf/ChangeLog b/dev-python/django-appconf/ChangeLog
index 39f6dec794be..ae428f966cd0 100644
--- a/dev-python/django-appconf/ChangeLog
+++ b/dev-python/django-appconf/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/django-appconf
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django-appconf/ChangeLog,v 1.1 2012/04/25 12:25:31 tampakrap Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-appconf/ChangeLog,v 1.2 2012/05/16 13:32:04 tampakrap Exp $
+
+ 16 May 2012; Theo Chatzimichos <tampakrap@gentoo.org>
+ django-appconf-0.5.ebuild:
+ src_prepare removed and instead uses ' -m' for importing modules, src_test
+ adjusted accordingly, PYTHON_DEPEND->2:2.6, changes done by idella4
*django-appconf-0.5 (25 Apr 2012)
diff --git a/dev-python/django-appconf/Manifest b/dev-python/django-appconf/Manifest
index 83f63d4d034f..5a0573197345 100644
--- a/dev-python/django-appconf/Manifest
+++ b/dev-python/django-appconf/Manifest
@@ -1,14 +1,4 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST django-appconf-0.5.tar.gz 14537 RMD160 f9f70330f6179ff3b6647625b338b9f15997f9ad SHA1 517b54713e9f6ec07f8e0df362d2cd886e82e87a SHA256 fe5ddcd6b701727afc4b3dee8967d1b20137e2f4ccb025c1d17e5e0c59696c5f
-EBUILD django-appconf-0.5.ebuild 1435 RMD160 c9e14a62ae6f62f33beca7055e2f07a21f94582c SHA1 bc7d7025a90d43211bae93c107f7ed3b4cc85448 SHA256 7ea5b46f5e3e13e1ad89dd093bd83cbe0a0a4098bb9b3c54bb87f03e0a1de63f
-MISC ChangeLog 399 RMD160 273267c16b4c591890664775076caeaaf5e54785 SHA1 4cdeba633c6d9937ee05eac4de6676534531a05c SHA256 e2c5181af743a1c7925ad9a0d7362be3290870ef8ef98003f2951799a72daf5a
+EBUILD django-appconf-0.5.ebuild 1243 RMD160 7850fb2b15816e9436d64d1498791680e3ed5db1 SHA1 a5d1714a0f6dfc7694f7c06cdd61ada9ec046291 SHA256 66e5f0c0ef390892224ceac9fd5d98b56893e7f4c8b4a19441b2a3b9ef348dc8
+MISC ChangeLog 632 RMD160 04c04a521924edde940a082bca02dd84c5ff08a5 SHA1 0cc41ad7574ed7d55666b8e5a2eedfdd3b220c1d SHA256 28221d91de67d9e1e73f5d96ff7bca56c12e3870c901f52cfcd0cba7ec54feb3
MISC metadata.xml 354 RMD160 091888911fc3977462b1015a07a860a68ab6ee9e SHA1 dfd9a92e0cdac92fbeccaae8038db941a4273b09 SHA256 286b386bcfeeacbeace854ed0f9904d845b8397b957963d95bae64534a6decb2
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iEYEARECAAYFAk+X7UUACgkQjDdoMVfcAHg7GwCdFhzAVuKcbO71yUg7DAL1AyVr
-jEsAn1lEIv4ljZ8o4kobVpAdA+agI/yt
-=vccQ
------END PGP SIGNATURE-----
diff --git a/dev-python/django-appconf/django-appconf-0.5.ebuild b/dev-python/django-appconf/django-appconf-0.5.ebuild
index 3f852e0d1906..ff6eb00cdb84 100644
--- a/dev-python/django-appconf/django-appconf-0.5.ebuild
+++ b/dev-python/django-appconf/django-appconf-0.5.ebuild
@@ -1,16 +1,16 @@
# Copyright 1999-2012 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.5.ebuild,v 1.1 2012/04/25 12:25:31 tampakrap Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-appconf/django-appconf-0.5.ebuild,v 1.2 2012/05/16 13:32:04 tampakrap Exp $
EAPI=4
-PYTHON_DEPEND="2"
+PYTHON_DEPEND="2:2.6"
SUPPORT_PYTHON_ABIS=1
-RESTRICT_PYTHON_ABIS="3.*"
+RESTRICT_PYTHON_ABIS="2.5 3.*"
inherit distutils
DESCRIPTION="A helper class for handling configuration defaults of packaged apps gracefully"
-HOMEPAGE="http://pypi.python.org/pypi/django-appconf http://django-appconf.readthedocs.org//"
+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"
@@ -20,17 +20,11 @@ SLOT="0"
PYTHON_MODNAME="appconf"
-RDEPEND=""
-DEPEND="${RDEPEND} >=dev-python/django-1.1.4
+RDEPEND=">=dev-python/django-1.1.4"
+DEPEND="${RDEPEND}
dev-python/setuptools
doc? ( dev-python/sphinx )"
-src_prepare() {
- sed -e 's:from .models:from models:' -i appconf/tests/tests.py || die
- sed -e 's:\[-2\]:\[-1\]:' -i appconf/base.py || die
- distutils_src_prepare
-}
-
src_compile() {
if use doc; then
emake -C docs pickle htmlhelp
@@ -41,9 +35,9 @@ src_compile() {
src_test() {
export DJANGO_SETTINGS_MODULE="django.conf"
testing() {
- PYTHONPATH=. "$(PYTHON)" appconf/tests/tests.py
- einfo "tests completed successfully for python"$(python_get_version)
- einfo ""
+ pushd build-${PYTHON_ABI}/lib > /dev/null
+ "$(PYTHON)" -m appconf.tests.tests
+ popd > /dev/null
}
python_execute_function testing