1 |
idella4 14/10/03 05:24:57 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: south-1.0.ebuild |
5 |
Log: |
6 |
bump; rm IUSE doc and related content due to absence of content in acquired tarball, patch to match, tidy to test phase, ebuild adapted from submission in bug #524228 by W. King, closes said bug |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.17 dev-python/south/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/south/ChangeLog?rev=1.17&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/south/ChangeLog?rev=1.17&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/south/ChangeLog?r1=1.16&r2=1.17 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/south/ChangeLog,v |
20 |
retrieving revision 1.16 |
21 |
retrieving revision 1.17 |
22 |
diff -u -r1.16 -r1.17 |
23 |
--- ChangeLog 10 Aug 2014 21:22:49 -0000 1.16 |
24 |
+++ ChangeLog 3 Oct 2014 05:24:57 -0000 1.17 |
25 |
@@ -1,6 +1,15 @@ |
26 |
# ChangeLog for dev-python/south |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/south/ChangeLog,v 1.16 2014/08/10 21:22:49 slyfox Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/south/ChangeLog,v 1.17 2014/10/03 05:24:57 idella4 Exp $ |
30 |
+ |
31 |
+*south-1.0 (03 Oct 2014) |
32 |
+ |
33 |
+ 03 Oct 2014; Ian Delaney <idella4@g.o> |
34 |
+ +files/south-1.0-3753b49c-Replace-dict.iteritems-with-six.patch, |
35 |
+ +south-1.0.ebuild: |
36 |
+ bump; rm IUSE doc and related content due to absence of content in acquired |
37 |
+ tarball, patch to match, tidy to test phase, ebuild adapted from submission in |
38 |
+ bug #524228 by W. King, closes said bug |
39 |
|
40 |
10 Aug 2014; Sergei Trofimovich <slyfox@g.o> south-0.7.5-r1.ebuild, |
41 |
south-0.7.5.ebuild, south-0.8.1-r1.ebuild, south-0.8.4.ebuild: |
42 |
|
43 |
|
44 |
|
45 |
1.1 dev-python/south/south-1.0.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/south/south-1.0.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/south/south-1.0.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: south-1.0.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2014 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/south/south-1.0.ebuild,v 1.1 2014/10/03 05:24:57 idella4 Exp $ |
55 |
|
56 |
EAPI=5 |
57 |
|
58 |
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) |
59 |
|
60 |
inherit distutils-r1 |
61 |
|
62 |
MY_PN="South" |
63 |
MY_P="${MY_PN}-${PV}" |
64 |
|
65 |
DESCRIPTION="Intelligent schema migrations for Django apps." |
66 |
HOMEPAGE="http://south.aeracode.org/" |
67 |
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" |
68 |
|
69 |
LICENSE="Apache-2.0" |
70 |
SLOT="0" |
71 |
KEYWORDS="~amd64 ~x86" |
72 |
IUSE="test" |
73 |
|
74 |
RDEPEND="<dev-python/django-1.7[${PYTHON_USEDEP}]" |
75 |
DEPEND="${RDEPEND} |
76 |
dev-python/setuptools[${PYTHON_USEDEP}] |
77 |
test? ( dev-python/django[sqlite] )" |
78 |
|
79 |
PATCHES=( "${FILESDIR}"/${P}-3753b49c-Replace-dict.iteritems-with-six.patch ) |
80 |
|
81 |
S="${WORKDIR}/${MY_P}" |
82 |
|
83 |
python_test() { |
84 |
cd "${BUILD_DIR}" || die |
85 |
django-admin.py startproject southtest || die "setting up test env failed" |
86 |
pushd southtest > /dev/null |
87 |
sed -i \ |
88 |
-e "/^INSTALLED_APPS/a\ 'south'," \ |
89 |
southtest/settings.py || die "sed failed" |
90 |
echo "SKIP_SOUTH_TESTS=False" >> southtest/settings.py |
91 |
"${EPYTHON}" manage.py test south || die "tests failed for ${EPYTHON}" |
92 |
popd > /dev/null |
93 |
} |
94 |
|
95 |
pkg_postinst() { |
96 |
elog "In order to use the south schema migrations for your Django project," |
97 |
elog "just add 'south' to your INSTALLED_APPS in the settings.py file." |
98 |
elog "manage.py will now automagically offer the new functions." |
99 |
} |