Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sqlalchemy/
Date: Sun, 05 Jun 2022 10:35:52
Message-Id: 1654425344.8924f2f63e62ba08a30432c6d2a148fc3145b09e.mgorny@gentoo
1 commit: 8924f2f63e62ba08a30432c6d2a148fc3145b09e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 5 10:04:46 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 5 10:35:44 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8924f2f6
7
8 dev-python/sqlalchemy: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/sqlalchemy/Manifest | 2 -
13 dev-python/sqlalchemy/sqlalchemy-1.4.31.ebuild | 71 --------------------
14 dev-python/sqlalchemy/sqlalchemy-1.4.35.ebuild | 93 --------------------------
15 3 files changed, 166 deletions(-)
16
17 diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest
18 index 1354b6811f4a..d6c5b87b467c 100644
19 --- a/dev-python/sqlalchemy/Manifest
20 +++ b/dev-python/sqlalchemy/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST SQLAlchemy-1.4.31.tar.gz 7999646 BLAKE2B 4c394aaa4bc5636cc90f06017466c227b5e16fc54c3a9a42b18cc13906640e4710146325e870598f8905074bf6dad42ea524febc029b1dd5f063e978ebc9a442 SHA512 e54261fcf992845b2e6be47d23f530aec28c7517e6741b1b6a101b9888d3dc3162c1eeab0acc1edb33f56f1360bae3cdccdbcbff0e1e88e477c93d0cd910c17c
23 -DIST SQLAlchemy-1.4.35.tar.gz 8136388 BLAKE2B 01a47eab8e11daef133a218a7ef13fa149fb4616b531c3c6d227cc26e3264c259f42770b72335a9fbda5e66ae1ce242fcbe676a528ca1af896d990a84a1f1a57 SHA512 195ab35934bca36e7c4c2127f153eff31775f7f150163912f79143efae63911eded67d8645e08ede2c533c675d18c3c5796235e0c0f6d1e6ebb97664ac13f171
24 DIST SQLAlchemy-1.4.36.tar.gz 8146415 BLAKE2B 62560ac2f2c542d60588a24eef225d39f1b6c4cf6feddfac4631e06731206a837cc0f76b88b40c73600361243857e9e1768b4b4ac0bf5ee8e28736d81028ae58 SHA512 c9bb38ce5eeb7817727e93695f10cf5c247710b809f3298b233ed8be4e2cc08e5a14581d0c5aa2af02d7a49f036fe3a0bb7a88120b58bdce0f115016bdaf2c77
25 DIST SQLAlchemy-1.4.37.tar.gz 8155965 BLAKE2B cf21c2ab73a5ba2576a857a12f30ea516265af946e25c1b137e57019d862bf04f4757b4755cee28e6f53642d1f1b58f43c99cd1c69f87640e47ac8a1d1ff8d28 SHA512 3f8a814f9bb6fa273f7b210c4567bf7411d0cf2e5caf010a5387fb946063704c342072145a858fb906545dfb1b959155d041e6073273674e51715356fc1f39e6
26
27 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.31.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.31.ebuild
28 deleted file mode 100644
29 index 0498d407f41f..000000000000
30 --- a/dev-python/sqlalchemy/sqlalchemy-1.4.31.ebuild
31 +++ /dev/null
32 @@ -1,71 +0,0 @@
33 -# Copyright 1999-2022 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=8
37 -
38 -DISTUTILS_USE_PEP517=setuptools
39 -PYTHON_COMPAT=( pypy3 python3_{8..10} )
40 -PYTHON_REQ_USE="sqlite?"
41 -
42 -inherit distutils-r1 optfeature
43 -
44 -MY_PN="SQLAlchemy"
45 -MY_P="${MY_PN}-${PV/_beta/b}"
46 -
47 -DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
48 -HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
49 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
50 -S="${WORKDIR}/${MY_P}"
51 -
52 -LICENSE="MIT"
53 -SLOT="0"
54 -KEYWORDS="~alpha amd64 arm arm64 hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
55 -IUSE="examples +sqlite test"
56 -
57 -BDEPEND="
58 - test? (
59 - $(python_gen_impl_dep sqlite)
60 - )
61 -"
62 -
63 -distutils_enable_tests pytest
64 -
65 -EPYTEST_IGNORE=(
66 - # hardcode call counts specific to Python versions
67 - test/aaa_profiling
68 -)
69 -
70 -src_prepare() {
71 - sed -i -e '/greenlet/d' setup.cfg || die
72 - distutils-r1_src_prepare
73 -}
74 -
75 -python_test() {
76 - # upstream's test suite is horribly hacky; it relies on disabling
77 - # the warnings plugin and turning warnings into errors; this also
78 - # means that any DeprecationWarnings from third-party plugins cause
79 - # everything to explode
80 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
81 - local -x PYTEST_PLUGINS=
82 - # upstream automagically depends on xdist when it is importable
83 - if has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]"; then
84 - PYTEST_PLUGINS+=xdist.plugin
85 - fi
86 - epytest
87 -}
88 -
89 -python_install_all() {
90 - if use examples; then
91 - docompress -x "/usr/share/doc/${PF}/examples"
92 - dodoc -r examples
93 - fi
94 -
95 - distutils-r1_python_install_all
96 -}
97 -
98 -pkg_postinst() {
99 - optfeature "asyncio support" dev-python/greenlet
100 - optfeature "MySQL support" dev-python/mysqlclient dev-python/pymysql \
101 - dev-python/mysql-connector-python
102 - optfeature "postgresql support" dev-python/psycopg:2
103 -}
104
105 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.35.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.35.ebuild
106 deleted file mode 100644
107 index 86ec1697ec2b..000000000000
108 --- a/dev-python/sqlalchemy/sqlalchemy-1.4.35.ebuild
109 +++ /dev/null
110 @@ -1,93 +0,0 @@
111 -# Copyright 1999-2022 Gentoo Authors
112 -# Distributed under the terms of the GNU General Public License v2
113 -
114 -EAPI=8
115 -
116 -DISTUTILS_USE_PEP517=setuptools
117 -PYTHON_COMPAT=( pypy3 python3_{8..10} )
118 -PYTHON_REQ_USE="sqlite?"
119 -
120 -inherit distutils-r1 optfeature
121 -
122 -MY_PN="SQLAlchemy"
123 -MY_P="${MY_PN}-${PV/_beta/b}"
124 -
125 -DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
126 -HOMEPAGE="
127 - https://www.sqlalchemy.org/
128 - https://pypi.org/project/SQLAlchemy/
129 - https://github.com/sqlalchemy/sqlalchemy/
130 -"
131 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
132 -S="${WORKDIR}/${MY_P}"
133 -
134 -LICENSE="MIT"
135 -SLOT="0"
136 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
137 -IUSE="examples +sqlite test"
138 -
139 -BDEPEND="
140 - test? (
141 - $(python_gen_impl_dep sqlite)
142 - )
143 -"
144 -
145 -distutils_enable_tests pytest
146 -
147 -EPYTEST_IGNORE=(
148 - # hardcode call counts specific to Python versions
149 - test/aaa_profiling
150 -)
151 -
152 -src_prepare() {
153 - sed -i -e '/greenlet/d' setup.cfg || die
154 - distutils-r1_src_prepare
155 -}
156 -
157 -python_test() {
158 - local EPYTEST_DESELECT=(
159 - # warning tests are unreliable
160 - test/base/test_warnings.py
161 - )
162 - [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=(
163 - test/ext/test_associationproxy.py::ProxyHybridTest::test_msg_fails_on_cls_access
164 - )
165 - if ! has_version "dev-python/greenlet[${PYTHON_USEDEP}]"; then
166 - EPYTEST_DESELECT+=(
167 - test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_execution
168 - test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_run_sync
169 - "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[True-_exclusions0]"
170 - "test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True-_exclusions0]"
171 - )
172 - fi
173 -
174 - # upstream's test suite is horribly hacky; it relies on disabling
175 - # the warnings plugin and turning warnings into errors; this also
176 - # means that any DeprecationWarnings from third-party plugins cause
177 - # everything to explode
178 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
179 - local -x PYTEST_PLUGINS=
180 - # upstream automagically depends on xdist when it is importable
181 - if has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]"; then
182 - PYTEST_PLUGINS+=xdist.plugin
183 - fi
184 - epytest
185 -}
186 -
187 -python_install_all() {
188 - if use examples; then
189 - docompress -x "/usr/share/doc/${PF}/examples"
190 - dodoc -r examples
191 - fi
192 -
193 - distutils-r1_python_install_all
194 -}
195 -
196 -pkg_postinst() {
197 - optfeature "asyncio support" dev-python/greenlet
198 - optfeature "MySQL support" \
199 - dev-python/mysqlclient \
200 - dev-python/pymysql \
201 - dev-python/mysql-connector-python
202 - optfeature "postgresql support" dev-python/psycopg:2
203 -}