summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2007-11-01 21:22:47 +0000
committerAli Polatel <hawking@gentoo.org>2007-11-01 21:22:47 +0000
commitafaa6f0cc109fac5d6a81c382f7167553c35ee81 (patch)
tree3edc0db7dc81cd4e0a7e63691b13e685dbd6cedb /dev-python/sqlalchemy
parentKeyword ~amd64 wrt #192788. (diff)
downloadgentoo-2-afaa6f0cc109fac5d6a81c382f7167553c35ee81.tar.gz
gentoo-2-afaa6f0cc109fac5d6a81c382f7167553c35ee81.tar.bz2
gentoo-2-afaa6f0cc109fac5d6a81c382f7167553c35ee81.zip
version bump.
(Portage version: 2.1.3.16)
Diffstat (limited to 'dev-python/sqlalchemy')
-rw-r--r--dev-python/sqlalchemy/ChangeLog7
-rw-r--r--dev-python/sqlalchemy/files/digest-sqlalchemy-0.4.03
-rw-r--r--dev-python/sqlalchemy/sqlalchemy-0.4.0.ebuild56
3 files changed, 65 insertions, 1 deletions
diff --git a/dev-python/sqlalchemy/ChangeLog b/dev-python/sqlalchemy/ChangeLog
index 53e566186a5c..dd8b5edf0162 100644
--- a/dev-python/sqlalchemy/ChangeLog
+++ b/dev-python/sqlalchemy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/sqlalchemy
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/ChangeLog,v 1.17 2007/07/21 07:05:20 lucass Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/ChangeLog,v 1.18 2007/11/01 21:22:46 hawking Exp $
+
+*sqlalchemy-0.4.0 (01 Nov 2007)
+
+ 01 Nov 2007; Ali Polatel <hawking@gentoo.org> +sqlalchemy-0.4.0.ebuild:
+ version bump.
*sqlalchemy-0.3.10 (21 Jul 2007)
diff --git a/dev-python/sqlalchemy/files/digest-sqlalchemy-0.4.0 b/dev-python/sqlalchemy/files/digest-sqlalchemy-0.4.0
new file mode 100644
index 000000000000..6630a7caec7c
--- /dev/null
+++ b/dev-python/sqlalchemy/files/digest-sqlalchemy-0.4.0
@@ -0,0 +1,3 @@
+MD5 c8476f6417a630f36d6046c1faf721e1 SQLAlchemy-0.4.0.tar.gz 1109056
+RMD160 b5babc9233b64a6b5680ee0082f3a83e45de78cf SQLAlchemy-0.4.0.tar.gz 1109056
+SHA256 69ff443acc1ad0d070ab2bf55a583864a81ce0f7b2b67f23e14d88e5d18d5adf SQLAlchemy-0.4.0.tar.gz 1109056
diff --git a/dev-python/sqlalchemy/sqlalchemy-0.4.0.ebuild b/dev-python/sqlalchemy/sqlalchemy-0.4.0.ebuild
new file mode 100644
index 000000000000..1a5bdf87441e
--- /dev/null
+++ b/dev-python/sqlalchemy/sqlalchemy-0.4.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/sqlalchemy-0.4.0.ebuild,v 1.1 2007/11/01 21:22:46 hawking Exp $
+
+NEED_PYTHON=2.4
+
+inherit distutils
+
+MY_P=SQLAlchemy-${PV}
+
+DESCRIPTION="Python SQL toolkit and Object Relational Mapper."
+HOMEPAGE="http://www.sqlalchemy.org/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="doc examples firebird mssql mysql postgres sqlite test"
+KEYWORDS="~amd64 ~x86"
+
+# note: if you use psycopg-1, then you need egenix-mx-base
+RDEPEND="firebird? ( dev-python/kinterbasdb )
+ mssql? ( dev-python/pymssql )
+ mysql? ( dev-python/mysql-python )
+ postgres? (
+ || (
+ ( >=dev-python/psycopg-2 )
+ ( <dev-python/psycopg-2 dev-python/egenix-mx-base )
+ )
+ )
+ sqlite? (
+ >=dev-db/sqlite-3.3.13
+ || ( dev-python/pysqlite >=dev-lang/python-2.5 )
+ )"
+
+DEPEND="dev-python/setuptools
+ test? (
+ >=dev-db/sqlite-3.3.13
+ || ( dev-python/pysqlite >=dev-lang/python-2.5 )
+ )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ distutils_src_install
+
+ use doc && dohtml doc/*
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
+
+src_test() {
+ PYTHONPATH="./test/" "${python}" test/alltests.py || die "tests failed"
+}