summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2010-04-19 18:35:53 +0000
committerDirkjan Ochtman <djc@gentoo.org>2010-04-19 18:35:53 +0000
commit5b173c8306e572ca26b0c6641b9e24f0c818ce9b (patch)
tree50b01e445f6ae6e20a6d9d420bca2ae28a051a25 /dev-python/sqlalchemy
parentDrop encoding set from POTFILES.skip. Fix bug 313351 (diff)
downloadgentoo-2-5b173c8306e572ca26b0c6641b9e24f0c818ce9b.tar.gz
gentoo-2-5b173c8306e572ca26b0c6641b9e24f0c818ce9b.tar.bz2
gentoo-2-5b173c8306e572ca26b0c6641b9e24f0c818ce9b.zip
Version bump dev-python/sqlalchemy to 0.6.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/sqlalchemy')
-rw-r--r--dev-python/sqlalchemy/ChangeLog7
-rw-r--r--dev-python/sqlalchemy/sqlalchemy-0.6.0.ebuild64
2 files changed, 70 insertions, 1 deletions
diff --git a/dev-python/sqlalchemy/ChangeLog b/dev-python/sqlalchemy/ChangeLog
index 18b5765656ee..68cb229f5637 100644
--- a/dev-python/sqlalchemy/ChangeLog
+++ b/dev-python/sqlalchemy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/sqlalchemy
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/ChangeLog,v 1.40 2010/02/27 20:33:07 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/ChangeLog,v 1.41 2010/04/19 18:35:53 djc Exp $
+
+*sqlalchemy-0.6.0 (19 Apr 2010)
+
+ 19 Apr 2010; Dirkjan Ochtman <djc@gentoo.org> +sqlalchemy-0.6.0.ebuild:
+ Version bump to 0.6.
27 Feb 2010; Fabian Groffen <grobian@gentoo.org> sqlalchemy-0.5.8.ebuild:
Marked ~x64-macos, thanks Ramon van Alteren in bug #306705
diff --git a/dev-python/sqlalchemy/sqlalchemy-0.6.0.ebuild b/dev-python/sqlalchemy/sqlalchemy-0.6.0.ebuild
new file mode 100644
index 000000000000..ec16e4f2b187
--- /dev/null
+++ b/dev-python/sqlalchemy/sqlalchemy-0.6.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/sqlalchemy-0.6.0.ebuild,v 1.1 2010/04/19 18:35:53 djc Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
+
+MY_PN="SQLAlchemy"
+MY_P="${MY_PN}-${PV/_}"
+
+DESCRIPTION="Python SQL toolkit and Object Relational Mapper."
+HOMEPAGE="http://www.sqlalchemy.org/ http://pypi.python.org/pypi/SQLAlchemy"
+SRC_URI="http://pypi.python.org/packages/source/${MY_P:0:1}/${MY_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 ~x64-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
+
+ if use doc; then
+ pushd doc > /dev/null
+ rm -fr build
+ dohtml -r [a-z]* _images _static
+ popd > /dev/null
+ fi
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}