Version bump (bug #155660) with some corrections (bug #155658, thanks to Brad Walker...
authorTiziano Müller <dev-zero@gentoo.org>
Tue, 26 Dec 2006 23:13:49 +0000 (23:13 +0000)
committerTiziano Müller <dev-zero@gentoo.org>
Tue, 26 Dec 2006 23:13:49 +0000 (23:13 +0000)
Package-Manager: portage-2.1.2_rc4-r1

dev-python/sqlalchemy/ChangeLog
dev-python/sqlalchemy/files/digest-sqlalchemy-0.3.3 [new file with mode: 0644]
dev-python/sqlalchemy/sqlalchemy-0.3.3.ebuild [new file with mode: 0644]

index 8b5622105c0cd2c3a4ca541b31d6f32eee1ec5aa..ee9a619e6d9a12e47354f81bd37382d923c483ab 100644 (file)
@@ -1,6 +1,14 @@
 # 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)
 
diff --git a/dev-python/sqlalchemy/files/digest-sqlalchemy-0.3.3 b/dev-python/sqlalchemy/files/digest-sqlalchemy-0.3.3
new file mode 100644 (file)
index 0000000..0be86ef
--- /dev/null
@@ -0,0 +1,3 @@
+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
diff --git a/dev-python/sqlalchemy/sqlalchemy-0.3.3.ebuild b/dev-python/sqlalchemy/sqlalchemy-0.3.3.ebuild
new file mode 100644 (file)
index 0000000..3aacde1
--- /dev/null
@@ -0,0 +1,56 @@
+# 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
+}