blob: b1a214a8c2e8d9b3250653a376e43957641997c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-extensions/django-extensions-0.8.ebuild,v 1.1 2012/05/09 19:09:42 neurogeek Exp $
EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
inherit distutils
GIT_HASH_TAG="0f498ff"
PYTHON_MODNAME="django_extensions"
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}
doc? ( dev-python/sphinx )"
S="${WORKDIR}/${PN}-${PN}-${GIT_HASH_TAG}"
DOCS="docs/AUTHORS docs/*.rst"
src_compile() {
distutils_src_compile
if use doc ; then
emake -C docs html || die "generating html docs failed"
fi
}
src_install() {
distutils_src_install
use doc && dohtml -r docs/_build/html/*
}
|