summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-11-30 14:37:38 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-11-30 14:37:38 +0000
commit77b69a6b36bfb25e1932da7a52016ea3f314d367 (patch)
tree722aa2bc57112d735cfceff1a7954908f521e362 /dev-python
parentDelete older ebuild. (diff)
downloadgentoo-2-77b69a6b36bfb25e1932da7a52016ea3f314d367.tar.gz
gentoo-2-77b69a6b36bfb25e1932da7a52016ea3f314d367.tar.bz2
gentoo-2-77b69a6b36bfb25e1932da7a52016ea3f314d367.zip
Version bump.
(Portage version: 14920-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/storm/ChangeLog8
-rw-r--r--dev-python/storm/storm-0.16.0.ebuild48
2 files changed, 55 insertions, 1 deletions
diff --git a/dev-python/storm/ChangeLog b/dev-python/storm/ChangeLog
index 74c055b17a5b..65d8ba1657ff 100644
--- a/dev-python/storm/ChangeLog
+++ b/dev-python/storm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/storm
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/ChangeLog,v 1.6 2009/09/05 17:10:13 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/ChangeLog,v 1.7 2009/11/30 14:37:38 arfrever Exp $
+
+*storm-0.16 (30 Nov 2009)
+
+ 30 Nov 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +storm-0.16.0.ebuild:
+ Version bump.
05 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
storm-0.15.ebuild:
diff --git a/dev-python/storm/storm-0.16.0.ebuild b/dev-python/storm/storm-0.16.0.ebuild
new file mode 100644
index 000000000000..e3a6a3f61598
--- /dev/null
+++ b/dev-python/storm/storm-0.16.0.ebuild
@@ -0,0 +1,48 @@
+# 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.16.0.ebuild,v 1.1 2009/11/30 14:37:38 arfrever Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
+
+DESCRIPTION="An object-relational mapper for Python developed at Canonical."
+HOMEPAGE="https://storm.canonical.com/FrontPage http://pypi.python.org/pypi/storm"
+SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${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-lang/python-2.5[sqlite] dev-python/pysqlite ) )"
+DEPEND="dev-python/setuptools
+ test? ( || ( >=dev-lang/python-2.5[sqlite] dev-python/pysqlite ) )"
+RESTRICT_PYTHON_ABIS="3.*"
+
+DOCS="tests/tutorial.txt"
+
+src_test() {
+ 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
+ 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
+
+ testing() {
+ PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" test
+ }
+ python_execute_function testing
+}