From: | "Tiziano Mueller (dev-zero)" <dev-zero@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/south: metadata.xml ChangeLog south-0.7.2.ebuild |
Date: | Fri, 27 Aug 2010 17:27:39 |
Message-Id: | 20100827172731.B489B20051@flycatcher.gentoo.org |
1 | dev-zero 10/08/27 17:27:31 |
2 | |
3 | Added: metadata.xml ChangeLog south-0.7.2.ebuild |
4 | Log: |
5 | Initial commit (bug #262923). |
6 | (Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-python/south/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/south/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/south/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 | <pkgmetadata> |
19 | <herd>no-herd</herd> |
20 | <maintainer> |
21 | <email>dev-zero@g.o</email> |
22 | <name>Tiziano Müller</name> |
23 | </maintainer> |
24 | </pkgmetadata> |
25 | |
26 | |
27 | |
28 | 1.1 dev-python/south/ChangeLog |
29 | |
30 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/south/ChangeLog?rev=1.1&view=markup |
31 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/south/ChangeLog?rev=1.1&content-type=text/plain |
32 | |
33 | Index: ChangeLog |
34 | =================================================================== |
35 | # ChangeLog for dev-python/south |
36 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
37 | # $Header: /var/cvsroot/gentoo-x86/dev-python/south/ChangeLog,v 1.1 2010/08/27 17:27:31 dev-zero Exp $ |
38 | |
39 | *south-0.7.2 (27 Aug 2010) |
40 | |
41 | 27 Aug 2010; Tiziano Müller <dev-zero@g.o> +south-0.7.2.ebuild, |
42 | +metadata.xml: |
43 | Initial commit (bug #262923). |
44 | |
45 | |
46 | |
47 | |
48 | 1.1 dev-python/south/south-0.7.2.ebuild |
49 | |
50 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/south/south-0.7.2.ebuild?rev=1.1&view=markup |
51 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/south/south-0.7.2.ebuild?rev=1.1&content-type=text/plain |
52 | |
53 | Index: south-0.7.2.ebuild |
54 | =================================================================== |
55 | # Copyright 1999-2010 Gentoo Foundation |
56 | # Distributed under the terms of the GNU General Public License v2 |
57 | # $Header: /var/cvsroot/gentoo-x86/dev-python/south/south-0.7.2.ebuild,v 1.1 2010/08/27 17:27:31 dev-zero Exp $ |
58 | |
59 | EAPI="3" |
60 | |
61 | PYTHON_DEPEND="2" |
62 | SUPPORT_PYTHON_ABIS="1" |
63 | RESTRICT_PYTHON_ABIS="3.*" |
64 | |
65 | inherit distutils |
66 | |
67 | DESCRIPTION="Intelligent schema migrations for Django apps." |
68 | HOMEPAGE="http://south.aeracode.org/" |
69 | SRC_URI="http://www.aeracode.org/releases/${PN}/${P}.tar.gz" |
70 | |
71 | LICENSE="Apache-2.0" |
72 | SLOT="0" |
73 | KEYWORDS="~amd64" |
74 | IUSE="doc" |
75 | |
76 | RDEPEND="dev-python/django" |
77 | DEPEND="${RDEPEND} |
78 | dev-python/setuptools |
79 | doc? ( dev-python/sphinx )" |
80 | |
81 | S="${WORKDIR}/${PN}" |
82 | |
83 | src_compile() { |
84 | distutils_src_compile |
85 | |
86 | if use doc ; then |
87 | emake -C docs html || die "building docs failed" |
88 | fi |
89 | } |
90 | |
91 | src_install() { |
92 | distutils_src_install |
93 | |
94 | use doc && dohtml -r docs/_build/html/* |
95 | } |
96 | |
97 | pkg_postinst() { |
98 | distutils_pkg_postinst |
99 | elog "In order to use the south schema migrations for your Django project," |
100 | elog "just add 'south' to your INSTALLED_APPS in the settings.py file." |
101 | elog "manage.py will now automagically offer the new functions." |
102 | } |