From: Patrick Lauer Date: Thu, 19 Apr 2012 10:14:00 +0000 (+0000) Subject: Bump X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=17bee8b71985b708edeee4056091aab81367fb81;p=wtk-overlay.git Bump Package-Manager: portage-2.2.0_alpha100/cvs/Linux x86_64 --- diff --git a/ChangeLog b/ChangeLog index 6ae9026..d3174aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,12 @@ # ChangeLog for dev-python/south -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 # $Header$ +*south-0.7.4 (19 Apr 2012) + + 19 Apr 2012; Patrick Lauer +south-0.7.4.ebuild: + Bump + 13 Feb 2011; Petteri Räty south-0.7.2.ebuild, south-0.7.3.ebuild: Keyword for ~x86. diff --git a/south-0.7.4.ebuild b/south-0.7.4.ebuild new file mode 100644 index 0000000..dadbcc4 --- /dev/null +++ b/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$ + +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." +}