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: Wed, 11 May 2022 06:19:22
Message-Id: 1652249952.bf451d53ea8955bcc985aca4f1370c35e76d0c6c.mgorny@gentoo
1 commit: bf451d53ea8955bcc985aca4f1370c35e76d0c6c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 11 05:59:18 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 11 06:19:12 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf451d53
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 | 3 -
13 dev-python/sqlalchemy/sqlalchemy-1.3.24.ebuild | 62 ---------------------
14 dev-python/sqlalchemy/sqlalchemy-1.4.32.ebuild | 72 ------------------------
15 dev-python/sqlalchemy/sqlalchemy-1.4.34.ebuild | 77 --------------------------
16 4 files changed, 214 deletions(-)
17
18 diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest
19 index 5da76d79822e..cfe1dc6511aa 100644
20 --- a/dev-python/sqlalchemy/Manifest
21 +++ b/dev-python/sqlalchemy/Manifest
22 @@ -1,6 +1,3 @@
23 -DIST SQLAlchemy-1.3.24.tar.gz 6353598 BLAKE2B 6eb92b20fa3412a1f1398e18e902e3338320973287afa4a37477ec28d47e7422a19c3a60e6290a6da7b23512c0d818a26400958d02097def778c917f098bb3db SHA512 4f5f0a23e80e1cebe541f8748a7e794e8964d986252803b3289a7cea732ad22557e00221775332e2766b6ff16ad5d9069223f441f8880ca6d0c47011f15fee5b
24 DIST SQLAlchemy-1.4.31.tar.gz 7999646 BLAKE2B 4c394aaa4bc5636cc90f06017466c227b5e16fc54c3a9a42b18cc13906640e4710146325e870598f8905074bf6dad42ea524febc029b1dd5f063e978ebc9a442 SHA512 e54261fcf992845b2e6be47d23f530aec28c7517e6741b1b6a101b9888d3dc3162c1eeab0acc1edb33f56f1360bae3cdccdbcbff0e1e88e477c93d0cd910c17c
25 -DIST SQLAlchemy-1.4.32.tar.gz 8077546 BLAKE2B 8eb0b617cdc147da21722f3e9b7c9c0659c9bc02f0530c724a7c8afafa9ea018c0558b58baa0387d84627115d474e87996fe8c7768ac53d55a0c817bc8f167b7 SHA512 e9bc125cb531182c97c9588bc7b87028ec334efe63d81d0bee0e7f74b0ce88ac183236298a05cdac42f3a0241b543528bf6f225d199e4bf6d8199caca63581bd
26 -DIST SQLAlchemy-1.4.34.tar.gz 8133799 BLAKE2B ec8b14bf4df2d9188805bf49aac394d5944e234099bcb9f20cbbb4114c757bee5933d1fd7025e6eda01bf7be6603cae83ff751928783134031ddf1ccf5d36da7 SHA512 c3158dc2c52dd865d98b84ce4cf0adde38300504d5f5ff61f953927baf8f2264d53255f6e83e2ce2f720529f1e8b3e57e684d56a57fd6a0881bd4f1ba10b373f
27 DIST SQLAlchemy-1.4.35.tar.gz 8136388 BLAKE2B 01a47eab8e11daef133a218a7ef13fa149fb4616b531c3c6d227cc26e3264c259f42770b72335a9fbda5e66ae1ce242fcbe676a528ca1af896d990a84a1f1a57 SHA512 195ab35934bca36e7c4c2127f153eff31775f7f150163912f79143efae63911eded67d8645e08ede2c533c675d18c3c5796235e0c0f6d1e6ebb97664ac13f171
28 DIST SQLAlchemy-1.4.36.tar.gz 8146415 BLAKE2B 62560ac2f2c542d60588a24eef225d39f1b6c4cf6feddfac4631e06731206a837cc0f76b88b40c73600361243857e9e1768b4b4ac0bf5ee8e28736d81028ae58 SHA512 c9bb38ce5eeb7817727e93695f10cf5c247710b809f3298b233ed8be4e2cc08e5a14581d0c5aa2af02d7a49f036fe3a0bb7a88120b58bdce0f115016bdaf2c77
29
30 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.3.24.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.3.24.ebuild
31 deleted file mode 100644
32 index c69c1cfdbe2e..000000000000
33 --- a/dev-python/sqlalchemy/sqlalchemy-1.3.24.ebuild
34 +++ /dev/null
35 @@ -1,62 +0,0 @@
36 -# Copyright 1999-2021 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=7
40 -
41 -PYTHON_COMPAT=( pypy3 python3_{7..9} )
42 -PYTHON_REQ_USE="sqlite?"
43 -
44 -inherit distutils-r1 multiprocessing optfeature
45 -
46 -MY_PN="SQLAlchemy"
47 -MY_P="${MY_PN}-${PV/_beta/b}"
48 -
49 -DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
50 -HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
51 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
52 -S="${WORKDIR}/${MY_P}"
53 -
54 -LICENSE="MIT"
55 -SLOT="0"
56 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
57 -IUSE="examples +sqlite test"
58 -
59 -# Use pytest-xdist to speed up tests
60 -BDEPEND="
61 - test? (
62 - $(python_gen_impl_dep sqlite)
63 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
64 - )
65 -"
66 -
67 -PATCHES=(
68 - # Ported part of those commits to fix failing tests:
69 - # https://github.com/sqlalchemy/sqlalchemy/commit/c68f9fb87868c45fcadcc942ce4a35f10ff2f7ea
70 - # https://github.com/sqlalchemy/sqlalchemy/commit/a9b068ae564e5e775e312373088545b75aeaa1b0
71 - # https://github.com/sqlalchemy/sqlalchemy/commit/9e31fc74089cf565df5f275d22eb8ae5414d6e45
72 - "${FILESDIR}/sqlalchemy-1.3.20-pypy3.patch"
73 -)
74 -
75 -distutils_enable_tests pytest
76 -
77 -python_test() {
78 - # Disable tests hardcoding function call counts specific to Python versions.
79 - epytest --ignore test/aaa_profiling \
80 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
81 -}
82 -
83 -python_install_all() {
84 - if use examples; then
85 - docompress -x "/usr/share/doc/${PF}/examples"
86 - dodoc -r examples
87 - fi
88 -
89 - distutils-r1_python_install_all
90 -}
91 -
92 -pkg_postinst() {
93 - optfeature "MySQL support" dev-python/mysqlclient dev-python/pymysql \
94 - dev-python/mysql-connector-python
95 - optfeature "mssql support" dev-python/pymssql
96 - optfeature "postgresql support" dev-python/psycopg:2
97 -}
98
99 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.32.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.32.ebuild
100 deleted file mode 100644
101 index 65a46c488df9..000000000000
102 --- a/dev-python/sqlalchemy/sqlalchemy-1.4.32.ebuild
103 +++ /dev/null
104 @@ -1,72 +0,0 @@
105 -# Copyright 1999-2022 Gentoo Authors
106 -# Distributed under the terms of the GNU General Public License v2
107 -
108 -EAPI=8
109 -
110 -DISTUTILS_USE_PEP517=setuptools
111 -PYTHON_COMPAT=( pypy3 python3_{8..10} )
112 -PYTHON_REQ_USE="sqlite?"
113 -
114 -inherit distutils-r1 optfeature
115 -
116 -MY_PN="SQLAlchemy"
117 -MY_P="${MY_PN}-${PV/_beta/b}"
118 -
119 -DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
120 -HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
121 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
122 -S="${WORKDIR}/${MY_P}"
123 -
124 -LICENSE="MIT"
125 -SLOT="0"
126 -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"
127 -IUSE="examples +sqlite test"
128 -
129 -BDEPEND="
130 - test? (
131 - $(python_gen_impl_dep sqlite)
132 - )
133 -"
134 -
135 -distutils_enable_tests pytest
136 -
137 -EPYTEST_IGNORE=(
138 - # hardcode call counts specific to Python versions
139 - test/aaa_profiling
140 -)
141 -
142 -src_prepare() {
143 - sed -i -e '/greenlet/d' setup.cfg || die
144 - distutils-r1_src_prepare
145 -}
146 -
147 -python_test() {
148 - # upstream's test suite is horribly hacky; it relies on disabling
149 - # the warnings plugin and turning warnings into errors; this also
150 - # means that any DeprecationWarnings from third-party plugins cause
151 - # everything to explode
152 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
153 - local -x PYTEST_PLUGINS=
154 - # upstream automagically depends on xdist when it is importable
155 - if has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]"; then
156 - PYTEST_PLUGINS+=xdist.plugin
157 - fi
158 - epytest
159 -}
160 -
161 -python_install_all() {
162 - if use examples; then
163 - docompress -x "/usr/share/doc/${PF}/examples"
164 - dodoc -r examples
165 - fi
166 -
167 - distutils-r1_python_install_all
168 -}
169 -
170 -pkg_postinst() {
171 - optfeature "asyncio support" dev-python/greenlet
172 - optfeature "MySQL support" dev-python/mysqlclient dev-python/pymysql \
173 - dev-python/mysql-connector-python
174 - optfeature "mssql support" dev-python/pymssql
175 - optfeature "postgresql support" dev-python/psycopg:2
176 -}
177
178 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.34.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.34.ebuild
179 deleted file mode 100644
180 index 1bb418de0bfe..000000000000
181 --- a/dev-python/sqlalchemy/sqlalchemy-1.4.34.ebuild
182 +++ /dev/null
183 @@ -1,77 +0,0 @@
184 -# Copyright 1999-2022 Gentoo Authors
185 -# Distributed under the terms of the GNU General Public License v2
186 -
187 -EAPI=8
188 -
189 -DISTUTILS_USE_PEP517=setuptools
190 -PYTHON_COMPAT=( pypy3 python3_{8..10} )
191 -PYTHON_REQ_USE="sqlite?"
192 -
193 -inherit distutils-r1 optfeature
194 -
195 -MY_PN="SQLAlchemy"
196 -MY_P="${MY_PN}-${PV/_beta/b}"
197 -
198 -DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
199 -HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
200 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
201 -S="${WORKDIR}/${MY_P}"
202 -
203 -LICENSE="MIT"
204 -SLOT="0"
205 -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"
206 -IUSE="examples +sqlite test"
207 -
208 -BDEPEND="
209 - test? (
210 - $(python_gen_impl_dep sqlite)
211 - )
212 -"
213 -
214 -distutils_enable_tests pytest
215 -
216 -EPYTEST_IGNORE=(
217 - # hardcode call counts specific to Python versions
218 - test/aaa_profiling
219 -)
220 -
221 -src_prepare() {
222 - sed -i -e '/greenlet/d' setup.cfg || die
223 - distutils-r1_src_prepare
224 -}
225 -
226 -python_test() {
227 - local EPYTEST_DESELECT=()
228 - [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=(
229 - test/ext/test_associationproxy.py::ProxyHybridTest::test_msg_fails_on_cls_access
230 - )
231 -
232 - # upstream's test suite is horribly hacky; it relies on disabling
233 - # the warnings plugin and turning warnings into errors; this also
234 - # means that any DeprecationWarnings from third-party plugins cause
235 - # everything to explode
236 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
237 - local -x PYTEST_PLUGINS=
238 - # upstream automagically depends on xdist when it is importable
239 - if has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]"; then
240 - PYTEST_PLUGINS+=xdist.plugin
241 - fi
242 - epytest
243 -}
244 -
245 -python_install_all() {
246 - if use examples; then
247 - docompress -x "/usr/share/doc/${PF}/examples"
248 - dodoc -r examples
249 - fi
250 -
251 - distutils-r1_python_install_all
252 -}
253 -
254 -pkg_postinst() {
255 - optfeature "asyncio support" dev-python/greenlet
256 - optfeature "MySQL support" dev-python/mysqlclient dev-python/pymysql \
257 - dev-python/mysql-connector-python
258 - optfeature "mssql support" dev-python/pymssql
259 - optfeature "postgresql support" dev-python/psycopg:2
260 -}