summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2013-05-22 07:48:57 +0000
committerIan Delaney <idella4@gentoo.org>2013-05-22 07:48:57 +0000
commit9d102bbdf7a47afaf304931e2707d63bd2b582ed (patch)
tree3da8da2185bb358f85e028a86f85d594821aba15 /dev-python/django-extensions/django-extensions-1.0.2-r1.ebuild
parentBump (diff)
downloadgentoo-2-9d102bbdf7a47afaf304931e2707d63bd2b582ed.tar.gz
gentoo-2-9d102bbdf7a47afaf304931e2707d63bd2b582ed.tar.bz2
gentoo-2-9d102bbdf7a47afaf304931e2707d63bd2b582ed.zip
revbump, migrate -> distutils-r1, drop old ebuilds
(Portage version: 2.1.11.62/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/django-extensions/django-extensions-1.0.2-r1.ebuild')
-rw-r--r--dev-python/django-extensions/django-extensions-1.0.2-r1.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/django-extensions/django-extensions-1.0.2-r1.ebuild b/dev-python/django-extensions/django-extensions-1.0.2-r1.ebuild
new file mode 100644
index 000000000000..4c1d7cfa53ab
--- /dev/null
+++ b/dev-python/django-extensions/django-extensions-1.0.2-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-extensions/django-extensions-1.0.2-r1.ebuild,v 1.1 2013/05/22 07:48:57 idella4 Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+
+inherit distutils-r1
+
+GIT_HASH_TAG="48fa7dd"
+
+DESCRIPTION="Django Command Extensions"
+HOMEPAGE="http://github.com/django-extensions/django-extensions http://code.google.com/p/django-command-extensions/"
+SRC_URI="http://github.com/django-extensions/django-extensions/tarball/${PV}/${P}.tgz"
+
+LICENSE="BSD || ( MIT GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc graphviz mysql postgres s3 sqlite vcard"
+
+RDEPEND="dev-python/django[mysql?,postgres?,sqlite?]
+ dev-python/pygments
+ dev-python/werkzeug
+ graphviz? ( dev-python/pygraphviz )
+ s3? ( dev-python/boto )
+ vcard? ( dev-python/vobject )"
+DEPEND="${RDEPEND}
+ dev-python/setuptools
+ doc? ( dev-python/sphinx )"
+
+S="${WORKDIR}/${PN}-${PN}-${GIT_HASH_TAG}"
+
+DOCS=( docs/AUTHORS README.rst )
+
+python_compile_all() {
+ use doc && emake -C docs html
+}
+
+python_test() {
+ "${PYTHON}" run_tests.py || die
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/_build/html/. )
+ distutils-r1_python_install_all
+}