aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <della5@iinet.com.au>2012-04-19 21:50:51 +0800
committerIan Delaney <della5@iinet.com.au>2012-04-19 21:50:51 +0800
commitf7509641f485e5efd1a863101e45fe47f9afa5a0 (patch)
treeecd4e50e247a1df3bf12ba08e9376ec3edd3a3c2
parent[dev-util/reviewboard] New ebuild; update to testfixtures (diff)
downloadimprovise-f7509641f485e5efd1a863101e45fe47f9afa5a0.tar.gz
improvise-f7509641f485e5efd1a863101e45fe47f9afa5a0.tar.bz2
improvise-f7509641f485e5efd1a863101e45fe47f9afa5a0.zip
[dev-python/django-appconf] New ebuild, edit tampakrap's file
-rw-r--r--dev-python/django-appconf/Manifest1
-rw-r--r--dev-python/django-appconf/django-appconf-0.5.ebuild57
-rw-r--r--dev-python/django-appconf/metadata.xml11
-rw-r--r--sets/tampakrap-requested-packages10
4 files changed, 76 insertions, 3 deletions
diff --git a/dev-python/django-appconf/Manifest b/dev-python/django-appconf/Manifest
new file mode 100644
index 0000000..0ac6fc3
--- /dev/null
+++ b/dev-python/django-appconf/Manifest
@@ -0,0 +1 @@
+DIST django-appconf-0.5.tar.gz 14537 SHA256 fe5ddcd6b701727afc4b3dee8967d1b20137e2f4ccb025c1d17e5e0c59696c5f SHA512 43a8bda2be8626534984dc292b6aa0d060477a771657355dbbf5fcad10d0eb6b830d23d15241fc81309486e0b2e0bac62483cf797364172bd53c43622d436595 WHIRLPOOL 61bb1adb41a5092bfa9a42a7190c5125cce49065b55b1e566b61cd4520507e469e39ac718d15feeacc69c76270ae57aa5192b46616cf46d12ffb36f28292bf07
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..f323bf5
--- /dev/null
+++ b/dev-python/django-appconf/django-appconf-0.5.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS=1
+RESTRICT_PYTHON_ABIS="3.*" # works AOK with pypy
+inherit distutils
+
+DESCRIPTION="A helper class for handling configuration defaults of packaged apps gracefully"
+HOMEPAGE="http://pypi.python.org/pypi/django-appconf/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+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
+}
+
+src_compile() {
+ if use doc; then
+ emake -C docs pickle htmlhelp
+ fi
+}
+
+src_test() {
+ export DJANGO_SETTINGS_MODULE="django.conf"
+ testing() {
+ PYTHONPATH=. "$(PYTHON)" appconf/tests/tests.py
+ einfo "tests completed successfully"
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ if use doc; then
+ dohtml -r docs/
+ mv ${ED}usr/share/doc/${PF}/html/_build/{htmlhelp,pickle} ${ED}usr/share/doc/${PF}/html/ \
+ || die
+ rmdir ${ED}usr/share/doc/${PF}/html/_build || die
+
+ insinto usr/share/doc/${PF}/html/doctrees
+ doins docs/_build/doctrees/*
+ fi
+}
diff --git a/dev-python/django-appconf/metadata.xml b/dev-python/django-appconf/metadata.xml
new file mode 100644
index 0000000..5366461
--- /dev/null
+++ b/dev-python/django-appconf/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+ <maintainer><email>tampakrap@gentoo.org</email></maintainer>
+ <maintainer>
+ <email>della5@iinet.com.au</email>
+ <name>Ian Delaney aka idella4 proxy maintainer</name>
+ </maintainer>
+
+</pkgmetadata>
diff --git a/sets/tampakrap-requested-packages b/sets/tampakrap-requested-packages
index 96fea3e..5ede0b5 100644
--- a/sets/tampakrap-requested-packages
+++ b/sets/tampakrap-requested-packages
@@ -24,7 +24,11 @@ kde-misc/nvidiadevicemonitor
# REQUESTS
# reviewboard: http://www.reviewboard.org/
-# django-social-auth
-# http://code.google.com/p/django-ldap-groups/
# http://opensource.bolloretelecom.eu/projects/django-ldapdb/
-# http://code.google.com/p/django-cron/
+# http://pypi.python.org/pypi/django_compressor/1.1.2
+# http://pypi.python.org/pypi/nose-cover3/0.1.0 # https://github.com/iksaif/
+# http://pypi.python.org/pypi/cl # https://github.com/iksaif/
+# http://pypi.python.org/pypi/multiprocessing
+# http://pypi.python.org/pypi/django-celery/2.5.4 # https://github.com/iksaif/
+# http://pypi.python.org/pypi/django-appconf/
+# http://pypi.python.org/pypi/celery/ # https://github.com/iksaif/