|
Lines 2-8
Link Here
|
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/south/south-0.7.4.ebuild,v 1.1 2012/04/19 10:00:41 patrick Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/south/south-0.7.4.ebuild,v 1.1 2012/04/19 10:00:41 patrick Exp $ |
| 4 |
|
4 |
|
| 5 |
EAPI="3" |
5 |
EAPI="4" |
| 6 |
|
6 |
|
| 7 |
PYTHON_DEPEND="2" |
7 |
PYTHON_DEPEND="2" |
| 8 |
SUPPORT_PYTHON_ABIS="1" |
8 |
SUPPORT_PYTHON_ABIS="1" |
|
Lines 10-18
Link Here
|
| 10 |
|
10 |
|
| 11 |
inherit distutils |
11 |
inherit distutils |
| 12 |
|
12 |
|
|
|
13 |
# I should leave a very angry comment here |
| 14 |
MY_P="andrewgodwin-south-3f6f2066c47c" |
| 13 |
DESCRIPTION="Intelligent schema migrations for Django apps." |
15 |
DESCRIPTION="Intelligent schema migrations for Django apps." |
| 14 |
HOMEPAGE="http://south.aeracode.org/" |
16 |
HOMEPAGE="http://south.aeracode.org/" |
| 15 |
SRC_URI="http://www.aeracode.org/releases/${PN}/${P}.tar.gz" |
17 |
SRC_URI="https://bitbucket.org/andrewgodwin/south/get/${PV}.tar.gz -> {P}.tar.gz" |
|
|
18 |
# The tarball @aeracode.org is completely missing the docs |
| 19 |
#SRC_URI="http://www.aeracode.org/releases/${PN}/${P}.tar.gz" |
| 16 |
|
20 |
|
| 17 |
LICENSE="Apache-2.0" |
21 |
LICENSE="Apache-2.0" |
| 18 |
SLOT="0" |
22 |
SLOT="0" |
|
Lines 22-37
Link Here
|
| 22 |
RDEPEND="dev-python/django" |
26 |
RDEPEND="dev-python/django" |
| 23 |
DEPEND="${RDEPEND} |
27 |
DEPEND="${RDEPEND} |
| 24 |
dev-python/setuptools |
28 |
dev-python/setuptools |
| 25 |
doc? ( dev-python/sphinx )" |
29 |
doc? ( dev-python/sphinx |
|
|
30 |
dev-python/jinja )" |
| 26 |
|
31 |
|
| 27 |
# I should leave a very angry comment here |
32 |
S="${WORKDIR}/${MY_P}/" |
| 28 |
S="${WORKDIR}/andrewgodwin-south-738417d7a8ab/" |
|
|
| 29 |
|
33 |
|
| 30 |
src_compile() { |
34 |
src_compile() { |
| 31 |
distutils_src_compile |
35 |
distutils_src_compile |
| 32 |
|
36 |
|
| 33 |
if use doc ; then |
37 |
if use doc ; then |
| 34 |
emake -C docs html || die "building docs failed" |
38 |
emake -C docs html |
| 35 |
fi |
39 |
fi |
| 36 |
} |
40 |
} |
| 37 |
|
41 |
|
|
Lines 47-49
Link Here
|
| 47 |
elog "just add 'south' to your INSTALLED_APPS in the settings.py file." |
51 |
elog "just add 'south' to your INSTALLED_APPS in the settings.py file." |
| 48 |
elog "manage.py will now automagically offer the new functions." |
52 |
elog "manage.py will now automagically offer the new functions." |
| 49 |
} |
53 |
} |
|
|
54 |
# tests are a no go; http://south.aeracode.org/ticket/1090 |