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
commitb2fdd905aa4484c9bed68bc7664ef7f6072f6bf6 (patch)
tree8bdbddcde9fe1bd76bbd2dcc0bb21378289d9ad4 /dev-python/storm
parentStable on sparc wrt security #182047 (diff)
downloadhistorical-b2fdd905aa4484c9bed68bc7664ef7f6072f6bf6.tar.gz
historical-b2fdd905aa4484c9bed68bc7664ef7f6072f6bf6.tar.bz2
historical-b2fdd905aa4484c9bed68bc7664ef7f6072f6bf6.zip
Initial commit of dev-python/storm
Package-Manager: portage-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..eac876c951a5
--- /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 1685 RMD160 ab68b489c221ceba739a0352e121513d9b8a5018 SHA1 594dba33fcbd8bbecf2b26abe6254f7bdc3b9500 SHA256 d7518fe752831b0b04014bd476dd41f00a1face5f9bad0b4fa26884d068620a3
+MD5 4d809c80d008032868b008672afe456b storm-0.9.ebuild 1685
+RMD160 ab68b489c221ceba739a0352e121513d9b8a5018 storm-0.9.ebuild 1685
+SHA256 d7518fe752831b0b04014bd476dd41f00a1face5f9bad0b4fa26884d068620a3 storm-0.9.ebuild 1685
+MISC ChangeLog 341 RMD160 dd34965cc0197b703f893415763ca33bce401916 SHA1 b25a5dfdbad157220d6a3e03cc3795e994fca8c0 SHA256 12a0a19aa503e76bbade63e8405b990fd7d2083fd0c1ec6e3caa033d03f19bab
+MD5 17b3635fb9fb9ebed7e62851d7a12a99 ChangeLog 341
+RMD160 dd34965cc0197b703f893415763ca33bce401916 ChangeLog 341
+SHA256 12a0a19aa503e76bbade63e8405b990fd7d2083fd0c1ec6e3caa033d03f19bab ChangeLog 341
+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"
+}