# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header$
+*south-0.7.5 (28 May 2012)
+
+ 28 May 2012; Tiziano Müller <dev-zero@gentoo.org> +south-0.7.5.ebuild:
+ Version bump (bug #417713, thanks to Ian Delaney).
+
*south-0.7.4 (19 Apr 2012)
19 Apr 2012; Patrick Lauer <patrick@gentoo.org> +south-0.7.4.ebuild:
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST south-0.7.2.tar.gz 110527 RMD160 d449770b6027d03c415686881081bd87e5ada519 SHA1 de68b4f3f2953eab2848e672f537b63eb4bce631 SHA256 003fdcc1af01fda473d0f92f7f5afc25a75756a2a04acfb76c9a1d41a5db4211
DIST south-0.7.3.tar.gz 112673 RMD160 4c0a56139905624480f6b18b3ee3d81a7a13cb29 SHA1 f5a1e811f4c028874c7e617e7eba60d0a9e9dd71 SHA256 ab1c72cd013fab2ddbef3100f2bf7a7f3d9fbc7169cd3e6c181060c17fdeea97
DIST south-0.7.4.tar.gz 131682 RMD160 117b391d56bd363ab7aeadc4a17fcd08c213318b SHA1 645efa0d8bfa9f12bd58086313fb8b78e9adbeb4 SHA256 431aea5aee19944f3c18ffc44e873aa3444c40c6492900dfed9f0b47c7938c50
+DIST south-0.7.5.tar.gz 134536 RMD160 8d612d027ad80960e90f97fa5e60de7b2859da7a SHA1 f378bd8d368613ed3b35aab4c01014ee6daf568e SHA256 e1f8bb50750b4e3eedf85106ea5d581488b6533885afdba91de81e07ac57ad12
EBUILD south-0.7.2.ebuild 1129 RMD160 f49496fad5dae3374de81f572985dc35d425192d SHA1 ac693a6410953607b3814756ef0f965fa327d4bc SHA256 5b17315137d4ca7c345018812eea2403b0c171e7c266015bb929d419e653e9a0
EBUILD south-0.7.3.ebuild 1129 RMD160 9b4bca19688b83c2341d24866678adc5a4c714a1 SHA1 e1544ba164ae561a0c2c4566003b7184e63e523f SHA256 f97f0acda5c2a241f3d46a44c499639fc894dab3aca3ddc7a6cda80b6947f43a
EBUILD south-0.7.4.ebuild 1196 RMD160 6ce055ce3492dbf323642f538d4a4af5d01fcb0e SHA1 1e89ad3c76f811f2724cae985e4abf2aca36f138 SHA256 e121acfbefabad525dc533a358603d48265b3206407683c535c750884ac015d0
-MISC ChangeLog 717 RMD160 442ff48658037bee417532e3731f3fadaf396344 SHA1 d41e3a668cf9a36f00e9f0f9a68590fc082e84e4 SHA256 526c2ffe1df0811a8fbf55ce56d19af78fa4fda74b8e55f29848a98137e1e720
+EBUILD south-0.7.5.ebuild 1805 RMD160 253a17626576b90ee13ba9362750dbe0728eb098 SHA1 e2d9899f4aff3d1701a404d16be8508adf487ee5 SHA256 81acaba44561dfe102461c8dc966893d2c0e36b00961f2fb6d55e6e43129d65b
+MISC ChangeLog 874 RMD160 1be5ef1a74294c3b293750c997c4ac701a29fb9a SHA1 297657e799542f4aa7358eebfd692c8af8862b71 SHA256 785bba7f6b6f781cfd9bb40117413f1a5a5fbb5a34ad863f92b0c9fc9c9e2a97
MISC metadata.xml 236 RMD160 f6480b45266f014fda8b31f12ee91c2f28a35cba SHA1 0817f4eccce10f1acfcc60e51ae595d7874d7d60 SHA256 8db85d348f1fcca741457358302188e30b7b1c0524a9a55820b935d8bcac959e
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iEYEARECAAYFAk/D0xwACgkQGwVqY66cHjDS2wCghGdxOynok5dn5qeVnVnzPtPm
+aHEAoIJFjnILnLY+YZb54Bcaw+WkP18T
+=15bJ
+-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header$
+
+EAPI="4"
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.5 3.*"
+
+inherit distutils
+
+DESCRIPTION="Intelligent schema migrations for Django apps."
+HOMEPAGE="http://south.aeracode.org/"
+SRC_URI="https://bitbucket.org/andrewgodwin/south/get/${PV}.tar.gz -> ${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 dev-python/jinja )"
+
+# we are setting up the tests, but they fail
+RESTRICT="test"
+
+src_unpack() {
+ default
+ mv "${WORKDIR}"/*-south-* "${S}"
+}
+
+src_compile() {
+ distutils_src_compile
+
+ use doc && emake -C docs html
+}
+
+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."
+}
+
+src_test() {
+ testing() {
+ mkdir -p "${T}/test-${PYTHON_ABI}"
+ cd "${T}/test-${PYTHON_ABI}"
+
+ django-admin.py-${PYTHON_ABI} startproject southtest || die "setting up test env failed"
+ cd southtest
+ sed -i \
+ -e "/^INSTALLED_APPS/a\ 'south'," \
+ -e 's/\(django.db.backends.\)/\1sqlite3/' \
+ -e "s/\(NAME': '\)/\1test.db/" \
+ southtest/settings.py || die "sed failed"
+ echo "SKIP_SOUTH_TESTS=False" >> southtest/settings.py
+ PYTHONPATH="${S}/build-${PYTHON_ABI}/lib" "$(PYTHON)" manage.py test south || die "tests failed"
+ }
+ python_execute_function testing
+}