1 |
commit: 6e194ee8db1cb60d8413ac1395cdbea7cd3c1520 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 30 16:49:32 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 30 16:49:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e194ee8 |
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.4.37.ebuild | 97 -------------------------- |
14 |
2 files changed, 98 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest |
17 |
index d23411b82865..8402a495f2b0 100644 |
18 |
--- a/dev-python/sqlalchemy/Manifest |
19 |
+++ b/dev-python/sqlalchemy/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST SQLAlchemy-1.4.37.tar.gz 8155965 BLAKE2B cf21c2ab73a5ba2576a857a12f30ea516265af946e25c1b137e57019d862bf04f4757b4755cee28e6f53642d1f1b58f43c99cd1c69f87640e47ac8a1d1ff8d28 SHA512 3f8a814f9bb6fa273f7b210c4567bf7411d0cf2e5caf010a5387fb946063704c342072145a858fb906545dfb1b959155d041e6073273674e51715356fc1f39e6 |
22 |
DIST SQLAlchemy-1.4.39.tar.gz 8212369 BLAKE2B d65993c4342c2cb5bc76ea4ecc986d0ec521a6eb785604ceeca0c9c22187e4af29fc8bd940a130162ca9dd5c30d58b5d0999472285382c6f6bed3863ff9f20cd SHA512 a7c6b73250044289add492b2d7df9010f3b9a3a5126c8b3448d7339cf743c4be3f1c08d238107bb12c579b2bbd7d20e216e331d3ee10dcf79c0f23ca44d496af |
23 |
|
24 |
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.37.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.37.ebuild |
25 |
deleted file mode 100644 |
26 |
index 7c460a84d5da..000000000000 |
27 |
--- a/dev-python/sqlalchemy/sqlalchemy-1.4.37.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,97 +0,0 @@ |
30 |
-# Copyright 1999-2022 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=8 |
34 |
- |
35 |
-DISTUTILS_USE_PEP517=setuptools |
36 |
-PYTHON_COMPAT=( pypy3 python3_{8..11} ) |
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=" |
46 |
- https://www.sqlalchemy.org/ |
47 |
- https://pypi.org/project/SQLAlchemy/ |
48 |
- https://github.com/sqlalchemy/sqlalchemy/ |
49 |
-" |
50 |
-SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" |
51 |
-S="${WORKDIR}/${MY_P}" |
52 |
- |
53 |
-LICENSE="MIT" |
54 |
-SLOT="0" |
55 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
56 |
-IUSE="examples +sqlite test" |
57 |
- |
58 |
-BDEPEND=" |
59 |
- test? ( |
60 |
- $(python_gen_impl_dep sqlite) |
61 |
- ) |
62 |
-" |
63 |
- |
64 |
-distutils_enable_tests pytest |
65 |
- |
66 |
-EPYTEST_IGNORE=( |
67 |
- # hardcode call counts specific to Python versions |
68 |
- test/aaa_profiling |
69 |
-) |
70 |
- |
71 |
-src_prepare() { |
72 |
- sed -i -e '/greenlet/d' setup.cfg || die |
73 |
- distutils-r1_src_prepare |
74 |
-} |
75 |
- |
76 |
-python_test() { |
77 |
- local EPYTEST_DESELECT=( |
78 |
- # warning tests are unreliable |
79 |
- test/base/test_warnings.py |
80 |
- ) |
81 |
- [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( |
82 |
- test/ext/test_associationproxy.py::ProxyHybridTest::test_msg_fails_on_cls_access |
83 |
- ) |
84 |
- [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( |
85 |
- # https://github.com/sqlalchemy/sqlalchemy/issues/8019 |
86 |
- test/engine/test_logging.py::TransactionContextLoggingTest::test_log_messages_have_correct_metadata_echo |
87 |
- ) |
88 |
- if ! has_version "dev-python/greenlet[${PYTHON_USEDEP}]"; then |
89 |
- EPYTEST_DESELECT+=( |
90 |
- test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_execution |
91 |
- test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_run_sync |
92 |
- "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[True-_exclusions0]" |
93 |
- "test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True-_exclusions0]" |
94 |
- ) |
95 |
- fi |
96 |
- |
97 |
- # upstream's test suite is horribly hacky; it relies on disabling |
98 |
- # the warnings plugin and turning warnings into errors; this also |
99 |
- # means that any DeprecationWarnings from third-party plugins cause |
100 |
- # everything to explode |
101 |
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
102 |
- local -x PYTEST_PLUGINS= |
103 |
- # upstream automagically depends on xdist when it is importable |
104 |
- if has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]"; then |
105 |
- PYTEST_PLUGINS+=xdist.plugin |
106 |
- fi |
107 |
- epytest |
108 |
-} |
109 |
- |
110 |
-python_install_all() { |
111 |
- if use examples; then |
112 |
- docompress -x "/usr/share/doc/${PF}/examples" |
113 |
- dodoc -r examples |
114 |
- fi |
115 |
- |
116 |
- distutils-r1_python_install_all |
117 |
-} |
118 |
- |
119 |
-pkg_postinst() { |
120 |
- optfeature "asyncio support" dev-python/greenlet |
121 |
- optfeature "MySQL support" \ |
122 |
- dev-python/mysqlclient \ |
123 |
- dev-python/pymysql \ |
124 |
- dev-python/mysql-connector-python |
125 |
- optfeature "postgresql support" dev-python/psycopg:2 |
126 |
-} |