diff options
author | 2011-11-03 17:00:09 +0000 | |
---|---|---|
committer | 2011-11-03 17:00:09 +0000 | |
commit | 37b2fa384284eec094d1e5074ef2b56b0d673bc4 (patch) | |
tree | 362e14b170c13d2a27c29e57b81bc6be9f606aed /dev-python | |
parent | Econf needs no die (diff) | |
download | gentoo-2-37b2fa384284eec094d1e5074ef2b56b0d673bc4.tar.gz gentoo-2-37b2fa384284eec094d1e5074ef2b56b0d673bc4.tar.bz2 gentoo-2-37b2fa384284eec094d1e5074ef2b56b0d673bc4.zip |
Version bump (bug #389329).
(Portage version: 2.2.0_alpha72/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/storm/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/storm/storm-0.19.ebuild | 51 |
2 files changed, 58 insertions, 2 deletions
diff --git a/dev-python/storm/ChangeLog b/dev-python/storm/ChangeLog index 6cacc85a867f..ec1af5f5d0d5 100644 --- a/dev-python/storm/ChangeLog +++ b/dev-python/storm/ChangeLog @@ -1,6 +1,11 @@ # 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.10 2010/10/31 20:32:03 arfrever Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/ChangeLog,v 1.11 2011/11/03 17:00:09 radhermit Exp $ + +*storm-0.19 (03 Nov 2011) + + 03 Nov 2011; Tim Harder <radhermit@gentoo.org> +storm-0.19.ebuild: + Version bump (bug #389329). *storm-0.18 (31 Oct 2010) diff --git a/dev-python/storm/storm-0.19.ebuild b/dev-python/storm/storm-0.19.ebuild new file mode 100644 index 000000000000..96ac63eeb4ed --- /dev/null +++ b/dev-python/storm/storm-0.19.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/storm-0.19.ebuild,v 1.1 2011/11/03 17:00:08 radhermit 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 +} |