1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 SUPPORT_PYTHON_ABIS="1"
9 RESTRICT_PYTHON_ABIS="3.*"
13 DESCRIPTION="Intelligent schema migrations for Django apps."
14 HOMEPAGE="http://south.aeracode.org/"
15 SRC_URI="http://www.aeracode.org/releases/${PN}/${P}.tar.gz"
19 KEYWORDS="~amd64 ~x86"
22 RDEPEND="dev-python/django"
25 doc? ( dev-python/sphinx )"
27 # I should leave a very angry comment here
28 S="${WORKDIR}/andrewgodwin-south-738417d7a8ab/"
34 emake -C docs html || die "building docs failed"
41 use doc && dohtml -r docs/_build/html/*
45 distutils_pkg_postinst
46 elog "In order to use the south schema migrations for your Django project,"
47 elog "just add 'south' to your INSTALLED_APPS in the settings.py file."
48 elog "manage.py will now automagically offer the new functions."