From: Tiziano Müller Date: Tue, 26 Dec 2006 23:13:49 +0000 (+0000) Subject: Version bump (bug #155660) with some corrections (bug #155658, thanks to Brad Walker... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=88cbfbda67eee351d204200d17a7f72c69f2283a;p=gentoo.git Version bump (bug #155660) with some corrections (bug #155658, thanks to Brad Walker). Dropped old versions. Package-Manager: portage-2.1.2_rc4-r1 --- diff --git a/dev-python/sqlalchemy/ChangeLog b/dev-python/sqlalchemy/ChangeLog index 8b5622105c0c..ee9a619e6d9a 100644 --- a/dev-python/sqlalchemy/ChangeLog +++ b/dev-python/sqlalchemy/ChangeLog @@ -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 + -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 index 000000000000..0be86ef7d26e --- /dev/null +++ b/dev-python/sqlalchemy/files/digest-sqlalchemy-0.3.3 @@ -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 index 000000000000..3aacde10b8ae --- /dev/null +++ b/dev-python/sqlalchemy/sqlalchemy-0.3.3.ebuild @@ -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-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 +}