summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hoffmann <hoffie@gentoo.org>2008-03-19 21:30:07 +0000
committerChristian Hoffmann <hoffie@gentoo.org>2008-03-19 21:30:07 +0000
commitf7ef0fc22e4ca0af60c1eb05e15ba292bdc4f438 (patch)
tree5ace32639c205e5b4c62878e8ca8fa98e927b1e5 /dev-python/storm
parentNon-maintainer-commit: Version bump for security bug 212364 (CVE-2008-0047). (diff)
downloadgentoo-2-f7ef0fc22e4ca0af60c1eb05e15ba292bdc4f438.tar.gz
gentoo-2-f7ef0fc22e4ca0af60c1eb05e15ba292bdc4f438.tar.bz2
gentoo-2-f7ef0fc22e4ca0af60c1eb05e15ba292bdc4f438.zip
version bump to 0.12, marking ~amd64
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-python/storm')
-rw-r--r--dev-python/storm/ChangeLog10
-rw-r--r--dev-python/storm/storm-0.12.ebuild42
2 files changed, 50 insertions, 2 deletions
diff --git a/dev-python/storm/ChangeLog b/dev-python/storm/ChangeLog
index 13ca819898f7..e4ec9d3b2b97 100644
--- a/dev-python/storm/ChangeLog
+++ b/dev-python/storm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/storm
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/ChangeLog,v 1.1 2007/07/10 14:41:39 dev-zero Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/ChangeLog,v 1.2 2008/03/19 21:30:07 hoffie Exp $
+
+*storm-0.12 (19 Mar 2008)
+
+ 19 Mar 2008; Christian Hoffmann <hoffie@gentoo.org> +storm-0.12.ebuild:
+ version bump to 0.12, also marking ~amd64 as it works fine for me on that
+ arch
*storm-0.9 (10 Jul 2007)
diff --git a/dev-python/storm/storm-0.12.ebuild b/dev-python/storm/storm-0.12.ebuild
new file mode 100644
index 000000000000..1411962bf42d
--- /dev/null
+++ b/dev-python/storm/storm-0.12.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/storm-0.12.ebuild,v 1.1 2008/03/19 21:30:07 hoffie 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/storm/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="${DEPEND}
+ 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"
+}