1 |
commit: bc0001434a89761c54a0072504b3fb18945b5410 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 23 07:32:01 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 23 09:28:37 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc000143 |
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 | 6 --- |
13 |
dev-python/sqlalchemy/sqlalchemy-1.4.11.ebuild | 66 -------------------------- |
14 |
dev-python/sqlalchemy/sqlalchemy-1.4.12.ebuild | 66 -------------------------- |
15 |
dev-python/sqlalchemy/sqlalchemy-1.4.13.ebuild | 66 -------------------------- |
16 |
dev-python/sqlalchemy/sqlalchemy-1.4.14.ebuild | 66 -------------------------- |
17 |
dev-python/sqlalchemy/sqlalchemy-1.4.16.ebuild | 66 -------------------------- |
18 |
dev-python/sqlalchemy/sqlalchemy-1.4.17.ebuild | 66 -------------------------- |
19 |
7 files changed, 402 deletions(-) |
20 |
|
21 |
diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest |
22 |
index 0c26a73a2ad..97520c8fd46 100644 |
23 |
--- a/dev-python/sqlalchemy/Manifest |
24 |
+++ b/dev-python/sqlalchemy/Manifest |
25 |
@@ -1,9 +1,3 @@ |
26 |
DIST SQLAlchemy-1.3.24.tar.gz 6353598 BLAKE2B 6eb92b20fa3412a1f1398e18e902e3338320973287afa4a37477ec28d47e7422a19c3a60e6290a6da7b23512c0d818a26400958d02097def778c917f098bb3db SHA512 4f5f0a23e80e1cebe541f8748a7e794e8964d986252803b3289a7cea732ad22557e00221775332e2766b6ff16ad5d9069223f441f8880ca6d0c47011f15fee5b |
27 |
-DIST SQLAlchemy-1.4.11.tar.gz 7551299 BLAKE2B 65f560223f1f1656ec90a2b46b5447e92908cb7a8124f1a16f59ae04e5c22b9c4b7a30cbc0d1c8ebf31d31f544619223bdff0546fcfe6124195c4430bc8167c5 SHA512 28d5da109d754183e7f1887c652c47cd7162afec285a44ed6bc51566dc40d43cdb8cd1794f93f31b2e085488025f04243613d500936c220aaab3aedb75fb6dcd |
28 |
-DIST SQLAlchemy-1.4.12.tar.gz 7583069 BLAKE2B a3097c53ba1c8e979c3eab712e51da39214710e174a90cdabd5f5588fcb01d2d45436e8019a1026780474e2fde7663495cffa411c58b255e847aa584a38ca26a SHA512 5863e4982c260d39e79db3a8fffd7ca6710b7f6ab0f73f9ddb09860e27d679fe2c92e0eaab9fe6914b38be4390c0eb685adef6624b06874fb43d96027b545659 |
29 |
-DIST SQLAlchemy-1.4.13.tar.gz 7589942 BLAKE2B 08e9fb6112aa71738f27dc4ce86ebe2274dd2513f39ded7211a5617ecd677f37fe31de754a24ecd519b227b141287ad86d0d0337f3d278d4c4ca5b67e2a1a79d SHA512 fb81c71922a768221f6675686fb2696b5e6d1f2e72231611e9afd20b7659193247eef4191841799fb1fe6a51304629efb6d3fba5dc298fdf70f248010bce8bb3 |
30 |
-DIST SQLAlchemy-1.4.14.tar.gz 7599698 BLAKE2B 500a6257829244e1181b8ef5cb39fb87b62ae2d7ca054fedb580b7431b32d15c8f68600b881eb67eb97a73301660ab96793ab12094ae901782ce4eebdc8929db SHA512 2f33ab034467344ffb19aa3934148faaa4a57e4ffa5f97008d814d54149da4e15cfca14d138b9fb656227e25932ca95cf7321209c31c2706405d3916dc2fb9c0 |
31 |
DIST SQLAlchemy-1.4.15.tar.gz 7621840 BLAKE2B 74299b92e8ae9d6017c961c44281cc43921f8505e9b141c75cc19899f693a2276b2849daef6dbe35f0d62179354740c76adc318b6b37d551679cc8ba3c47681f SHA512 b9a640ccfb7caabb88c4891748699442073db2bea6d1e5a33eb508863616c94ddbf162b3ecd5e502daf20d798d20b8ef5b4b29ed679af9161e117a23862327c2 |
32 |
-DIST SQLAlchemy-1.4.16.tar.gz 7629704 BLAKE2B 46626cb38e3ec2c5b5c203a03da1a613cb5b66f2906edc54c03843b87ce8f12fbacb6fcd8b2b36584c53516de24b8c1bae041489a376472e4d2e6e2a301b707b SHA512 035c740b49356b1226ed79f188d022904d93190e5391edd350e44e63301333efcfc6c47477ce5119fdbebd49aa3e21b2764d3e4dcc6be5948428f1d8cf11c84c |
33 |
-DIST SQLAlchemy-1.4.17.tar.gz 7630929 BLAKE2B 88b75c930caf674aa6d927336573f0e40fc89ae72735c11479eaa15de56754807b5412409d383857104a3027fcae346e747cc605525fe88c0a0f9d4ff39fcc7a SHA512 ff99a3a9c440fcdc10f6f43905672f72929fff430b3d9583b8e81693ff9d54ad5d9607b8041787074072cdf1ba03b31db9255cca1c50c8a43f275a0905e9f0bd |
34 |
DIST SQLAlchemy-1.4.18.tar.gz 7643090 BLAKE2B 8046bb9f9aa459eec95af57e597540552f6cd79ca3c393abf66d7370754e8433d743e739803929aaf0e2788b0c0419c022ddda1517d38da6580f3afeee1bc4d4 SHA512 06110bf727fd6d83404da2e031a27163c06059bf9eae4cc5b79ce047b5bab67b54432890091fa03abd9644156b92569001ae78c48c22799ab3bec220d4bbe1a0 |
35 |
|
36 |
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.11.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.11.ebuild |
37 |
deleted file mode 100644 |
38 |
index 35866923996..00000000000 |
39 |
--- a/dev-python/sqlalchemy/sqlalchemy-1.4.11.ebuild |
40 |
+++ /dev/null |
41 |
@@ -1,66 +0,0 @@ |
42 |
-# Copyright 1999-2021 Gentoo Authors |
43 |
-# Distributed under the terms of the GNU General Public License v2 |
44 |
- |
45 |
-EAPI=7 |
46 |
- |
47 |
-PYTHON_COMPAT=( pypy3 python3_{7..9} ) |
48 |
-PYTHON_REQ_USE="sqlite?" |
49 |
- |
50 |
-inherit distutils-r1 multiprocessing optfeature |
51 |
- |
52 |
-MY_PN="SQLAlchemy" |
53 |
-MY_P="${MY_PN}-${PV/_beta/b}" |
54 |
- |
55 |
-DESCRIPTION="Python SQL toolkit and Object Relational Mapper" |
56 |
-HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/" |
57 |
-SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" |
58 |
-S="${WORKDIR}/${MY_P}" |
59 |
- |
60 |
-LICENSE="MIT" |
61 |
-SLOT="0" |
62 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
63 |
-IUSE="examples +sqlite test" |
64 |
- |
65 |
-RDEPEND=" |
66 |
- $(python_gen_cond_dep ' |
67 |
- dev-python/importlib_metadata[${PYTHON_USEDEP}] |
68 |
- ' python3_7 pypy3) |
69 |
-" |
70 |
-# Use pytest-xdist to speed up tests |
71 |
-BDEPEND=" |
72 |
- test? ( |
73 |
- $(python_gen_impl_dep sqlite) |
74 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
75 |
- ) |
76 |
-" |
77 |
- |
78 |
-distutils_enable_tests pytest |
79 |
- |
80 |
-src_prepare() { |
81 |
- # remove optional/partial dep on greenlet, greenlet is not very portable |
82 |
- sed -i -e '/greenlet/d' setup.cfg || die |
83 |
- |
84 |
- distutils-r1_src_prepare |
85 |
-} |
86 |
- |
87 |
-python_test() { |
88 |
- # Disable tests hardcoding function call counts specific to Python versions. |
89 |
- epytest --ignore test/aaa_profiling \ |
90 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" |
91 |
-} |
92 |
- |
93 |
-python_install_all() { |
94 |
- if use examples; then |
95 |
- docompress -x "/usr/share/doc/${PF}/examples" |
96 |
- dodoc -r examples |
97 |
- fi |
98 |
- |
99 |
- distutils-r1_python_install_all |
100 |
-} |
101 |
- |
102 |
-pkg_postinst() { |
103 |
- optfeature "MySQL support" dev-python/mysqlclient dev-python/pymysql \ |
104 |
- dev-python/mysql-connector-python |
105 |
- optfeature "mssql support" dev-python/pymssql |
106 |
- optfeature "postgresql support" dev-python/psycopg:2 |
107 |
-} |
108 |
|
109 |
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.12.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.12.ebuild |
110 |
deleted file mode 100644 |
111 |
index 35866923996..00000000000 |
112 |
--- a/dev-python/sqlalchemy/sqlalchemy-1.4.12.ebuild |
113 |
+++ /dev/null |
114 |
@@ -1,66 +0,0 @@ |
115 |
-# Copyright 1999-2021 Gentoo Authors |
116 |
-# Distributed under the terms of the GNU General Public License v2 |
117 |
- |
118 |
-EAPI=7 |
119 |
- |
120 |
-PYTHON_COMPAT=( pypy3 python3_{7..9} ) |
121 |
-PYTHON_REQ_USE="sqlite?" |
122 |
- |
123 |
-inherit distutils-r1 multiprocessing optfeature |
124 |
- |
125 |
-MY_PN="SQLAlchemy" |
126 |
-MY_P="${MY_PN}-${PV/_beta/b}" |
127 |
- |
128 |
-DESCRIPTION="Python SQL toolkit and Object Relational Mapper" |
129 |
-HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/" |
130 |
-SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" |
131 |
-S="${WORKDIR}/${MY_P}" |
132 |
- |
133 |
-LICENSE="MIT" |
134 |
-SLOT="0" |
135 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
136 |
-IUSE="examples +sqlite test" |
137 |
- |
138 |
-RDEPEND=" |
139 |
- $(python_gen_cond_dep ' |
140 |
- dev-python/importlib_metadata[${PYTHON_USEDEP}] |
141 |
- ' python3_7 pypy3) |
142 |
-" |
143 |
-# Use pytest-xdist to speed up tests |
144 |
-BDEPEND=" |
145 |
- test? ( |
146 |
- $(python_gen_impl_dep sqlite) |
147 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
148 |
- ) |
149 |
-" |
150 |
- |
151 |
-distutils_enable_tests pytest |
152 |
- |
153 |
-src_prepare() { |
154 |
- # remove optional/partial dep on greenlet, greenlet is not very portable |
155 |
- sed -i -e '/greenlet/d' setup.cfg || die |
156 |
- |
157 |
- distutils-r1_src_prepare |
158 |
-} |
159 |
- |
160 |
-python_test() { |
161 |
- # Disable tests hardcoding function call counts specific to Python versions. |
162 |
- epytest --ignore test/aaa_profiling \ |
163 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" |
164 |
-} |
165 |
- |
166 |
-python_install_all() { |
167 |
- if use examples; then |
168 |
- docompress -x "/usr/share/doc/${PF}/examples" |
169 |
- dodoc -r examples |
170 |
- fi |
171 |
- |
172 |
- distutils-r1_python_install_all |
173 |
-} |
174 |
- |
175 |
-pkg_postinst() { |
176 |
- optfeature "MySQL support" dev-python/mysqlclient dev-python/pymysql \ |
177 |
- dev-python/mysql-connector-python |
178 |
- optfeature "mssql support" dev-python/pymssql |
179 |
- optfeature "postgresql support" dev-python/psycopg:2 |
180 |
-} |
181 |
|
182 |
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.13.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.13.ebuild |
183 |
deleted file mode 100644 |
184 |
index 35866923996..00000000000 |
185 |
--- a/dev-python/sqlalchemy/sqlalchemy-1.4.13.ebuild |
186 |
+++ /dev/null |
187 |
@@ -1,66 +0,0 @@ |
188 |
-# Copyright 1999-2021 Gentoo Authors |
189 |
-# Distributed under the terms of the GNU General Public License v2 |
190 |
- |
191 |
-EAPI=7 |
192 |
- |
193 |
-PYTHON_COMPAT=( pypy3 python3_{7..9} ) |
194 |
-PYTHON_REQ_USE="sqlite?" |
195 |
- |
196 |
-inherit distutils-r1 multiprocessing optfeature |
197 |
- |
198 |
-MY_PN="SQLAlchemy" |
199 |
-MY_P="${MY_PN}-${PV/_beta/b}" |
200 |
- |
201 |
-DESCRIPTION="Python SQL toolkit and Object Relational Mapper" |
202 |
-HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/" |
203 |
-SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" |
204 |
-S="${WORKDIR}/${MY_P}" |
205 |
- |
206 |
-LICENSE="MIT" |
207 |
-SLOT="0" |
208 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
209 |
-IUSE="examples +sqlite test" |
210 |
- |
211 |
-RDEPEND=" |
212 |
- $(python_gen_cond_dep ' |
213 |
- dev-python/importlib_metadata[${PYTHON_USEDEP}] |
214 |
- ' python3_7 pypy3) |
215 |
-" |
216 |
-# Use pytest-xdist to speed up tests |
217 |
-BDEPEND=" |
218 |
- test? ( |
219 |
- $(python_gen_impl_dep sqlite) |
220 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
221 |
- ) |
222 |
-" |
223 |
- |
224 |
-distutils_enable_tests pytest |
225 |
- |
226 |
-src_prepare() { |
227 |
- # remove optional/partial dep on greenlet, greenlet is not very portable |
228 |
- sed -i -e '/greenlet/d' setup.cfg || die |
229 |
- |
230 |
- distutils-r1_src_prepare |
231 |
-} |
232 |
- |
233 |
-python_test() { |
234 |
- # Disable tests hardcoding function call counts specific to Python versions. |
235 |
- epytest --ignore test/aaa_profiling \ |
236 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" |
237 |
-} |
238 |
- |
239 |
-python_install_all() { |
240 |
- if use examples; then |
241 |
- docompress -x "/usr/share/doc/${PF}/examples" |
242 |
- dodoc -r examples |
243 |
- fi |
244 |
- |
245 |
- distutils-r1_python_install_all |
246 |
-} |
247 |
- |
248 |
-pkg_postinst() { |
249 |
- optfeature "MySQL support" dev-python/mysqlclient dev-python/pymysql \ |
250 |
- dev-python/mysql-connector-python |
251 |
- optfeature "mssql support" dev-python/pymssql |
252 |
- optfeature "postgresql support" dev-python/psycopg:2 |
253 |
-} |
254 |
|
255 |
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.14.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.14.ebuild |
256 |
deleted file mode 100644 |
257 |
index 35866923996..00000000000 |
258 |
--- a/dev-python/sqlalchemy/sqlalchemy-1.4.14.ebuild |
259 |
+++ /dev/null |
260 |
@@ -1,66 +0,0 @@ |
261 |
-# Copyright 1999-2021 Gentoo Authors |
262 |
-# Distributed under the terms of the GNU General Public License v2 |
263 |
- |
264 |
-EAPI=7 |
265 |
- |
266 |
-PYTHON_COMPAT=( pypy3 python3_{7..9} ) |
267 |
-PYTHON_REQ_USE="sqlite?" |
268 |
- |
269 |
-inherit distutils-r1 multiprocessing optfeature |
270 |
- |
271 |
-MY_PN="SQLAlchemy" |
272 |
-MY_P="${MY_PN}-${PV/_beta/b}" |
273 |
- |
274 |
-DESCRIPTION="Python SQL toolkit and Object Relational Mapper" |
275 |
-HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/" |
276 |
-SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" |
277 |
-S="${WORKDIR}/${MY_P}" |
278 |
- |
279 |
-LICENSE="MIT" |
280 |
-SLOT="0" |
281 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
282 |
-IUSE="examples +sqlite test" |
283 |
- |
284 |
-RDEPEND=" |
285 |
- $(python_gen_cond_dep ' |
286 |
- dev-python/importlib_metadata[${PYTHON_USEDEP}] |
287 |
- ' python3_7 pypy3) |
288 |
-" |
289 |
-# Use pytest-xdist to speed up tests |
290 |
-BDEPEND=" |
291 |
- test? ( |
292 |
- $(python_gen_impl_dep sqlite) |
293 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
294 |
- ) |
295 |
-" |
296 |
- |
297 |
-distutils_enable_tests pytest |
298 |
- |
299 |
-src_prepare() { |
300 |
- # remove optional/partial dep on greenlet, greenlet is not very portable |
301 |
- sed -i -e '/greenlet/d' setup.cfg || die |
302 |
- |
303 |
- distutils-r1_src_prepare |
304 |
-} |
305 |
- |
306 |
-python_test() { |
307 |
- # Disable tests hardcoding function call counts specific to Python versions. |
308 |
- epytest --ignore test/aaa_profiling \ |
309 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" |
310 |
-} |
311 |
- |
312 |
-python_install_all() { |
313 |
- if use examples; then |
314 |
- docompress -x "/usr/share/doc/${PF}/examples" |
315 |
- dodoc -r examples |
316 |
- fi |
317 |
- |
318 |
- distutils-r1_python_install_all |
319 |
-} |
320 |
- |
321 |
-pkg_postinst() { |
322 |
- optfeature "MySQL support" dev-python/mysqlclient dev-python/pymysql \ |
323 |
- dev-python/mysql-connector-python |
324 |
- optfeature "mssql support" dev-python/pymssql |
325 |
- optfeature "postgresql support" dev-python/psycopg:2 |
326 |
-} |
327 |
|
328 |
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.16.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.16.ebuild |
329 |
deleted file mode 100644 |
330 |
index 45569f2d968..00000000000 |
331 |
--- a/dev-python/sqlalchemy/sqlalchemy-1.4.16.ebuild |
332 |
+++ /dev/null |
333 |
@@ -1,66 +0,0 @@ |
334 |
-# Copyright 1999-2021 Gentoo Authors |
335 |
-# Distributed under the terms of the GNU General Public License v2 |
336 |
- |
337 |
-EAPI=7 |
338 |
- |
339 |
-PYTHON_COMPAT=( pypy3 python3_{7..10} ) |
340 |
-PYTHON_REQ_USE="sqlite?" |
341 |
- |
342 |
-inherit distutils-r1 multiprocessing optfeature |
343 |
- |
344 |
-MY_PN="SQLAlchemy" |
345 |
-MY_P="${MY_PN}-${PV/_beta/b}" |
346 |
- |
347 |
-DESCRIPTION="Python SQL toolkit and Object Relational Mapper" |
348 |
-HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/" |
349 |
-SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" |
350 |
-S="${WORKDIR}/${MY_P}" |
351 |
- |
352 |
-LICENSE="MIT" |
353 |
-SLOT="0" |
354 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
355 |
-IUSE="examples +sqlite test" |
356 |
- |
357 |
-RDEPEND=" |
358 |
- $(python_gen_cond_dep ' |
359 |
- dev-python/importlib_metadata[${PYTHON_USEDEP}] |
360 |
- ' python3_7 pypy3) |
361 |
-" |
362 |
-# Use pytest-xdist to speed up tests |
363 |
-BDEPEND=" |
364 |
- test? ( |
365 |
- $(python_gen_impl_dep sqlite) |
366 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
367 |
- ) |
368 |
-" |
369 |
- |
370 |
-distutils_enable_tests pytest |
371 |
- |
372 |
-src_prepare() { |
373 |
- # remove optional/partial dep on greenlet, greenlet is not very portable |
374 |
- sed -i -e '/greenlet/d' setup.cfg || die |
375 |
- |
376 |
- distutils-r1_src_prepare |
377 |
-} |
378 |
- |
379 |
-python_test() { |
380 |
- # Disable tests hardcoding function call counts specific to Python versions. |
381 |
- epytest --ignore test/aaa_profiling \ |
382 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" |
383 |
-} |
384 |
- |
385 |
-python_install_all() { |
386 |
- if use examples; then |
387 |
- docompress -x "/usr/share/doc/${PF}/examples" |
388 |
- dodoc -r examples |
389 |
- fi |
390 |
- |
391 |
- distutils-r1_python_install_all |
392 |
-} |
393 |
- |
394 |
-pkg_postinst() { |
395 |
- optfeature "MySQL support" dev-python/mysqlclient dev-python/pymysql \ |
396 |
- dev-python/mysql-connector-python |
397 |
- optfeature "mssql support" dev-python/pymssql |
398 |
- optfeature "postgresql support" dev-python/psycopg:2 |
399 |
-} |
400 |
|
401 |
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.17.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.17.ebuild |
402 |
deleted file mode 100644 |
403 |
index 45569f2d968..00000000000 |
404 |
--- a/dev-python/sqlalchemy/sqlalchemy-1.4.17.ebuild |
405 |
+++ /dev/null |
406 |
@@ -1,66 +0,0 @@ |
407 |
-# Copyright 1999-2021 Gentoo Authors |
408 |
-# Distributed under the terms of the GNU General Public License v2 |
409 |
- |
410 |
-EAPI=7 |
411 |
- |
412 |
-PYTHON_COMPAT=( pypy3 python3_{7..10} ) |
413 |
-PYTHON_REQ_USE="sqlite?" |
414 |
- |
415 |
-inherit distutils-r1 multiprocessing optfeature |
416 |
- |
417 |
-MY_PN="SQLAlchemy" |
418 |
-MY_P="${MY_PN}-${PV/_beta/b}" |
419 |
- |
420 |
-DESCRIPTION="Python SQL toolkit and Object Relational Mapper" |
421 |
-HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/" |
422 |
-SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" |
423 |
-S="${WORKDIR}/${MY_P}" |
424 |
- |
425 |
-LICENSE="MIT" |
426 |
-SLOT="0" |
427 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
428 |
-IUSE="examples +sqlite test" |
429 |
- |
430 |
-RDEPEND=" |
431 |
- $(python_gen_cond_dep ' |
432 |
- dev-python/importlib_metadata[${PYTHON_USEDEP}] |
433 |
- ' python3_7 pypy3) |
434 |
-" |
435 |
-# Use pytest-xdist to speed up tests |
436 |
-BDEPEND=" |
437 |
- test? ( |
438 |
- $(python_gen_impl_dep sqlite) |
439 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
440 |
- ) |
441 |
-" |
442 |
- |
443 |
-distutils_enable_tests pytest |
444 |
- |
445 |
-src_prepare() { |
446 |
- # remove optional/partial dep on greenlet, greenlet is not very portable |
447 |
- sed -i -e '/greenlet/d' setup.cfg || die |
448 |
- |
449 |
- distutils-r1_src_prepare |
450 |
-} |
451 |
- |
452 |
-python_test() { |
453 |
- # Disable tests hardcoding function call counts specific to Python versions. |
454 |
- epytest --ignore test/aaa_profiling \ |
455 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" |
456 |
-} |
457 |
- |
458 |
-python_install_all() { |
459 |
- if use examples; then |
460 |
- docompress -x "/usr/share/doc/${PF}/examples" |
461 |
- dodoc -r examples |
462 |
- fi |
463 |
- |
464 |
- distutils-r1_python_install_all |
465 |
-} |
466 |
- |
467 |
-pkg_postinst() { |
468 |
- optfeature "MySQL support" dev-python/mysqlclient dev-python/pymysql \ |
469 |
- dev-python/mysql-connector-python |
470 |
- optfeature "mssql support" dev-python/pymssql |
471 |
- optfeature "postgresql support" dev-python/psycopg:2 |
472 |
-} |