summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2012-04-25 12:25:31 +0000
committerTheo Chatzimichos <tampakrap@gentoo.org>2012-04-25 12:25:31 +0000
commitf6984349b3bca65f9ceb141b53c2e2ac84aa2eef (patch)
treec5b40adb2d400c9876bc2b5592be268716c22bd3 /dev-python/django-appconf
parentchanged to new handling portage own epatch_user, VDR_LOCAL_PATCHES_DIR is obs... (diff)
downloadgentoo-2-f6984349b3bca65f9ceb141b53c2e2ac84aa2eef.tar.gz
gentoo-2-f6984349b3bca65f9ceb141b53c2e2ac84aa2eef.tar.bz2
gentoo-2-f6984349b3bca65f9ceb141b53c2e2ac84aa2eef.zip
Initial commit, ebuild by idella4
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/django-appconf')
-rw-r--r--dev-python/django-appconf/ChangeLog10
-rw-r--r--dev-python/django-appconf/Manifest3
-rw-r--r--dev-python/django-appconf/django-appconf-0.5.ebuild61
-rw-r--r--dev-python/django-appconf/metadata.xml14
4 files changed, 88 insertions, 0 deletions
diff --git a/dev-python/django-appconf/ChangeLog b/dev-python/django-appconf/ChangeLog
new file mode 100644
index 000000000000..39f6dec794be
--- /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 000000000000..74422c69683f
--- /dev/null
+++ b/dev-python/django-appconf/Manifest
@@ -0,0 +1,3 @@
+DIST django-appconf-0.5.tar.gz 14537 RMD160 f9f70330f6179ff3b6647625b338b9f15997f9ad SHA1 517b54713e9f6ec07f8e0df362d2cd886e82e87a SHA256 fe5ddcd6b701727afc4b3dee8967d1b20137e2f4ccb025c1d17e5e0c59696c5f
+EBUILD django-appconf-0.5.ebuild 1319 RMD160 23b15ac19702117c90da006ebc9502745ebdb7fb SHA1 12f91867eb0cf9cc6b7f003a65b9a37d8818723c SHA256 9c4da8f3bf8abb5992dd74390652ce02bfc645de7bd474a26443877e3ddb1720
+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 000000000000..3f852e0d1906
--- /dev/null
+++ b/dev-python/django-appconf/django-appconf-0.5.ebuild
@@ -0,0 +1,61 @@
+# 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_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
+ fi
+ distutils_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 ""
+ }
+
+ 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 000000000000..472ba4684030
--- /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>
+