Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/south: south-0.8.4.ebuild ChangeLog south-0.7.3.ebuild south-0.7.4.ebuild south-0.7.2.ebuild south-0.7.6.ebuild south-0.8.1.ebuild
Date: Fri, 20 Jun 2014 01:56:05
Message-Id: 20140620015600.E04E92004E@flycatcher.gentoo.org
1 idella4 14/06/20 01:56:00
2
3 Modified: ChangeLog
4 Added: south-0.8.4.ebuild
5 Removed: south-0.7.3.ebuild south-0.7.4.ebuild
6 south-0.7.2.ebuild south-0.7.6.ebuild
7 south-0.8.1.ebuild
8 Log:
9 bump; add py3 pypy support, fix test phase, closes Bug #513540
10
11 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
12
13 Revision Changes Path
14 1.14 dev-python/south/ChangeLog
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/south/ChangeLog?rev=1.14&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/south/ChangeLog?rev=1.14&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/south/ChangeLog?r1=1.13&r2=1.14
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/dev-python/south/ChangeLog,v
23 retrieving revision 1.13
24 retrieving revision 1.14
25 diff -u -r1.13 -r1.14
26 --- ChangeLog 13 Mar 2014 15:01:21 -0000 1.13
27 +++ ChangeLog 20 Jun 2014 01:56:00 -0000 1.14
28 @@ -1,6 +1,13 @@
29 # ChangeLog for dev-python/south
30 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/dev-python/south/ChangeLog,v 1.13 2014/03/13 15:01:21 mgorny Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/dev-python/south/ChangeLog,v 1.14 2014/06/20 01:56:00 idella4 Exp $
33 +
34 +*south-0.8.4 (20 Jun 2014)
35 +
36 + 20 Jun 2014; Ian Delaney <idella4@g.o> +south-0.8.4.ebuild,
37 + -south-0.7.2.ebuild, -south-0.7.3.ebuild, -south-0.7.4.ebuild,
38 + -south-0.7.6.ebuild, -south-0.8.1.ebuild:
39 + bump; add py3 pypy support, fix test phase, closes Bug #513540
40
41 *south-0.8.1-r1 (13 Mar 2014)
42
43
44
45
46 1.1 dev-python/south/south-0.8.4.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/south/south-0.8.4.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/south/south-0.8.4.ebuild?rev=1.1&content-type=text/plain
50
51 Index: south-0.8.4.ebuild
52 ===================================================================
53 # Copyright 1999-2014 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/dev-python/south/south-0.8.4.ebuild,v 1.1 2014/06/20 01:56:00 idella4 Exp $
56
57 EAPI=5
58
59 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
60
61 inherit vcs-snapshot distutils-r1
62
63 DESCRIPTION="Intelligent schema migrations for Django apps."
64 HOMEPAGE="http://south.aeracode.org/"
65 SRC_URI="https://bitbucket.org/andrewgodwin/south/get/${PV}.tar.gz -> ${P}.tar.gz"
66
67 LICENSE="Apache-2.0"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86"
70 IUSE="doc test"
71
72 RDEPEND="dev-python/django[${PYTHON_USEDEP}]"
73 DEPEND="${RDEPEND}
74 dev-python/setuptools[${PYTHON_USEDEP}]
75 doc? (
76 dev-python/jinja[${PYTHON_USEDEP}]
77 dev-python/sphinx[${PYTHON_USEDEP}] )
78 test? ( dev-python/django[sqlite] )"
79
80 python_compile_all() {
81 use doc && emake -C docs html
82 }
83
84 python_install_all() {
85 use doc && local HTML_DOCS=( docs/_build/html/. )
86 distutils-r1_python_install_all
87 }
88
89 python_test() {
90 # http://south.aeracode.org/ticket/1439
91 cd "${BUILD_DIR}" || die
92 django-admin.py startproject southtest || die "setting up test env failed"
93
94 pushd southtest > /dev/null
95 sed -e "/^INSTALLED_APPS/a\ 'south'," \
96 -e '$a\SKIP_SOUTH_TESTS=False' \
97 -i southtest/settings.py || die "test sed failed"
98 "${EPYTHON}" manage.py test south || die "tests failed for ${EPYTHON}"
99 popd > /dev/null
100 }
101
102 pkg_postinst() {
103 elog "In order to use the south schema migrations for your Django project,"
104 elog "just add 'south' to your INSTALLED_APPS in the settings.py file."
105 elog "manage.py will now automagically offer the new functions."
106 }