From 8e372c00ec4076017d889501589d45e6b40bc2fe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tiziano=20M=C3=BCller?= Date: Mon, 3 Jun 2013 04:21:24 +0000 Subject: [PATCH] Version bump (bug #471824), fix tests to run for all python versions. Note: python 3.x support is still alpha and tests fail. Package-Manager: portage-2.1.11.63/cvs/Linux x86_64 Manifest-Sign-Key: 0x1E0CA85F! --- ChangeLog | 6 +++++ Manifest | 16 +++++++++--- south-0.8.1.ebuild | 61 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 79 insertions(+), 4 deletions(-) create mode 100644 south-0.8.1.ebuild diff --git a/ChangeLog b/ChangeLog index 2af4d91..8b75b3a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header$ +*south-0.8.1 (03 Jun 2013) + + 03 Jun 2013; Tiziano Müller +south-0.8.1.ebuild: + Version bump (bug #471824), fix tests to run for all python versions. Note: + python 3.x support is still alpha and tests fail. + *south-0.7.5-r1 (18 May 2013) *south-0.7.6 (18 May 2013) diff --git a/Manifest b/Manifest index 9fb14ce..e77ebdf 100644 --- a/Manifest +++ b/Manifest @@ -7,18 +7,26 @@ DIST south-0.7.3.tar.gz 112673 SHA256 ab1c72cd013fab2ddbef3100f2bf7a7f3d9fbc7169 DIST south-0.7.4.tar.gz 131682 SHA256 431aea5aee19944f3c18ffc44e873aa3444c40c6492900dfed9f0b47c7938c50 SHA512 2e2b88688880acb489eb959a0798155a25fbf0ff5ee4e6a501375872e6e43ac74e6e5d191ea881f1eb56f6b5fea2b91513f73dac120d9a2f84ed1cfa488b5aab WHIRLPOOL 11550efebdd3cb785717e9a443e3910135a1a367a2a1253dc6c3d83cf75539d2aaf8b78f0261a76af129c7858e184fea4291dfb1026baa840129530ccef5ae40 DIST south-0.7.5.tar.gz 134536 SHA256 e1f8bb50750b4e3eedf85106ea5d581488b6533885afdba91de81e07ac57ad12 SHA512 6696bb0b75132a1f6d11600834589af26008bdf53e55b1d8ab141392d68c62316abbeb02a3f850155b852232b5bc8326d2b415261eec667d5f591302ec952b70 WHIRLPOOL 417986c9fc7896f1f542c4ae49415e941bc641440d71de6c4093b87861d019342c7caca39e7ee43910ccb0dfd0ab2d8f3d9106d1f6974c4ea4d8ea8a24b3a588 DIST south-0.7.6.tar.gz 136861 SHA256 481197a915a017291f34b0e01a004f7e1a4c1b43354809177849d46def1d9a03 SHA512 4c2dce16d30a3739347a8b8578ad32a80f256d2d9c3f3d63c82a39bc531dbb0a0c7d548c3dcf2de3bf414accf934cb87d11b4c8eac3f8abf40949a2c112d77bd WHIRLPOOL 04115995db09c7c6c06125ebc4242cef29f1a5ee8c6d99c726f5a86d5b6b7d663cf9463fce05a347213ec17c0b5a4639aa744420a9124135fc78e49060c227c6 +DIST south-0.8.1.tar.gz 140335 SHA256 cd2496fea244c9a9d655758d8eccb5db888331b7d0a64f7eb2bacdb99a2fa150 SHA512 b2eae51854ae9d7abed2474495939ec80a88d2a9c046b24e4bc65d99b2c25b00482386cec11000f2001317fb5855fcb093d6df329b217d462d7112ef0b695655 WHIRLPOOL 173872bd22de1bcdb3eec0c62fdf0b4a48a017d786fb9f6997d0d6f66378fcb4d26d9b70404b3b70e1fadb5d76f3b39f0c1e4112cdd22ac07fe900179fc0f195 EBUILD south-0.7.2.ebuild 1129 SHA256 5b17315137d4ca7c345018812eea2403b0c171e7c266015bb929d419e653e9a0 SHA512 f2473b52b7d5c1fb32b0499c783b010ee646c9aec8b88b571cc612d01ba5634acc245449e7c96edffbe7b98869abcd2813a72fbdd5b45f4105e85aeefe7dc44b WHIRLPOOL 7f3dd94c252e6e0560aa264ae6b08dd1fc9e0787dc40b898c5dfb37df7200fad87f133434a9dfaf7acc2b9555ff50d2b98679faf0aa8a794b63757dac05a2c36 EBUILD south-0.7.3.ebuild 1129 SHA256 f97f0acda5c2a241f3d46a44c499639fc894dab3aca3ddc7a6cda80b6947f43a SHA512 022f529d13b59d128454836eac05a8697d9eb6ade7942792a6f5fb2bab0f5cdc5b90512af90453782331987e3c4ebf49a502005d528bf529321cf70fa0ca6d56 WHIRLPOOL 42fedf6998842f6ee344868ba6387411de3271e526a029202c50c1a996c9ae419a898c84dc4d40e7beb9dad57dce148315a973f05315dc6c72ad28e4deed8178 EBUILD south-0.7.4.ebuild 1196 SHA256 e121acfbefabad525dc533a358603d48265b3206407683c535c750884ac015d0 SHA512 3fafb57ce173700be90a58907fac193db11d32c8e40369609d0985c022ddd85a04bafcc58b02adbc593c9414240b6e1039612e3264baeafb48e9a4e9ab8ef943 WHIRLPOOL e7851e4802b4860f21121b59661c813c1a9ee95982d7c86f7d65281e0bfa79dc3c142be3b039607f54fde7c645d6b441b526081e24c39d47251326e6c9bafbb4 EBUILD south-0.7.5-r1.ebuild 1860 SHA256 91dcb36f1161a25109c6bc422b40ad9d3b0a21822a8d85fa032c7f09b93722b2 SHA512 e6de73fe36af308ff143c22351844cd07eaa0bdcbeb6fff05986645b1d658569fbb023544e90edb672303a07718dbf10813ef1a986813e4732c00246d71542bf WHIRLPOOL 892d65db7457e001d1edeb0907070bc00bb2cd34426dc0f3f195f576212c3ab6049731213313291fb45fac02a9b611db17af1f1ca3d0c13196d04b146cb32df9 EBUILD south-0.7.5.ebuild 1815 SHA256 e0452e3041f0ec878c11b8186d5726b03a1068be7dae4d0aac2a223fac1be177 SHA512 9adb139420fd6f30db597c2d19dafc9d5a88a17cff17d9af98a0d5befb0bc10b0f25d494bcc53e1a9bc68e7a374a326c8fb130c02b678daeecd6fa6339caf4b9 WHIRLPOOL a14a619907455f42c468230d7e874620fdf3e20655499b03284c3e6d82cbee099f2054b7b55d4b26abf11339439c0c800fe698152e7e9c1c2ae744d83be905ce EBUILD south-0.7.6.ebuild 1667 SHA256 369cad7738561d0f47adf897514d519eea7010adfd7465e2981944fd232fa2df SHA512 acdc364409969c5c9b79a97ec390444c51193cc718b60ce8fc1aada3c06245ac411365e8fbd96d8e3516bf3a7565c0d645aeb1adee60e75248dbed3ac9536b69 WHIRLPOOL 16b52b2560453486690fdb0a42627c910a1cf9879c28ee950d72360352290778251c095d9e2e5ac1f2c1136f8f464dc3e67c90172c3e5179f56b9c6002d22763 -MISC ChangeLog 1495 SHA256 ccb0aa790bdeb2ee42a81d5c20c01f68d8091e484120dc53c1fa167a74d60e05 SHA512 9554611fe7dc1160c1bd5d3af8f60b892d90cf9054e5d8471aaacf4c5c9b19161386aba06f1eb05a50100e689510016fbcd786290f125d30e5ea32cb7e9b6772 WHIRLPOOL 333fb29e51e57db781dea205880b8af48503dfd3c47fec093cc41899d1ff648db199f5a3885e0be0b03fafa758504b6f80cd1bfa44fd0515d8f8b9b4679bc1de +EBUILD south-0.8.1.ebuild 1750 SHA256 c42cd28bc4648a39dd82bd5746cfcd414583bb67f14e1037095d9d49fffd3fc2 SHA512 26ed4b0a3c40dce3bf3abd9812061e5a9fbb8831626576896f9b294d6250d1195f73a3ccf8e964bb7cb6a57d94fd688d41f00ec077dbd8c69d63772e9dfeb606 WHIRLPOOL bde96ca8c39b0e3768dc6b72cfa8c7e438edcfc8000df5b5ccd04cde9de56da884bb5d63af4e3870930286a29b09cbdaa0212b46bf0c34942793f8e9813ba854 +MISC ChangeLog 1730 SHA256 e82936587bdb8be73bad690b4bf0d4da97d023e4a1b2d7d391c2a2a541f91c69 SHA512 afbc005c20d312a18ba2271ae12c913aaa75d79d65295d5d16cee379d664c6d87488091da2e9854b0a9e04c1eaf024835dd563c7ea74a0d136a1f34248876a9f WHIRLPOOL c6561dc5df32507f3f3f32582af633f96425d27cbbd0ef01355d0f4e405bec779d16eb41a848480842f8e35fc40c47ba04d3aab5cde1e172f39c4d5c0b98a53d MISC metadata.xml 236 SHA256 8db85d348f1fcca741457358302188e30b7b1c0524a9a55820b935d8bcac959e SHA512 8086fc7bc2140d0b7b96293ba80717a8dcb88b255cc3906b5ac1ec4b9c67a412d3a51ad03a19e3b700a0235d0622b525ef85289f616646d47c698b3b54157b7e WHIRLPOOL 080a90e854f29d29d005f164fba91fc9e05f362460cd8f825ecb7f16d893a1cce1f7e842bf561918a491d156c48c1d8e4a60b177ab28667c067ee379d626de68 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlGXOzQACgkQso7CE7gHKw32zQCgsdL4CjzvLnpxOkahbdiZ4l5D -cm8An2EE+I8B/lE7wDMvn6BUZZq7ezkj -=H3bF +iQF8BAEBCABmBQJRrBm7XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1RjI0QTQ0MjI1OURBNzI4MEIyREExRkQx +RTdDRkM3NzFFMENBODVGAAoJEB58/HceDKhfgxEH/iBKrAYxKzCjc7L/e3+Ff+an +JDR7rz8lTH1/Zr4Pu0uetuPwMjr0VpIzSY3/rnxxtnVrm4GRCdhc0oTzME9dG6Aq +ZW8dyO0avzb5ukoFrH7LxLECWBFBWSut2PEVT4lhwSGQEVQXbaG7WsMESlR6/+5q +3Jac4FhuLwrVM+QORZeBg80DeLGYtlpsA0EGjEI5mUeIExBkwD7GX/P/pNl2YkcX +1BqhTEZgNOcXTg2si0kbXnB//0JzsYix1vuCugXt1HfxcSACnng5EUcdnLT5Ierc +zgxlwqngZkJjCX11ERhOk84fJq/nxL5IEV8Z/Hx56WCLAz3L5fm3pDnpRoGlGmY= +=Jdwt -----END PGP SIGNATURE----- diff --git a/south-0.8.1.ebuild b/south-0.8.1.ebuild new file mode 100644 index 0000000..061515f --- /dev/null +++ b/south-0.8.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) + +inherit vcs-snapshot distutils-r1 + +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 test" + +RDEPEND="dev-python/django[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx dev-python/jinja ) + test? ( dev-python/django[sqlite] )" + +# we are setting up the tests, but they fail + +python_compile_all() { + use doc && emake -C docs html +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) +} + +python_compile() { + distutils-r1_python_compile + if use test; then + cd "${BUILD_DIR}" + django-admin.py 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 + fi +} + +python_test() { + # http://south.aeracode.org/ticket/1256 + cd "${BUILD_DIR}/southtest" + "${EPYTHON}" manage.py test south || die "tests failed for ${EPYTHON}" +} + +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