summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-10-31 20:32:03 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-10-31 20:32:03 +0000
commitfb1fc91d58701a05620dffbcacf8caec84b84182 (patch)
treedf817472004da8f221db69bf0f897a281f148f39 /dev-python/storm
parentDelete older ebuild. (diff)
downloadgentoo-2-fb1fc91d58701a05620dffbcacf8caec84b84182.tar.gz
gentoo-2-fb1fc91d58701a05620dffbcacf8caec84b84182.tar.bz2
gentoo-2-fb1fc91d58701a05620dffbcacf8caec84b84182.zip
Version bump.
(Portage version: 2.2.0_alpha3/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/storm')
-rw-r--r--dev-python/storm/ChangeLog8
-rw-r--r--dev-python/storm/storm-0.18.ebuild51
2 files changed, 58 insertions, 1 deletions
diff --git a/dev-python/storm/ChangeLog b/dev-python/storm/ChangeLog
index d33f512fe637..6cacc85a867f 100644
--- a/dev-python/storm/ChangeLog
+++ b/dev-python/storm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/storm
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/ChangeLog,v 1.9 2010/06/30 02:11:28 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/ChangeLog,v 1.10 2010/10/31 20:32:03 arfrever Exp $
+
+*storm-0.18 (31 Oct 2010)
+
+ 31 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ -storm-0.16.0.ebuild, +storm-0.18.ebuild:
+ Version bump.
30 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
storm-0.16.0.ebuild:
diff --git a/dev-python/storm/storm-0.18.ebuild b/dev-python/storm/storm-0.18.ebuild
new file mode 100644
index 000000000000..16d848377280
--- /dev/null
+++ b/dev-python/storm/storm-0.18.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/storm-0.18.ebuild,v 1.1 2010/10/31 20:32:03 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils
+
+DESCRIPTION="An object-relational mapper for Python developed at Canonical."
+HOMEPAGE="https://storm.canonical.com/ http://pypi.python.org/pypi/storm"
+SRC_URI="http://launchpad.net/storm/trunk/${PV}/+download/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="mysql postgres sqlite test"
+
+RDEPEND="mysql? ( dev-python/mysql-python )
+ postgres? ( =dev-python/psycopg-2* )
+ sqlite? ( || ( dev-lang/python:2.7[sqlite] dev-lang/python:2.6[sqlite] dev-lang/python:2.5[sqlite] dev-python/pysqlite:2 ) )"
+DEPEND="dev-python/setuptools
+ test? ( || ( dev-lang/python:2.7[sqlite] dev-lang/python:2.6[sqlite] dev-lang/python:2.5[sqlite] dev-python/pysqlite:2 ) )"
+
+PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
+
+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 --verbose
+ }
+ python_execute_function testing
+}