aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <della5@iinet.com.au>2012-04-30 15:55:45 +0800
committerIan Delaney <della5@iinet.com.au>2012-04-30 15:55:45 +0800
commit649a303d7fadcd0dcd4bbc953fc1d6dcd10618cd (patch)
tree95410ac6c8f98e153ee96c42919e15bfff461483
parent[dev-python/mimeparse] rem PYTHONPATH from src_test (diff)
downloadimprovise-649a303d7fadcd0dcd4bbc953fc1d6dcd10618cd.tar.gz
improvise-649a303d7fadcd0dcd4bbc953fc1d6dcd10618cd.tar.bz2
improvise-649a303d7fadcd0dcd4bbc953fc1d6dcd10618cd.zip
[dev-python/[django-appconf,django-evolution]] Re-added && updated
-rw-r--r--dev-python/django-appconf/ChangeLog10
-rw-r--r--dev-python/django-appconf/Manifest4
-rw-r--r--dev-python/django-appconf/django-appconf-0.5.ebuild59
-rw-r--r--dev-python/django-appconf/metadata.xml14
-rw-r--r--dev-python/django-evolution/django-evolution-0.6.7.ebuild2
5 files changed, 88 insertions, 1 deletions
diff --git a/dev-python/django-appconf/ChangeLog b/dev-python/django-appconf/ChangeLog
new file mode 100644
index 0000000..39f6dec
--- /dev/null
+++ b/dev-python/django-appconf/ChangeLog
@@ -0,0 +1,10 @@
+# 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 $
+
+*django-appconf-0.5 (25 Apr 2012)
+
+ 25 Apr 2012; Theo Chatzimichos <tampakrap@gentoo.org>
+ +django-appconf-0.5.ebuild, +metadata.xml:
+ Initial commit, ebuild by idella4
+
diff --git a/dev-python/django-appconf/Manifest b/dev-python/django-appconf/Manifest
new file mode 100644
index 0000000..97c7db5
--- /dev/null
+++ b/dev-python/django-appconf/Manifest
@@ -0,0 +1,4 @@
+DIST django-appconf-0.5.tar.gz 14537 RMD160 f9f70330f6179ff3b6647625b338b9f15997f9ad SHA1 517b54713e9f6ec07f8e0df362d2cd886e82e87a SHA256 fe5ddcd6b701727afc4b3dee8967d1b20137e2f4ccb025c1d17e5e0c59696c5f
+EBUILD django-appconf-0.5.ebuild 1563 RMD160 3dd3a2f46e0c9b2f9fc1c6872c51cd8e464a3834 SHA1 03ce20cb283618eb6bc1148f1579d624245f5082 SHA256 b007bbf470daf46288190c937c979973820adf544a4d7b3ea56c89c44a17d512
+MISC ChangeLog 399 RMD160 273267c16b4c591890664775076caeaaf5e54785 SHA1 4cdeba633c6d9937ee05eac4de6676534531a05c SHA256 e2c5181af743a1c7925ad9a0d7362be3290870ef8ef98003f2951799a72daf5a
+MISC metadata.xml 354 RMD160 091888911fc3977462b1015a07a860a68ab6ee9e SHA1 dfd9a92e0cdac92fbeccaae8038db941a4273b09 SHA256 286b386bcfeeacbeace854ed0f9904d845b8397b957963d95bae64534a6decb2
diff --git a/dev-python/django-appconf/django-appconf-0.5.ebuild b/dev-python/django-appconf/django-appconf-0.5.ebuild
new file mode 100644
index 0000000..4b1f5ce
--- /dev/null
+++ b/dev-python/django-appconf/django-appconf-0.5.ebuild
@@ -0,0 +1,59 @@
+# 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 $
+
+EAPI=4
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS=1
+RESTRICT_PYTHON_ABIS="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//"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+LICENSE="BSD"
+SLOT="0"
+
+PYTHON_MODNAME="appconf"
+
+RDEPEND=""
+DEPEND="${RDEPEND} >=dev-python/django-1.1.4
+ dev-python/setuptools
+ doc? ( dev-python/sphinx )"
+
+src_compile() {
+ if use doc; then
+ emake -C docs pickle htmlhelp
+ fi
+ distutils_src_compile
+}
+
+src_test() {
+ export DJANGO_SETTINGS_MODULE="django.conf"
+ testing() {
+ # python2.5 does not import correctly
+ [[ $(python_get_version) = 2.5 ]] && return
+ pushd build-${PYTHON_ABI}/lib > /dev/null
+ "$(PYTHON)" -m appconf.tests.tests
+ einfo "tests completed for python"$(python_get_version)
+ einfo ""
+ popd > /dev/null
+ }
+
+ python_execute_function testing
+}
+
+src_install() {
+ if use doc; then
+ dohtml -r docs/_build
+
+ insinto usr/share/doc/${PF}/html/doctrees
+ doins -r docs/_build/doctrees/
+ fi
+
+ distutils_src_install
+}
diff --git a/dev-python/django-appconf/metadata.xml b/dev-python/django-appconf/metadata.xml
new file mode 100644
index 0000000..472ba46
--- /dev/null
+++ b/dev-python/django-appconf/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>johneed@hotmail.com</email>
+ <name>Ian Delaney</name>
+ </maintainer>
+ <maintainer>
+ <email>tampakrap@gentoo.org</email>
+ <name>Theo Chatzimichos</name>
+ </maintainer>
+ <herd>python</herd>
+</pkgmetadata>
+
diff --git a/dev-python/django-evolution/django-evolution-0.6.7.ebuild b/dev-python/django-evolution/django-evolution-0.6.7.ebuild
index 319236e..676480d 100644
--- a/dev-python/django-evolution/django-evolution-0.6.7.ebuild
+++ b/dev-python/django-evolution/django-evolution-0.6.7.ebuild
@@ -29,7 +29,7 @@ DEPEND="${RDEPEND}
src_test() {
testing() {
- PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" tests/runtests.py
+ PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib/)" "$(PYTHON)" tests/runtests.py
}
python_execute_function testing
}