From 687a1decb26bdf34911cb099cebe4f1d518dfefc Mon Sep 17 00:00:00 2001 From: Artur MaciÄ…g Date: Sun, 16 May 2010 00:24:05 +0200 Subject: [dev-python/sqlalchemy] ebuild specific version 0.5.3 added; required by reddit --- dev-python/sqlalchemy/Manifest | 2 + dev-python/sqlalchemy/sqlalchemy-0.5.3.ebuild | 58 +++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 dev-python/sqlalchemy/Manifest create mode 100644 dev-python/sqlalchemy/sqlalchemy-0.5.3.ebuild (limited to 'dev-python') diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest new file mode 100644 index 0000000..c84f9e9 --- /dev/null +++ b/dev-python/sqlalchemy/Manifest @@ -0,0 +1,2 @@ +DIST SQLAlchemy-0.5.3.tar.gz 1455432 RMD160 6c240df3c5f45ea31b1ba1a85bde9da98bffb8e3 SHA1 0a4f50b690ae946c3188614eeea6f1e5f02681d9 SHA256 ae4f9c95586a64bbda6f5979359da2f4e621d074f9dd5e116a36c3c144944450 +EBUILD sqlalchemy-0.5.3.ebuild 1265 RMD160 6b8b5eb97c1647e4a4978a37bc2ec0c22337eb1f SHA1 519a576e5115beb738ba7b31523edf1266bb04f2 SHA256 4dda7ed9437e7a8fbde651de87f0a17ba4d2aa6f59ecc0fef01c1c66f6a638c6 diff --git a/dev-python/sqlalchemy/sqlalchemy-0.5.3.ebuild b/dev-python/sqlalchemy/sqlalchemy-0.5.3.ebuild new file mode 100644 index 0000000..71c872f --- /dev/null +++ b/dev-python/sqlalchemy/sqlalchemy-0.5.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_P=SQLAlchemy-${PV/_} + +DESCRIPTION="Python SQL toolkit and Object Relational Mapper." +HOMEPAGE="http://www.sqlalchemy.org/ http://pypi.python.org/pypi/SQLAlchemy" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +IUSE="doc examples firebird mssql mysql postgres +sqlite test" +KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" + +RDEPEND="firebird? ( dev-python/kinterbasdb ) + mssql? ( dev-python/pymssql ) + mysql? ( dev-python/mysql-python ) + postgres? ( + >=dev-python/psycopg-2 + ) + sqlite? ( + >=dev-db/sqlite-3.3.13 + || ( >=dev-lang/python-2.5[sqlite] dev-python/pysqlite ) + )" + +DEPEND="dev-python/setuptools + test? ( + >=dev-db/sqlite-3.3.13 + >=dev-python/nose-0.10.4 + || ( >=dev-lang/python-2.5[sqlite] dev-python/pysqlite ) + )" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" + +src_test() { + testing() { + PYTHONPATH="lib" nosetests-${PYTHON_ABI} + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + use doc && dohtml doc/* + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +} -- cgit v1.2.3-65-gdbad