diff options
author | Patrick Lauer <patrick@gentoo.org> | 2012-04-19 10:14:00 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2012-04-19 10:14:00 +0000 |
commit | 7ed58844e0576b7c08cc35c3b55514c5c35e3ee9 (patch) | |
tree | 51413d905c6c65fb342746cfda18ad68bb37f48b /dev-python/south/south-0.7.4.ebuild | |
parent | Bump (diff) | |
download | historical-7ed58844e0576b7c08cc35c3b55514c5c35e3ee9.tar.gz historical-7ed58844e0576b7c08cc35c3b55514c5c35e3ee9.tar.bz2 historical-7ed58844e0576b7c08cc35c3b55514c5c35e3ee9.zip |
Bump
Package-Manager: portage-2.2.0_alpha100/cvs/Linux x86_64
Diffstat (limited to 'dev-python/south/south-0.7.4.ebuild')
-rw-r--r-- | dev-python/south/south-0.7.4.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/south/south-0.7.4.ebuild b/dev-python/south/south-0.7.4.ebuild new file mode 100644 index 000000000000..8a58951a3095 --- /dev/null +++ b/dev-python/south/south-0.7.4.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/south/south-0.7.4.ebuild,v 1.1 2012/04/19 10:00:41 patrick Exp $ + +EAPI="3" + +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils + +DESCRIPTION="Intelligent schema migrations for Django apps." +HOMEPAGE="http://south.aeracode.org/" +SRC_URI="http://www.aeracode.org/releases/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND="dev-python/django" +DEPEND="${RDEPEND} + dev-python/setuptools + doc? ( dev-python/sphinx )" + +# I should leave a very angry comment here +S="${WORKDIR}/andrewgodwin-south-738417d7a8ab/" + +src_compile() { + distutils_src_compile + + if use doc ; then + emake -C docs html || die "building docs failed" + fi +} + +src_install() { + distutils_src_install + + use doc && dohtml -r docs/_build/html/* +} + +pkg_postinst() { + distutils_pkg_postinst + elog "In order to use the south schema migrations for your Django project," + elog "just add 'south' to your INSTALLED_APPS in the settings.py file." + elog "manage.py will now automagically offer the new functions." +} |