/[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.2 - (hide annotations) (download)
Wed Jul 4 00:44:59 2012 UTC (2 years ago) by blueness
Branch: MAIN
Changes since 1.1: +2 -2 lines
Works with python-2.7

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 blueness 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 blueness 1.2 # $Header: /var/cvsroot/gentoo-x86/dev-db/SchemaSync/SchemaSync-0.9.2.ebuild,v 1.1 2012/04/28 00:22:41 blueness Exp $
4 blueness 1.1
5     EAPI="4"
6    
7 blueness 1.2 PYTHON_DEPEND="2:2.5:2.7"
8 blueness 1.1
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/mysql-python
24     dev-python/SchemaObject"
25     DEPEND="${RDEPEND}"
26    
27     pkg_setup() {
28     python_set_active_version 2
29     python_pkg_setup
30     }
31    
32     src_prepare() {
33     python_convert_shebangs -r 2 .
34     }
35    
36     pkg_postinst() {
37     python_mod_optimize "${pn}"
38     }
39    
40     pkg_postrm() {
41     python_mod_cleanup "${pn}"
42     }

  ViewVC Help
Powered by ViewVC 1.1.20