1 |
dev-zero 13/06/03 04:21:14 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: south-0.8.1.ebuild |
5 |
Log: |
6 |
Version bump (bug #471824), fix tests to run for all python versions. Note: python 3.x support is still alpha and tests fail. |
7 |
|
8 |
(Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0x1E0CA85F!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.10 dev-python/south/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/south/ChangeLog?rev=1.10&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/south/ChangeLog?rev=1.10&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/south/ChangeLog?r1=1.9&r2=1.10 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/south/ChangeLog,v |
20 |
retrieving revision 1.9 |
21 |
retrieving revision 1.10 |
22 |
diff -u -r1.9 -r1.10 |
23 |
--- ChangeLog 18 May 2013 08:26:04 -0000 1.9 |
24 |
+++ ChangeLog 3 Jun 2013 04:21:13 -0000 1.10 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-python/south |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/south/ChangeLog,v 1.9 2013/05/18 08:26:04 idella4 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/south/ChangeLog,v 1.10 2013/06/03 04:21:13 dev-zero Exp $ |
30 |
+ |
31 |
+*south-0.8.1 (03 Jun 2013) |
32 |
+ |
33 |
+ 03 Jun 2013; Tiziano Müller <dev-zero@g.o> +south-0.8.1.ebuild: |
34 |
+ Version bump (bug #471824), fix tests to run for all python versions. Note: |
35 |
+ python 3.x support is still alpha and tests fail. |
36 |
|
37 |
*south-0.7.5-r1 (18 May 2013) |
38 |
*south-0.7.6 (18 May 2013) |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-python/south/south-0.8.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/south/south-0.8.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/south/south-0.8.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: south-0.8.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/south/south-0.8.1.ebuild,v 1.1 2013/06/03 04:21:13 dev-zero Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) |
56 |
|
57 |
inherit vcs-snapshot distutils-r1 |
58 |
|
59 |
DESCRIPTION="Intelligent schema migrations for Django apps." |
60 |
HOMEPAGE="http://south.aeracode.org/" |
61 |
SRC_URI="https://bitbucket.org/andrewgodwin/south/get/${PV}.tar.gz -> ${P}.tar.gz" |
62 |
|
63 |
LICENSE="Apache-2.0" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~x86" |
66 |
IUSE="doc test" |
67 |
|
68 |
RDEPEND="dev-python/django[${PYTHON_USEDEP}]" |
69 |
DEPEND="${RDEPEND} |
70 |
dev-python/setuptools[${PYTHON_USEDEP}] |
71 |
doc? ( dev-python/sphinx dev-python/jinja ) |
72 |
test? ( dev-python/django[sqlite] )" |
73 |
|
74 |
# we are setting up the tests, but they fail |
75 |
|
76 |
python_compile_all() { |
77 |
use doc && emake -C docs html |
78 |
} |
79 |
|
80 |
python_install_all() { |
81 |
use doc && local HTML_DOCS=( docs/_build/html/. ) |
82 |
} |
83 |
|
84 |
python_compile() { |
85 |
distutils-r1_python_compile |
86 |
if use test; then |
87 |
cd "${BUILD_DIR}" |
88 |
django-admin.py startproject southtest || die "setting up test env failed" |
89 |
cd southtest |
90 |
sed -i \ |
91 |
-e "/^INSTALLED_APPS/a\ 'south'," \ |
92 |
-e 's/\(django.db.backends.\)/\1sqlite3/' \ |
93 |
-e "s/\(NAME': '\)/\1test.db/" \ |
94 |
southtest/settings.py || die "sed failed" |
95 |
echo "SKIP_SOUTH_TESTS=False" >> southtest/settings.py |
96 |
fi |
97 |
} |
98 |
|
99 |
python_test() { |
100 |
# http://south.aeracode.org/ticket/1256 |
101 |
cd "${BUILD_DIR}/southtest" |
102 |
"${EPYTHON}" manage.py test south || die "tests failed for ${EPYTHON}" |
103 |
} |
104 |
|
105 |
pkg_postinst() { |
106 |
elog "In order to use the south schema migrations for your Django project," |
107 |
elog "just add 'south' to your INSTALLED_APPS in the settings.py file." |
108 |
elog "manage.py will now automagically offer the new functions." |
109 |
} |