1 |
commit: 35194eb8402fb8bc8a8d48684f311e2f7ffea04e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 29 09:09:47 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 29 09:15:54 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35194eb8 |
7 |
|
8 |
dev-python/sqlalchemy: Remove redundant versions |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/sqlalchemy/Manifest | 3 - |
13 |
.../files/sqlalchemy-0.7-logging.handlers.patch | 12 ---- |
14 |
dev-python/sqlalchemy/sqlalchemy-0.7.10.ebuild | 67 --------------------- |
15 |
dev-python/sqlalchemy/sqlalchemy-1.2.18.ebuild | 70 ---------------------- |
16 |
dev-python/sqlalchemy/sqlalchemy-1.3.4.ebuild | 64 -------------------- |
17 |
5 files changed, 216 deletions(-) |
18 |
|
19 |
diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest |
20 |
index c602587833e..833940a016d 100644 |
21 |
--- a/dev-python/sqlalchemy/Manifest |
22 |
+++ b/dev-python/sqlalchemy/Manifest |
23 |
@@ -1,5 +1,2 @@ |
24 |
-DIST SQLAlchemy-0.7.10.tar.gz 3541639 BLAKE2B 641532caccb6fea333198ba0c5064f7714ff75348c00dc762da24211fe6ff210c9e335a5b31ad5429e14b26804bafde6d597203aacddbd98d949d1315851d348 SHA512 631bc4ffb419defa531a66d82449fe48f93c88371ba0b8ab4217d900a0d1d90efe9699d8a9048d5c2ed33948c6d2f7cae46452ee45d442914018f3361e804367 |
25 |
-DIST SQLAlchemy-1.2.18.tar.gz 5675143 BLAKE2B 2e0a54d16b64801cb60b619c39dfba64d3b1705ac43a89f6a3873c9fd1bb9af02d38d1026f309eb3d33ad20265da8b3731d7d7092bec8fa035e4d696d74f1d5f SHA512 a3074e0f7b9a307937f02ad030811413f3c92b7edcc4f1c6eda7c94c1178708f8c920840385a9b33c7952e224fe46dc73223aee00123e863abf6d1d446aebdb2 |
26 |
DIST SQLAlchemy-1.3.11.tar.gz 6007784 BLAKE2B c889ea28ae08fcb83d338ab01a64533142428ee91a6c11b9a7f2116f99161c066e66f49d76bdd2c7600f1a7f86a2add217f49dda4cf97566a875f28d3d4b24be SHA512 c691539db4edd62af749087728dfd424010bfb3ca2cc8503a4b96c1625d059d4c2a748b9a35cc870cc99ca9df61966cce406f9b570b25e55c3632a99b8621e74 |
27 |
DIST SQLAlchemy-1.3.3.tar.gz 5864870 BLAKE2B d109e0daf0afdeaba946c4b18d14428c108ff15041876c9a35cf8e5783f9b9a1896e69760b249c53af35e4575e66f4b59c855b4a244d7f6569fadfb52c5a400d SHA512 f8e0f580ba5cc7eaed985e5a3af8cdcc2dddddcd64bdf02b247242eeab542b5666a93d46166b5edb4b28af3b89df44bccfa92d5bf94cc0e173dbcd369ae6487c |
28 |
-DIST SQLAlchemy-1.3.4.tar.gz 5877278 BLAKE2B 1200da89ce6ad077cc93c58a4e41f856a2222618b3570badf3bd8543d70659e0313e4add0ef779e98654dbd60f8445ae6839830ac15e72d9c0fa259eac328251 SHA512 6f29aeeceafcd996bbfc781b79dcbe0bbc681f1214cdab2d52b140bbae8492a633defa97dcc720db7a6d423b062834b0805e965e6183f88f99648a8f8f8a73dd |
29 |
|
30 |
diff --git a/dev-python/sqlalchemy/files/sqlalchemy-0.7-logging.handlers.patch b/dev-python/sqlalchemy/files/sqlalchemy-0.7-logging.handlers.patch |
31 |
deleted file mode 100644 |
32 |
index 122ae43fe33..00000000000 |
33 |
--- a/dev-python/sqlalchemy/files/sqlalchemy-0.7-logging.handlers.patch |
34 |
+++ /dev/null |
35 |
@@ -1,12 +0,0 @@ |
36 |
-https://bitbucket.org/sqlalchemy/sqlalchemy/pull-request/41 |
37 |
---- a/test/engine/test_execute.py |
38 |
-+++ b/test/engine/test_execute.py |
39 |
-@@ -9,7 +9,7 @@ |
40 |
- import sqlalchemy as tsa |
41 |
- from test.lib import testing, engines |
42 |
- from test.lib.engines import testing_engine |
43 |
--import logging |
44 |
-+import logging, logging.handlers |
45 |
- from sqlalchemy.dialects.oracle.zxjdbc import ReturningParam |
46 |
- from sqlalchemy.engine import base, default |
47 |
- from sqlalchemy.engine.base import Connection, Engine |
48 |
|
49 |
diff --git a/dev-python/sqlalchemy/sqlalchemy-0.7.10.ebuild b/dev-python/sqlalchemy/sqlalchemy-0.7.10.ebuild |
50 |
deleted file mode 100644 |
51 |
index bbec08c0f40..00000000000 |
52 |
--- a/dev-python/sqlalchemy/sqlalchemy-0.7.10.ebuild |
53 |
+++ /dev/null |
54 |
@@ -1,67 +0,0 @@ |
55 |
-# Copyright 1999-2020 Gentoo Authors |
56 |
-# Distributed under the terms of the GNU General Public License v2 |
57 |
- |
58 |
-EAPI=5 |
59 |
-# py3 appears underdone, |
60 |
-PYTHON_COMPAT=( python2_7 ) |
61 |
- |
62 |
-inherit distutils-r1 eutils flag-o-matic |
63 |
- |
64 |
-MY_PN="SQLAlchemy" |
65 |
-MY_P="${MY_PN}-${PV/_}" |
66 |
- |
67 |
-DESCRIPTION="Python SQL toolkit and Object Relational Mapper" |
68 |
-HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/" |
69 |
-SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" |
70 |
- |
71 |
-LICENSE="MIT" |
72 |
-SLOT="0" |
73 |
-KEYWORDS="~alpha amd64 arm hppa ia64 ~ppc ~ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
74 |
-IUSE="doc examples mssql mysql postgres +sqlite test" |
75 |
-RESTRICT="!test? ( test )" |
76 |
- |
77 |
-RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
78 |
- mssql? ( dev-python/pymssql ) |
79 |
- mysql? ( dev-python/mysql-python ) |
80 |
- postgres? ( >=dev-python/psycopg-2 ) |
81 |
- sqlite? ( |
82 |
- >=dev-db/sqlite-3.3.13 )" |
83 |
-DEPEND="${RDEPEND} |
84 |
- test? ( |
85 |
- >=dev-db/sqlite-3.3.13 |
86 |
- >=dev-python/nose-0.10.4[${PYTHON_USEDEP}] |
87 |
- )" |
88 |
- |
89 |
-S="${WORKDIR}/${MY_P}" |
90 |
- |
91 |
-PATCHES=( "${FILESDIR}/${PN}-0.7-logging.handlers.patch" ) |
92 |
- |
93 |
-python_prepare_all() { |
94 |
- # Disable tests hardcoding function call counts specific to Python versions. |
95 |
- rm -fr test/aaa_profiling |
96 |
- distutils-r1_python_prepare_all |
97 |
-} |
98 |
- |
99 |
-python_configure_all() { |
100 |
- append-flags -fno-strict-aliasing |
101 |
-} |
102 |
- |
103 |
-python_test() { |
104 |
- "${PYTHON}" sqla_nose.py || die |
105 |
-} |
106 |
- |
107 |
-python_install_all() { |
108 |
- distutils-r1_python_install_all |
109 |
- |
110 |
- if use doc; then |
111 |
- pushd doc > /dev/null |
112 |
- rm -fr build |
113 |
- dohtml -r [a-z]* _images _static |
114 |
- popd > /dev/null |
115 |
- fi |
116 |
- |
117 |
- if use examples; then |
118 |
- insinto /usr/share/doc/${PF} |
119 |
- doins -r examples |
120 |
- fi |
121 |
-} |
122 |
|
123 |
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.2.18.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.2.18.ebuild |
124 |
deleted file mode 100644 |
125 |
index 2f7fd79a696..00000000000 |
126 |
--- a/dev-python/sqlalchemy/sqlalchemy-1.2.18.ebuild |
127 |
+++ /dev/null |
128 |
@@ -1,70 +0,0 @@ |
129 |
-# Copyright 1999-2020 Gentoo Authors |
130 |
-# Distributed under the terms of the GNU General Public License v2 |
131 |
- |
132 |
-EAPI=7 |
133 |
- |
134 |
-PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 ) |
135 |
-PYTHON_REQ_USE="sqlite?" |
136 |
- |
137 |
-inherit distutils-r1 eutils flag-o-matic |
138 |
- |
139 |
-MY_PN="SQLAlchemy" |
140 |
-MY_P="${MY_PN}-${PV/_beta/b}" |
141 |
- |
142 |
-DESCRIPTION="Python SQL toolkit and Object Relational Mapper" |
143 |
-HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/" |
144 |
-SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" |
145 |
- |
146 |
-LICENSE="MIT" |
147 |
-SLOT="0" |
148 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" |
149 |
-IUSE="doc examples +sqlite test" |
150 |
-RESTRICT="!test? ( test )" |
151 |
- |
152 |
-REQUIRED_USE="test? ( sqlite )" |
153 |
- |
154 |
-RDEPEND=" |
155 |
- dev-python/setuptools[${PYTHON_USEDEP}]" |
156 |
- |
157 |
-DEPEND=" |
158 |
- ${RDEPEND} |
159 |
- test? ( |
160 |
- >=dev-python/pytest-2.5.2[${PYTHON_USEDEP}] |
161 |
- !~dev-python/pytest-3.9.1[${PYTHON_USEDEP}] |
162 |
- !~dev-python/pytest-3.9.2[${PYTHON_USEDEP}] |
163 |
- dev-python/mock[${PYTHON_USEDEP}] |
164 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
165 |
- )" |
166 |
- |
167 |
-S="${WORKDIR}/${MY_P}" |
168 |
- |
169 |
-python_prepare_all() { |
170 |
- # Disable tests hardcoding function call counts specific to Python versions. |
171 |
- rm -r test/aaa_profiling || die |
172 |
- distutils-r1_python_prepare_all |
173 |
-} |
174 |
- |
175 |
-python_compile() { |
176 |
- if ! python_is_python3; then |
177 |
- local CFLAGS=${CFLAGS} |
178 |
- append-cflags -fno-strict-aliasing |
179 |
- fi |
180 |
- distutils-r1_python_compile |
181 |
-} |
182 |
- |
183 |
-python_test() { |
184 |
- pytest -vv test || die "Testsuite failed under ${EPYTHON}" |
185 |
-} |
186 |
- |
187 |
-python_install_all() { |
188 |
- use doc && HTML_DOCS=( doc/. ) |
189 |
- use examples && dodoc -r examples |
190 |
- |
191 |
- distutils-r1_python_install_all |
192 |
-} |
193 |
- |
194 |
-pkg_postinst() { |
195 |
- optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python |
196 |
- optfeature "mssql support" dev-python/pymssql |
197 |
- optfeature "postgresql support" dev-python/psycopg:2 |
198 |
-} |
199 |
|
200 |
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.3.4.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.3.4.ebuild |
201 |
deleted file mode 100644 |
202 |
index c82d13bfea9..00000000000 |
203 |
--- a/dev-python/sqlalchemy/sqlalchemy-1.3.4.ebuild |
204 |
+++ /dev/null |
205 |
@@ -1,64 +0,0 @@ |
206 |
-# Copyright 1999-2020 Gentoo Authors |
207 |
-# Distributed under the terms of the GNU General Public License v2 |
208 |
- |
209 |
-EAPI=7 |
210 |
- |
211 |
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) |
212 |
-PYTHON_REQ_USE="sqlite?" |
213 |
- |
214 |
-inherit distutils-r1 eutils flag-o-matic |
215 |
- |
216 |
-MY_PN="SQLAlchemy" |
217 |
-MY_P="${MY_PN}-${PV/_beta/b}" |
218 |
- |
219 |
-DESCRIPTION="Python SQL toolkit and Object Relational Mapper" |
220 |
-HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/" |
221 |
-SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" |
222 |
- |
223 |
-LICENSE="MIT" |
224 |
-SLOT="0" |
225 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" |
226 |
-IUSE="doc examples +sqlite test" |
227 |
-RESTRICT="!test? ( test )" |
228 |
- |
229 |
-REQUIRED_USE="test? ( sqlite )" |
230 |
- |
231 |
-DEPEND=" |
232 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
233 |
- test? ( |
234 |
- dev-python/pytest[${PYTHON_USEDEP}] |
235 |
- dev-python/mock[${PYTHON_USEDEP}] |
236 |
- )" |
237 |
- |
238 |
-S="${WORKDIR}/${MY_P}" |
239 |
- |
240 |
-python_prepare_all() { |
241 |
- # Disable tests hardcoding function call counts specific to Python versions. |
242 |
- rm -r test/aaa_profiling || die |
243 |
- distutils-r1_python_prepare_all |
244 |
-} |
245 |
- |
246 |
-python_compile() { |
247 |
- if ! python_is_python3; then |
248 |
- local CFLAGS=${CFLAGS} |
249 |
- append-cflags -fno-strict-aliasing |
250 |
- fi |
251 |
- distutils-r1_python_compile |
252 |
-} |
253 |
- |
254 |
-python_test() { |
255 |
- pytest -vv test || die "Testsuite failed under ${EPYTHON}" |
256 |
-} |
257 |
- |
258 |
-python_install_all() { |
259 |
- use doc && HTML_DOCS=( doc/. ) |
260 |
- use examples && dodoc -r examples |
261 |
- |
262 |
- distutils-r1_python_install_all |
263 |
-} |
264 |
- |
265 |
-pkg_postinst() { |
266 |
- optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python |
267 |
- optfeature "mssql support" dev-python/pymssql |
268 |
- optfeature "postgresql support" dev-python/psycopg:2 |
269 |
-} |