Gentoo Archives: gentoo-commits

From: "Anthony G. Basile (blueness)" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/SchemaSync: metadata.xml ChangeLog SchemaSync-0.9.2.ebuild
Date: Sat, 28 Apr 2012 00:22:58
Message-Id: 20120428002241.1A6752004B@flycatcher.gentoo.org
1 blueness 12/04/28 00:22:41
2
3 Added: metadata.xml ChangeLog SchemaSync-0.9.2.ebuild
4 Log:
5 Initial commit
6
7 (Portage version: 2.1.10.49/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 dev-db/SchemaSync/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/SchemaSync/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/SchemaSync/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <maintainer>
21 <email>blueness@g.o</email>
22 <name>Anthony G. Basile</name>
23 </maintainer>
24 </pkgmetadata>
25
26
27
28 1.1 dev-db/SchemaSync/ChangeLog
29
30 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/SchemaSync/ChangeLog?rev=1.1&view=markup
31 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/SchemaSync/ChangeLog?rev=1.1&content-type=text/plain
32
33 Index: ChangeLog
34 ===================================================================
35 # ChangeLog for dev-db/SchemaSync
36 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
37 # $Header: /var/cvsroot/gentoo-x86/dev-db/SchemaSync/ChangeLog,v 1.1 2012/04/28 00:22:41 blueness Exp $
38
39 *SchemaSync-0.9.2 (28 Apr 2012)
40
41 28 Apr 2012; Anthony G. Basile <blueness@g.o>
42 +SchemaSync-0.9.2.ebuild, +metadata.xml:
43 Initial commit
44
45
46
47
48 1.1 dev-db/SchemaSync/SchemaSync-0.9.2.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/SchemaSync/SchemaSync-0.9.2.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/SchemaSync/SchemaSync-0.9.2.ebuild?rev=1.1&content-type=text/plain
52
53 Index: SchemaSync-0.9.2.ebuild
54 ===================================================================
55 # Copyright 1999-2012 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/dev-db/SchemaSync/SchemaSync-0.9.2.ebuild,v 1.1 2012/04/28 00:22:41 blueness Exp $
58
59 EAPI="4"
60
61 PYTHON_DEPEND="2:2.5:2.6"
62
63 inherit distutils
64
65 DESCRIPTION="MySQL Schema Versioning and Migration Utility"
66 HOMEPAGE="http://schemasync.org/"
67 SRC_URI="http://www.schemasync.org/downloads/${P}.tar.gz"
68
69 pn="${PN,,}"
70
71 LICENSE="Apache-2.0"
72 SLOT="0"
73 KEYWORDS="~amd64 ~x86"
74 IUSE=""
75
76 RDEPEND="
77 dev-python/mysql-python
78 dev-python/SchemaObject"
79 DEPEND="${RDEPEND}"
80
81 pkg_setup() {
82 python_set_active_version 2
83 python_pkg_setup
84 }
85
86 src_prepare() {
87 python_convert_shebangs -r 2 .
88 }
89
90 pkg_postinst() {
91 python_mod_optimize "${pn}"
92 }
93
94 pkg_postrm() {
95 python_mod_cleanup "${pn}"
96 }