From a1547cb86a2fcfdcac8de5fca0093442e9cfe571 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tiziano=20M=C3=BCller?= Date: Fri, 27 Aug 2010 17:27:31 +0000 Subject: [PATCH] Initial commit (bug #262923). Package-Manager: portage-2.2_rc67/cvs/Linux x86_64 --- ChangeLog | 10 ++++++++++ Manifest | 4 ++++ metadata.xml | 9 +++++++++ south-0.7.2.ebuild | 48 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 71 insertions(+) create mode 100644 ChangeLog create mode 100644 Manifest create mode 100644 metadata.xml create mode 100644 south-0.7.2.ebuild diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..1b9fb3a --- /dev/null +++ b/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/south +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header$ + +*south-0.7.2 (27 Aug 2010) + + 27 Aug 2010; Tiziano Müller +south-0.7.2.ebuild, + +metadata.xml: + Initial commit (bug #262923). + diff --git a/Manifest b/Manifest new file mode 100644 index 0000000..bf68de2 --- /dev/null +++ b/Manifest @@ -0,0 +1,4 @@ +DIST south-0.7.2.tar.gz 110527 RMD160 d449770b6027d03c415686881081bd87e5ada519 SHA1 de68b4f3f2953eab2848e672f537b63eb4bce631 SHA256 003fdcc1af01fda473d0f92f7f5afc25a75756a2a04acfb76c9a1d41a5db4211 +EBUILD south-0.7.2.ebuild 1122 RMD160 a92cabe970eaf172d38b1d7d507f23cc5ba64f66 SHA1 030b5acac960b44bf503dcd81f44cfe63576b991 SHA256 59a190b726d211bb9e1aa8c18686b3fb41bda4a447a1a263013e32e8c4132275 +MISC ChangeLog 359 RMD160 599107623d4e2f89878e9526bd6e0b3592d0cd9a SHA1 bd15b7f8ff7da62599e1705bc6d9e0e96ff07d59 SHA256 357a89bedc6394c9bea0e9672f29b104df479136cbc1b4ea0ccaa701ccfc2e00 +MISC metadata.xml 258 RMD160 f41059a7f29a2b5493ad80203a94a9a519bc5dcf SHA1 ebaf62e3133e26efd7eaac694e53d0398c2bc0de SHA256 79e17085ca01237995cedc73430ae1c4bbd3092968cffe18ea41237f7a2c1939 diff --git a/metadata.xml b/metadata.xml new file mode 100644 index 0000000..78170ac --- /dev/null +++ b/metadata.xml @@ -0,0 +1,9 @@ + + + + no-herd + + dev-zero@gentoo.org + Tiziano Müller + + diff --git a/south-0.7.2.ebuild b/south-0.7.2.ebuild new file mode 100644 index 0000000..f071ca7 --- /dev/null +++ b/south-0.7.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2010 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" +IUSE="doc" + +RDEPEND="dev-python/django" +DEPEND="${RDEPEND} + dev-python/setuptools + doc? ( dev-python/sphinx )" + +S="${WORKDIR}/${PN}" + +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." +} -- 2.26.2