diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-11-19 13:59:19 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-11-19 13:59:19 +0100 |
commit | 920501f4620b2a50ee166020ff913d4fcac1fa4d (patch) | |
tree | 6523052850caa77460e6c63f89bd297ef70d458c /dev-python/sqlalchemy | |
parent | x11-libs/qwt: Update DESCRIPTION for Qt5 (diff) | |
download | gentoo-920501f4620b2a50ee166020ff913d4fcac1fa4d.tar.gz gentoo-920501f4620b2a50ee166020ff913d4fcac1fa4d.tar.bz2 gentoo-920501f4620b2a50ee166020ff913d4fcac1fa4d.zip |
dev-python/sqlalchemy: Readd ancient version
Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/sqlalchemy')
-rw-r--r-- | dev-python/sqlalchemy/Manifest | 1 | ||||
-rw-r--r-- | dev-python/sqlalchemy/files/sqlalchemy-0.7-logging.handlers.patch | 12 | ||||
-rw-r--r-- | dev-python/sqlalchemy/sqlalchemy-0.7.10.ebuild | 68 |
3 files changed, 81 insertions, 0 deletions
diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest index 4f08526a29c3..d10a4d359206 100644 --- a/dev-python/sqlalchemy/Manifest +++ b/dev-python/sqlalchemy/Manifest @@ -1,3 +1,4 @@ +DIST SQLAlchemy-0.7.10.tar.gz 3541639 SHA256 77aa39d65c9d043eba6ba329b359ff867424fd6c403b7c0cb112b65e507e1d66 SHA512 631bc4ffb419defa531a66d82449fe48f93c88371ba0b8ab4217d900a0d1d90efe9699d8a9048d5c2ed33948c6d2f7cae46452ee45d442914018f3361e804367 WHIRLPOOL 74ffc17efbcbb2ac67712b9e11aa48431d18970f46ae5985aaa345aa8691f96e4acc4cf6fa37606699fbba83fcb7f74b0360fea2ac5e93a451585019e110f2ed DIST SQLAlchemy-0.9.8.tar.gz 4080098 SHA256 de3ac04ecab0a7e0af64eee30a71e723ba5886b958205f7354dd62439da60389 SHA512 3df7d7a64cdfe7b684be98e7e9d6836da54c391343bb047224a11df888041034bcc54cc30d15dc3d56b5d397b35e6aabe5732e7ca8fbf553bd8d98731c249ea5 WHIRLPOOL 2cedf7713753a6cf8838741fcf06c5510387aa4e661ea3c0ecc2bb7bdb5b03fb90f072ccd1a5671f03943952340c6c3525836e1ebe9246506143b055a1ca1991 DIST SQLAlchemy-1.0.8.tar.gz 4627601 SHA256 950c79c0abf9e9f99c43c627c51d40d14a946810a90c35e7cd827bfd0bffe46f SHA512 921f847a20548095cb1f41fe6147b393110e08f8f3ff0aee6081e7811e7c15b3c03583afd41ddf5aacdc1dde090c0512afb94c7cc33d9c27135a5525ed121e74 WHIRLPOOL 757f2a3832c8fefd5789cd981eb1b2028419362ed2714927198df6b91742236896d4ab0131969afa08e5508843e32e018a1361e28df3f22a15f811d78275f8cf DIST SQLAlchemy-1.0.9.tar.gz 4662673 SHA256 c3d37501e36ec5d74c2d7b4a3764719db86a9cdab4a24431bf58b386743ab10e SHA512 5032977e4fd3ff12d7ae10ca87f0ec9cd2d9eb5d200020b74faad1309eb1de5bacc9b4f5e53cb1b0b0b9c7f59b923a87a12ba050b37a631f9c77af2b896eb076 WHIRLPOOL 5e824f8581b98ac26f47d0bc8ae706783602ebe6bf921c6767f46db83b8322b022ea51603d1002017052144946256583c4fd9d2a92742c752333b530ed356121 diff --git a/dev-python/sqlalchemy/files/sqlalchemy-0.7-logging.handlers.patch b/dev-python/sqlalchemy/files/sqlalchemy-0.7-logging.handlers.patch new file mode 100644 index 000000000000..122ae43fe338 --- /dev/null +++ b/dev-python/sqlalchemy/files/sqlalchemy-0.7-logging.handlers.patch @@ -0,0 +1,12 @@ +https://bitbucket.org/sqlalchemy/sqlalchemy/pull-request/41 +--- a/test/engine/test_execute.py ++++ b/test/engine/test_execute.py +@@ -9,7 +9,7 @@ + import sqlalchemy as tsa + from test.lib import testing, engines + from test.lib.engines import testing_engine +-import logging ++import logging, logging.handlers + from sqlalchemy.dialects.oracle.zxjdbc import ReturningParam + from sqlalchemy.engine import base, default + from sqlalchemy.engine.base import Connection, Engine diff --git a/dev-python/sqlalchemy/sqlalchemy-0.7.10.ebuild b/dev-python/sqlalchemy/sqlalchemy-0.7.10.ebuild new file mode 100644 index 000000000000..0986baaf70d9 --- /dev/null +++ b/dev-python/sqlalchemy/sqlalchemy-0.7.10.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +# py3 appears underdone, +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 eutils flag-o-matic + +MY_PN="SQLAlchemy" +MY_P="${MY_PN}-${PV/_}" + +DESCRIPTION="Python SQL toolkit and Object Relational Mapper" +HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.python.org/pypi/SQLAlchemy" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ia64 ~ppc ~ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="doc examples firebird mssql mysql postgres +sqlite test" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + 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 )" +DEPEND="${RDEPEND} + test? ( + >=dev-db/sqlite-3.3.13 + >=dev-python/nose-0.10.4[${PYTHON_USEDEP}] + )" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( "${FILESDIR}/${PN}-0.7-logging.handlers.patch" ) + +python_prepare_all() { + # Disable tests hardcoding function call counts specific to Python versions. + rm -fr test/aaa_profiling + distutils-r1_python_prepare_all +} + +python_configure_all() { + append-flags -fno-strict-aliasing +} + +python_test() { + "${PYTHON}" sqla_nose.py || die +} + +python_install_all() { + distutils-r1_python_install_all + + 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 +} |