1 |
commit: bd7d1de2c485ade6ab3900d92bc7fa592ad9e33b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 23 20:16:32 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 23 20:16:32 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd7d1de2 |
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 | 1 - |
13 |
dev-python/sqlalchemy/sqlalchemy-1.3.23.ebuild | 67 -------------------------- |
14 |
2 files changed, 68 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest |
17 |
index e8f84a62573..cace5abe242 100644 |
18 |
--- a/dev-python/sqlalchemy/Manifest |
19 |
+++ b/dev-python/sqlalchemy/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
-DIST SQLAlchemy-1.3.23.tar.gz 6313652 BLAKE2B e87f67ee7ee70036b94e1708c1a59f58b1f8abad23aa26c74e2a9a2172bee5a6411b2be95bff0f1c6e39d3a0de0839adc6b43f4cde597a18d4cf930e4c37b11e SHA512 dcd1a0878fd58ee49691bb7e8a2571cb40cc942380a4fe0e66d3abb1723830f178e7b3944c5c2d69bd3aaff04cd2ca171bbabbe34f59f54bcf4b9ee2782f9570 |
22 |
DIST SQLAlchemy-1.3.24.tar.gz 6353598 BLAKE2B 6eb92b20fa3412a1f1398e18e902e3338320973287afa4a37477ec28d47e7422a19c3a60e6290a6da7b23512c0d818a26400958d02097def778c917f098bb3db SHA512 4f5f0a23e80e1cebe541f8748a7e794e8964d986252803b3289a7cea732ad22557e00221775332e2766b6ff16ad5d9069223f441f8880ca6d0c47011f15fee5b |
23 |
DIST SQLAlchemy-1.4.11.tar.gz 7551299 BLAKE2B 65f560223f1f1656ec90a2b46b5447e92908cb7a8124f1a16f59ae04e5c22b9c4b7a30cbc0d1c8ebf31d31f544619223bdff0546fcfe6124195c4430bc8167c5 SHA512 28d5da109d754183e7f1887c652c47cd7162afec285a44ed6bc51566dc40d43cdb8cd1794f93f31b2e085488025f04243613d500936c220aaab3aedb75fb6dcd |
24 |
|
25 |
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.3.23.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.3.23.ebuild |
26 |
deleted file mode 100644 |
27 |
index b536d9b3320..00000000000 |
28 |
--- a/dev-python/sqlalchemy/sqlalchemy-1.3.23.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,67 +0,0 @@ |
31 |
-# Copyright 1999-2021 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-PYTHON_COMPAT=( pypy3 python3_{7..9} ) |
37 |
-PYTHON_REQ_USE="sqlite?" |
38 |
- |
39 |
-inherit distutils-r1 optfeature |
40 |
- |
41 |
-MY_PN="SQLAlchemy" |
42 |
-MY_P="${MY_PN}-${PV/_beta/b}" |
43 |
- |
44 |
-DESCRIPTION="Python SQL toolkit and Object Relational Mapper" |
45 |
-HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/" |
46 |
-SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" |
47 |
-S="${WORKDIR}/${MY_P}" |
48 |
- |
49 |
-LICENSE="MIT" |
50 |
-SLOT="0" |
51 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
52 |
-IUSE="examples +sqlite test" |
53 |
- |
54 |
-# Use pytest-xdist to speed up tests |
55 |
-BDEPEND=" |
56 |
- test? ( |
57 |
- $(python_gen_impl_dep sqlite) |
58 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
59 |
- ) |
60 |
-" |
61 |
- |
62 |
-PATCHES=( |
63 |
- # Ported part of those commits to fix failing tests: |
64 |
- # https://github.com/sqlalchemy/sqlalchemy/commit/c68f9fb87868c45fcadcc942ce4a35f10ff2f7ea |
65 |
- # https://github.com/sqlalchemy/sqlalchemy/commit/a9b068ae564e5e775e312373088545b75aeaa1b0 |
66 |
- # https://github.com/sqlalchemy/sqlalchemy/commit/9e31fc74089cf565df5f275d22eb8ae5414d6e45 |
67 |
- "${FILESDIR}/sqlalchemy-1.3.20-pypy3.patch" |
68 |
-) |
69 |
- |
70 |
-distutils_enable_tests pytest |
71 |
- |
72 |
-python_test() { |
73 |
- # Use all CPUs with pytest-xdist |
74 |
- pytest -n auto -vv || die "Tests failed with ${EPYTHON}" |
75 |
-} |
76 |
- |
77 |
-python_prepare_all() { |
78 |
- # Disable tests hardcoding function call counts specific to Python versions. |
79 |
- rm -r test/aaa_profiling || die |
80 |
- distutils-r1_python_prepare_all |
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 |
-} |