summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-04-28 00:22:41 +0000
committerAnthony G. Basile <blueness@gentoo.org>2012-04-28 00:22:41 +0000
commitb446d738213756de09308b503e017aa538561935 (patch)
treec9d1fbf5b8c52b68edebc12d23a127f67a200dc6 /dev-db
parentAdd a patch to fix handling of mount points for block devices; also add some ... (diff)
downloadgentoo-2-b446d738213756de09308b503e017aa538561935.tar.gz
gentoo-2-b446d738213756de09308b503e017aa538561935.tar.bz2
gentoo-2-b446d738213756de09308b503e017aa538561935.zip
Initial commit
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/SchemaSync/ChangeLog10
-rw-r--r--dev-db/SchemaSync/SchemaSync-0.9.2.ebuild42
-rw-r--r--dev-db/SchemaSync/metadata.xml8
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-db/SchemaSync/ChangeLog b/dev-db/SchemaSync/ChangeLog
new file mode 100644
index 000000000000..d5abd2af0892
--- /dev/null
+++ b/dev-db/SchemaSync/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-db/SchemaSync
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/SchemaSync/ChangeLog,v 1.1 2012/04/28 00:22:41 blueness Exp $
+
+*SchemaSync-0.9.2 (28 Apr 2012)
+
+ 28 Apr 2012; Anthony G. Basile <blueness@gentoo.org>
+ +SchemaSync-0.9.2.ebuild, +metadata.xml:
+ Initial commit
+
diff --git a/dev-db/SchemaSync/SchemaSync-0.9.2.ebuild b/dev-db/SchemaSync/SchemaSync-0.9.2.ebuild
new file mode 100644
index 000000000000..9e0079bce1b6
--- /dev/null
+++ b/dev-db/SchemaSync/SchemaSync-0.9.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/SchemaSync/SchemaSync-0.9.2.ebuild,v 1.1 2012/04/28 00:22:41 blueness Exp $
+
+EAPI="4"
+
+PYTHON_DEPEND="2:2.5:2.6"
+
+inherit distutils
+
+DESCRIPTION="MySQL Schema Versioning and Migration Utility"
+HOMEPAGE="http://schemasync.org/"
+SRC_URI="http://www.schemasync.org/downloads/${P}.tar.gz"
+
+pn="${PN,,}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-python/mysql-python
+ dev-python/SchemaObject"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ python_convert_shebangs -r 2 .
+}
+
+pkg_postinst() {
+ python_mod_optimize "${pn}"
+}
+
+pkg_postrm() {
+ python_mod_cleanup "${pn}"
+}
diff --git a/dev-db/SchemaSync/metadata.xml b/dev-db/SchemaSync/metadata.xml
new file mode 100644
index 000000000000..1e7587374fdf
--- /dev/null
+++ b/dev-db/SchemaSync/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>blueness@gentoo.org</email>
+ <name>Anthony G. Basile</name>
+ </maintainer>
+</pkgmetadata>