summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2007-07-10 14:41:39 +0000
committerTiziano Müller <dev-zero@gentoo.org>2007-07-10 14:41:39 +0000
commit44a03c2881dd2a90e8fd655a2aba45c37fa1cb9b (patch)
treed43f06465f5c9b218ae77e67666762f750afae41 /dev-python/storm
parentStable on sparc wrt security #182047 (diff)
downloadgentoo-2-44a03c2881dd2a90e8fd655a2aba45c37fa1cb9b.tar.gz
gentoo-2-44a03c2881dd2a90e8fd655a2aba45c37fa1cb9b.tar.bz2
gentoo-2-44a03c2881dd2a90e8fd655a2aba45c37fa1cb9b.zip
Initial commit of dev-python/storm
(Portage version: 2.1.3_rc7)
Diffstat (limited to 'dev-python/storm')
-rw-r--r--dev-python/storm/ChangeLog10
-rw-r--r--dev-python/storm/Manifest16
-rw-r--r--dev-python/storm/files/digest-storm-0.93
-rw-r--r--dev-python/storm/metadata.xml5
-rw-r--r--dev-python/storm/storm-0.9.ebuild52
5 files changed, 86 insertions, 0 deletions
diff --git a/dev-python/storm/ChangeLog b/dev-python/storm/ChangeLog
new file mode 100644
index 000000000000..13ca819898f7
--- /dev/null
+++ b/dev-python/storm/ChangeLog
@@ -0,0 +1,10 @@
+# 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 $
+
+*storm-0.9 (10 Jul 2007)
+
+ 10 Jul 2007; Tiziano Müller <dev-zero@gentoo.org> +metadata.xml,
+ +storm-0.9.ebuild:
+ Initial commit.
+
diff --git a/dev-python/storm/Manifest b/dev-python/storm/Manifest
new file mode 100644
index 000000000000..afa40c2a8185
--- /dev/null
+++ b/dev-python/storm/Manifest
@@ -0,0 +1,16 @@
+DIST storm-0.9.tar.bz2 86352 RMD160 5bf2039f3356645c1a823803406e85f90ca4d6a5 SHA1 fc079236b36566b945b94a835fd4d083c17cf5ee SHA256 8318c3229dfdb0e360cc6d3273aa472b4c6993812f848ece6d0818bb534f17d6
+EBUILD storm-0.9.ebuild 1588 RMD160 b1c4aaae076899d0fd94447fd149ab622ee28046 SHA1 ebc54ed43c0cdbbfa7ea136bc03cc108b06dd22e SHA256 c71e2aa483246ba7da6e8307fcae6d56674af535f630d3407bd28250891acb08
+MD5 d60f810d042948c5de85c7846115905f storm-0.9.ebuild 1588
+RMD160 b1c4aaae076899d0fd94447fd149ab622ee28046 storm-0.9.ebuild 1588
+SHA256 c71e2aa483246ba7da6e8307fcae6d56674af535f630d3407bd28250891acb08 storm-0.9.ebuild 1588
+MISC ChangeLog 251 RMD160 b5a71df405d5254d07f116ff74fc5928cad91d59 SHA1 f7b43b1c3bdb9753bd8c2e673500a228050109c7 SHA256 cf5793eb1c2e973c89249c8335ff6c302a5ea9eae89381b271616cb8a0de6d35
+MD5 f2a7df1b46bb9661106955a6c7bdd0cb ChangeLog 251
+RMD160 b5a71df405d5254d07f116ff74fc5928cad91d59 ChangeLog 251
+SHA256 cf5793eb1c2e973c89249c8335ff6c302a5ea9eae89381b271616cb8a0de6d35 ChangeLog 251
+MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
+MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
+RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f metadata.xml 159
+SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 metadata.xml 159
+MD5 ef9eb020d6f83bdb6b248d21ffbb54d6 files/digest-storm-0.9 229
+RMD160 a8a5e122024fe719736d14fc7b5977ba0b6061ba files/digest-storm-0.9 229
+SHA256 2747113cb5922b9cccdfbe7c6e35e44a28964ab546cd1cdfb495d24f6d6045b6 files/digest-storm-0.9 229
diff --git a/dev-python/storm/files/digest-storm-0.9 b/dev-python/storm/files/digest-storm-0.9
new file mode 100644
index 000000000000..509dcda35700
--- /dev/null
+++ b/dev-python/storm/files/digest-storm-0.9
@@ -0,0 +1,3 @@
+MD5 2a3fb64384ae993df21d139c542a496a storm-0.9.tar.bz2 86352
+RMD160 5bf2039f3356645c1a823803406e85f90ca4d6a5 storm-0.9.tar.bz2 86352
+SHA256 8318c3229dfdb0e360cc6d3273aa472b4c6993812f848ece6d0818bb534f17d6 storm-0.9.tar.bz2 86352
diff --git a/dev-python/storm/metadata.xml b/dev-python/storm/metadata.xml
new file mode 100644
index 000000000000..de483c53568f
--- /dev/null
+++ b/dev-python/storm/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>python</herd>
+</pkgmetadata>
diff --git a/dev-python/storm/storm-0.9.ebuild b/dev-python/storm/storm-0.9.ebuild
new file mode 100644
index 000000000000..e3e1b9c2c15a
--- /dev/null
+++ b/dev-python/storm/storm-0.9.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/storm-0.9.ebuild,v 1.1 2007/07/10 14:41:39 dev-zero 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"
+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_unpack() {
+ distutils_src_unpack
+
+ cat > setup.py <<-EOF
+from distutils.core import setup
+setup(name = "storm", version = "${PV}",
+ packages = ["storm","storm.databases"])
+ EOF
+}
+
+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"
+}