summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2013-02-03 03:41:02 +0000
committerIan Delaney <idella4@gentoo.org>2013-02-03 03:41:02 +0000
commitd7aeaadd249f22895646afacdd525678e952460c (patch)
tree2975a847f129cda240902bd74b7f75fe73e25104 /dev-python/alembic
parentx86 stable wrt bug #453850 (diff)
downloadgentoo-2-d7aeaadd249f22895646afacdd525678e952460c.tar.gz
gentoo-2-d7aeaadd249f22895646afacdd525678e952460c.tar.bz2
gentoo-2-d7aeaadd249f22895646afacdd525678e952460c.zip
new ebuild, written by Jan Matějka, submitted in Bug #Bug 447762, initial ebuild supports py2.7 only
(Portage version: 2.1.11.40/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/alembic')
-rw-r--r--dev-python/alembic/ChangeLog10
-rw-r--r--dev-python/alembic/alembic-0.4.2.ebuild41
-rw-r--r--dev-python/alembic/metadata.xml11
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/alembic/ChangeLog b/dev-python/alembic/ChangeLog
new file mode 100644
index 000000000000..b35750379211
--- /dev/null
+++ b/dev-python/alembic/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/alembic
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/alembic/ChangeLog,v 1.1 2013/02/03 03:41:02 idella4 Exp $
+
+*alembic-0.4.2 (03 Feb 2013)
+
+ 03 Feb 2013; Ian Delaney <idella4@gentoo.org> +alembic-0.4.2.ebuild,
+ +metadata.xml:
+ new ebuild, written by Jan Matějka, submitted in Bug #Bug 447762, initial
+ ebuild supports py2.7 only
diff --git a/dev-python/alembic/alembic-0.4.2.ebuild b/dev-python/alembic/alembic-0.4.2.ebuild
new file mode 100644
index 000000000000..9014becaa307
--- /dev/null
+++ b/dev-python/alembic/alembic-0.4.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/alembic/alembic-0.4.2.ebuild,v 1.1 2013/02/03 03:41:02 idella4 Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+# NOTE: I haven't tested if python <2.7 works.
+# TODO: python 3.x support bugs:
+# https://bitbucket.org/zzzeek/alembic/issue/102/alembic-042-tests-does-not-pass-on-python
+# TODO: dependency on sqlalchemy <0.7.9 does not pass test suite bugs:
+# https://bitbucket.org/zzzeek/alembic/issue/96/testsuite-does-not-pass not pass
+
+inherit distutils-r1
+
+DESCRIPTION="database migrations tool, written by the author of SQLAlchemy"
+HOMEPAGE="https://bitbucket.org/zzzeek/alembic"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test doc"
+
+RDEPEND=">=dev-python/sqlalchemy-0.7.9
+ dev-python/mako
+ virtual/python-argparse[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/. )
+
+ distutils-r1_python_install_all
+}
+
+python_test() {
+ nosetests || die
+ # NOTE: don't use setup.py test bugs: https://bitbucket.org/zzzeek/alembic/issue/96/testsuite-does-not-pass
+}
diff --git a/dev-python/alembic/metadata.xml b/dev-python/alembic/metadata.xml
new file mode 100644
index 000000000000..1026b767483c
--- /dev/null
+++ b/dev-python/alembic/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+ <maintainer><email>idella4@gentoo.org</email>
+ <name>Ian idella4 Delaney</name>
+ </maintainer>
+ <maintainer><email>yac@blesmrt.net</email>
+ <name>Jan Matějka proxy maintainer</name>
+ </maintainer>
+</pkgmetadata>