/[gentoo-x86]/dev-db/SchemaSync/SchemaSync-0.9.2.ebuild
Gentoo

Contents of /dev-db/SchemaSync/SchemaSync-0.9.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Jan 27 20:37:47 2014 UTC (6 months ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -2 lines
We should DEPEND on dev-python/setuptools

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-db/SchemaSync/SchemaSync-0.9.2.ebuild,v 1.2 2012/07/04 00:44:59 blueness Exp $
4
5 EAPI="4"
6
7 PYTHON_DEPEND="2:2.5:2.7"
8
9 inherit distutils
10
11 DESCRIPTION="MySQL Schema Versioning and Migration Utility"
12 HOMEPAGE="http://schemasync.org/"
13 SRC_URI="http://www.schemasync.org/downloads/${P}.tar.gz"
14
15 pn="${PN,,}"
16
17 LICENSE="Apache-2.0"
18 SLOT="0"
19 KEYWORDS="~amd64 ~x86"
20 IUSE=""
21
22 RDEPEND="
23 dev-python/setuptools
24 dev-python/mysql-python
25 dev-python/SchemaObject"
26 DEPEND="${RDEPEND}"
27
28 pkg_setup() {
29 python_set_active_version 2
30 python_pkg_setup
31 }
32
33 src_prepare() {
34 python_convert_shebangs -r 2 .
35 }
36
37 pkg_postinst() {
38 python_mod_optimize "${pn}"
39 }
40
41 pkg_postrm() {
42 python_mod_cleanup "${pn}"
43 }

  ViewVC Help
Powered by ViewVC 1.1.20