# ChangeLog for dev-python/sqlalchemy
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/ChangeLog,v 1.3 2006/10/13 15:50:04 pythonhead Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/ChangeLog,v 1.4 2006/12/26 23:13:49 dev-zero Exp $
+
+*sqlalchemy-0.3.3 (26 Dec 2006)
+
+ 26 Dec 2006; Tiziano Müller <dev-zero@gentoo.org>
+ -sqlalchemy-0.2.7.ebuild, -sqlalchemy-0.2.8.ebuild,
+ +sqlalchemy-0.3.3.ebuild:
+ Version bump (bug #155660) with some corrections (bug #155658, thanks to
+ Brad Walker). Dropped old versions.
*sqlalchemy-0.2.8 (13 Oct 2006)
--- /dev/null
+MD5 1336d87f659944f131f7f2c340e81e02 SQLAlchemy-0.3.3.tar.gz 737019
+RMD160 5e121f9f70ac7173f2822755bcfb39f8e7a8ece5 SQLAlchemy-0.3.3.tar.gz 737019
+SHA256 fd425065ba70ce199508c3bde9cf7198dd84dd72980ca36a05a24bcbdd095c15 SQLAlchemy-0.3.3.tar.gz 737019
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/sqlalchemy-0.3.3.ebuild,v 1.1 2006/12/26 23:13:49 dev-zero Exp $
+
+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="firebird mssql mysql postgres sqlite"
+KEYWORDS="~amd64 ~x86"
+
+# note: if you use psycopg-1, then you need egenix-mx-base
+RDEPEND=">=dev-lang/python-2.4
+ 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-python/pysqlite >=dev-lang/python-2.5 ) )"
+
+DEPEND="dev-python/setuptools"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}/test"
+ sed -e 's/\\\.p/.p/g' \
+ -i sql/testtypes.py || die "sed failed"
+}
+
+src_install() {
+ distutils_src_install
+ dohtml doc/*
+
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+}
+
+src_test() {
+ if use sqlite; then
+ export PYTHONPATH="${PYTHONPATH}:./test/"
+ python test/alltests.py
+ fi
+}