From: Michał Górny Date: Sun, 29 Mar 2020 09:09:47 +0000 (+0200) Subject: dev-python/sqlalchemy: Remove redundant versions X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=35194eb8402fb8bc8a8d48684f311e2f7ffea04e;p=gentoo.git dev-python/sqlalchemy: Remove redundant versions Signed-off-by: Michał Górny --- diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest index c602587833e7..833940a016de 100644 --- a/dev-python/sqlalchemy/Manifest +++ b/dev-python/sqlalchemy/Manifest @@ -1,5 +1,2 @@ -DIST SQLAlchemy-0.7.10.tar.gz 3541639 BLAKE2B 641532caccb6fea333198ba0c5064f7714ff75348c00dc762da24211fe6ff210c9e335a5b31ad5429e14b26804bafde6d597203aacddbd98d949d1315851d348 SHA512 631bc4ffb419defa531a66d82449fe48f93c88371ba0b8ab4217d900a0d1d90efe9699d8a9048d5c2ed33948c6d2f7cae46452ee45d442914018f3361e804367 -DIST SQLAlchemy-1.2.18.tar.gz 5675143 BLAKE2B 2e0a54d16b64801cb60b619c39dfba64d3b1705ac43a89f6a3873c9fd1bb9af02d38d1026f309eb3d33ad20265da8b3731d7d7092bec8fa035e4d696d74f1d5f SHA512 a3074e0f7b9a307937f02ad030811413f3c92b7edcc4f1c6eda7c94c1178708f8c920840385a9b33c7952e224fe46dc73223aee00123e863abf6d1d446aebdb2 DIST SQLAlchemy-1.3.11.tar.gz 6007784 BLAKE2B c889ea28ae08fcb83d338ab01a64533142428ee91a6c11b9a7f2116f99161c066e66f49d76bdd2c7600f1a7f86a2add217f49dda4cf97566a875f28d3d4b24be SHA512 c691539db4edd62af749087728dfd424010bfb3ca2cc8503a4b96c1625d059d4c2a748b9a35cc870cc99ca9df61966cce406f9b570b25e55c3632a99b8621e74 DIST SQLAlchemy-1.3.3.tar.gz 5864870 BLAKE2B d109e0daf0afdeaba946c4b18d14428c108ff15041876c9a35cf8e5783f9b9a1896e69760b249c53af35e4575e66f4b59c855b4a244d7f6569fadfb52c5a400d SHA512 f8e0f580ba5cc7eaed985e5a3af8cdcc2dddddcd64bdf02b247242eeab542b5666a93d46166b5edb4b28af3b89df44bccfa92d5bf94cc0e173dbcd369ae6487c -DIST SQLAlchemy-1.3.4.tar.gz 5877278 BLAKE2B 1200da89ce6ad077cc93c58a4e41f856a2222618b3570badf3bd8543d70659e0313e4add0ef779e98654dbd60f8445ae6839830ac15e72d9c0fa259eac328251 SHA512 6f29aeeceafcd996bbfc781b79dcbe0bbc681f1214cdab2d52b140bbae8492a633defa97dcc720db7a6d423b062834b0805e965e6183f88f99648a8f8f8a73dd diff --git a/dev-python/sqlalchemy/files/sqlalchemy-0.7-logging.handlers.patch b/dev-python/sqlalchemy/files/sqlalchemy-0.7-logging.handlers.patch deleted file mode 100644 index 122ae43fe338..000000000000 --- a/dev-python/sqlalchemy/files/sqlalchemy-0.7-logging.handlers.patch +++ /dev/null @@ -1,12 +0,0 @@ -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 deleted file mode 100644 index bbec08c0f40d..000000000000 --- a/dev-python/sqlalchemy/sqlalchemy-0.7.10.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -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.org/project/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 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="doc examples mssql mysql postgres +sqlite test" -RESTRICT="!test? ( test )" - -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - 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 -} diff --git a/dev-python/sqlalchemy/sqlalchemy-1.2.18.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.2.18.ebuild deleted file mode 100644 index 2f7fd79a6962..000000000000 --- a/dev-python/sqlalchemy/sqlalchemy-1.2.18.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 ) -PYTHON_REQ_USE="sqlite?" - -inherit distutils-r1 eutils flag-o-matic - -MY_PN="SQLAlchemy" -MY_P="${MY_PN}-${PV/_beta/b}" - -DESCRIPTION="Python SQL toolkit and Object Relational Mapper" -HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/" -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" -IUSE="doc examples +sqlite test" -RESTRICT="!test? ( test )" - -REQUIRED_USE="test? ( sqlite )" - -RDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}]" - -DEPEND=" - ${RDEPEND} - test? ( - >=dev-python/pytest-2.5.2[${PYTHON_USEDEP}] - !~dev-python/pytest-3.9.1[${PYTHON_USEDEP}] - !~dev-python/pytest-3.9.2[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - )" - -S="${WORKDIR}/${MY_P}" - -python_prepare_all() { - # Disable tests hardcoding function call counts specific to Python versions. - rm -r test/aaa_profiling || die - distutils-r1_python_prepare_all -} - -python_compile() { - if ! python_is_python3; then - local CFLAGS=${CFLAGS} - append-cflags -fno-strict-aliasing - fi - distutils-r1_python_compile -} - -python_test() { - pytest -vv test || die "Testsuite failed under ${EPYTHON}" -} - -python_install_all() { - use doc && HTML_DOCS=( doc/. ) - use examples && dodoc -r examples - - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python - optfeature "mssql support" dev-python/pymssql - optfeature "postgresql support" dev-python/psycopg:2 -} diff --git a/dev-python/sqlalchemy/sqlalchemy-1.3.4.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.3.4.ebuild deleted file mode 100644 index c82d13bfea90..000000000000 --- a/dev-python/sqlalchemy/sqlalchemy-1.3.4.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) -PYTHON_REQ_USE="sqlite?" - -inherit distutils-r1 eutils flag-o-matic - -MY_PN="SQLAlchemy" -MY_P="${MY_PN}-${PV/_beta/b}" - -DESCRIPTION="Python SQL toolkit and Object Relational Mapper" -HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/" -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" -IUSE="doc examples +sqlite test" -RESTRICT="!test? ( test )" - -REQUIRED_USE="test? ( sqlite )" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - )" - -S="${WORKDIR}/${MY_P}" - -python_prepare_all() { - # Disable tests hardcoding function call counts specific to Python versions. - rm -r test/aaa_profiling || die - distutils-r1_python_prepare_all -} - -python_compile() { - if ! python_is_python3; then - local CFLAGS=${CFLAGS} - append-cflags -fno-strict-aliasing - fi - distutils-r1_python_compile -} - -python_test() { - pytest -vv test || die "Testsuite failed under ${EPYTHON}" -} - -python_install_all() { - use doc && HTML_DOCS=( doc/. ) - use examples && dodoc -r examples - - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python - optfeature "mssql support" dev-python/pymssql - optfeature "postgresql support" dev-python/psycopg:2 -}