diff options
author | Rob Cakebread <pythonhead@gentoo.org> | 2006-10-13 15:50:04 +0000 |
---|---|---|
committer | Rob Cakebread <pythonhead@gentoo.org> | 2006-10-13 15:50:04 +0000 |
commit | b8418616cc429fa59105c78f0763d82b69caeda0 (patch) | |
tree | 4fcd79c0ac3eec2788554ea347421ee6c77bca3e /dev-python/sqlalchemy | |
parent | Sign manifest (diff) | |
download | gentoo-2-b8418616cc429fa59105c78f0763d82b69caeda0.tar.gz gentoo-2-b8418616cc429fa59105c78f0763d82b69caeda0.tar.bz2 gentoo-2-b8418616cc429fa59105c78f0763d82b69caeda0.zip |
Version bump. bug #149091
(Portage version: 2.1.2_pre2-r8)
Diffstat (limited to 'dev-python/sqlalchemy')
-rw-r--r-- | dev-python/sqlalchemy/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/sqlalchemy/files/digest-sqlalchemy-0.2.8 | 3 | ||||
-rw-r--r-- | dev-python/sqlalchemy/sqlalchemy-0.2.8.ebuild | 58 |
3 files changed, 68 insertions, 1 deletions
diff --git a/dev-python/sqlalchemy/ChangeLog b/dev-python/sqlalchemy/ChangeLog index 92c254249d63..8b5622105c0c 100644 --- a/dev-python/sqlalchemy/ChangeLog +++ b/dev-python/sqlalchemy/ChangeLog @@ -1,6 +1,12 @@ # 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.2 2006/09/12 20:48:10 marienz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/ChangeLog,v 1.3 2006/10/13 15:50:04 pythonhead Exp $ + +*sqlalchemy-0.2.8 (13 Oct 2006) + + 13 Oct 2006; Rob Cakebread <pythonhead@gentoo.org> + +sqlalchemy-0.2.8.ebuild: + Version bump. bug #149091 12 Sep 2006; Marien Zwart <marienz@gentoo.org> sqlalchemy-0.2.7.ebuild: Add mssql to IUSE and fix dependencies for <dev-python/psycopg-2. Closes bug diff --git a/dev-python/sqlalchemy/files/digest-sqlalchemy-0.2.8 b/dev-python/sqlalchemy/files/digest-sqlalchemy-0.2.8 new file mode 100644 index 000000000000..1941c0c18bf7 --- /dev/null +++ b/dev-python/sqlalchemy/files/digest-sqlalchemy-0.2.8 @@ -0,0 +1,3 @@ +MD5 f13830011cab376eda5d87cf2db27d70 SQLAlchemy-0.2.8.tar.gz 645493 +RMD160 43906ef8993a36263cc7c150e58506cf4880e6d5 SQLAlchemy-0.2.8.tar.gz 645493 +SHA256 be9e072d290e0a095c6a766334f3e134cf980d2346a57d9703721e574d29d98e SQLAlchemy-0.2.8.tar.gz 645493 diff --git a/dev-python/sqlalchemy/sqlalchemy-0.2.8.ebuild b/dev-python/sqlalchemy/sqlalchemy-0.2.8.ebuild new file mode 100644 index 000000000000..4dd29dc9ac1f --- /dev/null +++ b/dev-python/sqlalchemy/sqlalchemy-0.2.8.ebuild @@ -0,0 +1,58 @@ +# 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.2.8.ebuild,v 1.1 2006/10/13 15:50:04 pythonhead Exp $ + +inherit distutils python + +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 )" + +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/${PV} + doins -r examples +} + +src_test() { + if use sqlite; then + python_version + export PYTHONPATH="${PYTHONPATH}:../lib/" + cd "${S}/lib/${PN}" + python "/usr/lib/python${PYVER}/compileall.py" . + cd "${S}/test" + python alltests.py + fi +} |