summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-02-15 14:42:46 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-02-15 14:42:46 +0000
commitd3b82798f7d4f009259093e19137145beefff3a7 (patch)
treedc19450887f77313549d1157b76aea817ff6521d /dev-python/storm
parentwhitespace (diff)
downloadhistorical-d3b82798f7d4f009259093e19137145beefff3a7.tar.gz
historical-d3b82798f7d4f009259093e19137145beefff3a7.tar.bz2
historical-d3b82798f7d4f009259093e19137145beefff3a7.zip
Bump to 0.14
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'dev-python/storm')
-rw-r--r--dev-python/storm/ChangeLog9
-rw-r--r--dev-python/storm/storm-0.14.ebuild42
2 files changed, 49 insertions, 2 deletions
diff --git a/dev-python/storm/ChangeLog b/dev-python/storm/ChangeLog
index 4eb00bac0aca..602c39e4110f 100644
--- a/dev-python/storm/ChangeLog
+++ b/dev-python/storm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/storm
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/ChangeLog,v 1.3 2008/10/26 05:04:25 neurogeek Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/ChangeLog,v 1.4 2009/02/15 14:42:46 patrick Exp $
+
+*storm-0.14 (15 Feb 2009)
+
+ 15 Feb 2009; Patrick Lauer <patrick@gentoo.org> +storm-0.14.ebuild:
+ Bump to 0.14
*storm-0.13 (26 Oct 2008)
diff --git a/dev-python/storm/storm-0.14.ebuild b/dev-python/storm/storm-0.14.ebuild
new file mode 100644
index 000000000000..e6aee58c31a4
--- /dev/null
+++ b/dev-python/storm/storm-0.14.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/storm-0.14.ebuild,v 1.1 2009/02/15 14:42:46 patrick Exp $
+
+NEED_PYTHON=2.4
+
+inherit distutils
+
+DESCRIPTION="An object-relational mapper for Python developed at Canonical."
+HOMEPAGE="https://storm.canonical.com/FrontPage"
+SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="mysql postgres sqlite test"
+
+RDEPEND="mysql? ( dev-python/mysql-python )
+ postgres? ( =dev-python/psycopg-2* )
+ sqlite? ( || ( dev-python/pysqlite >=dev-lang/python-2.5 ) )"
+DEPEND="dev-python/setuptools
+ test? ( || ( dev-python/pysqlite >=dev-lang/python-2.5 ) )"
+
+DOCS="tests/tutorial.txt"
+
+src_test() {
+ if use postgres ; then
+ elog "To run the PostgreSQL-tests, you need:"
+ elog " - a running postgresql-server"
+ elog " - an already existing database 'db'"
+ elog " - a user 'user' with full permissions on that database"
+ elog " - and an environment variable STORM_POSTGRES_URI=\"postgres://user:password@host:1234/db\""
+ fi
+ if use mysql ; then
+ elog "To run the MySQL-tests, you need:"
+ elog " - a running mysql-server"
+ elog " - an already existing database 'db'"
+ elog " - a user 'user' with full permissions on that database"
+ elog " - and an environment variable STORM_MYSQL_URI=\"mysql://user:password@host:1234/db\""
+ fi
+
+ PYTHONPATH=. "${python}" test || die "tests failed"
+}