Gentoo Archives: gentoo-commits

From: Virgil Dupras <vdupras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sqlalchemy/
Date: Mon, 29 Apr 2019 12:18:14
Message-Id: 1556540274.b3e119a4699ddef5a13740cdaa835f37b39b9322.vdupras@gentoo
1 commit: b3e119a4699ddef5a13740cdaa835f37b39b9322
2 Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 29 12:17:54 2019 +0000
4 Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 29 12:17:54 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3e119a4
7
8 dev-python/sqlalchemy: remove old
9
10 Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
11 Package-Manager: Portage-2.3.62, Repoman-2.3.11
12
13 dev-python/sqlalchemy/Manifest | 11 ----
14 dev-python/sqlalchemy/sqlalchemy-0.9.8.ebuild | 84 --------------------------
15 dev-python/sqlalchemy/sqlalchemy-1.0.17.ebuild | 73 ----------------------
16 dev-python/sqlalchemy/sqlalchemy-1.0.19.ebuild | 73 ----------------------
17 dev-python/sqlalchemy/sqlalchemy-1.1.12.ebuild | 73 ----------------------
18 dev-python/sqlalchemy/sqlalchemy-1.1.17.ebuild | 74 -----------------------
19 dev-python/sqlalchemy/sqlalchemy-1.1.18.ebuild | 74 -----------------------
20 dev-python/sqlalchemy/sqlalchemy-1.2.0.ebuild | 73 ----------------------
21 dev-python/sqlalchemy/sqlalchemy-1.2.2.ebuild | 76 -----------------------
22 dev-python/sqlalchemy/sqlalchemy-1.2.4.ebuild | 77 -----------------------
23 dev-python/sqlalchemy/sqlalchemy-1.2.7.ebuild | 77 -----------------------
24 dev-python/sqlalchemy/sqlalchemy-1.2.9.ebuild | 67 --------------------
25 12 files changed, 832 deletions(-)
26
27 diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest
28 index 2b03357f62c..b5ef98dc231 100644
29 --- a/dev-python/sqlalchemy/Manifest
30 +++ b/dev-python/sqlalchemy/Manifest
31 @@ -1,14 +1,3 @@
32 DIST SQLAlchemy-0.7.10.tar.gz 3541639 BLAKE2B 641532caccb6fea333198ba0c5064f7714ff75348c00dc762da24211fe6ff210c9e335a5b31ad5429e14b26804bafde6d597203aacddbd98d949d1315851d348 SHA512 631bc4ffb419defa531a66d82449fe48f93c88371ba0b8ab4217d900a0d1d90efe9699d8a9048d5c2ed33948c6d2f7cae46452ee45d442914018f3361e804367
33 -DIST SQLAlchemy-0.9.8.tar.gz 4080098 BLAKE2B c21837cdcd92b844ce238456fa275c95cd7262232c41a60fbc04ebeea27c1a96189d0d03612ce5bd0c4aa3aef66af456c0138c77db3cb7bb99d85e4552f818b7 SHA512 3df7d7a64cdfe7b684be98e7e9d6836da54c391343bb047224a11df888041034bcc54cc30d15dc3d56b5d397b35e6aabe5732e7ca8fbf553bd8d98731c249ea5
34 -DIST SQLAlchemy-1.0.17.tar.gz 4787165 BLAKE2B b00ead35149cfd7eab3476e29aa2b2b79eafeac1ef1f8551b81b84ee2a5f39cce2a6574b68283361b9264562e4a56d01ee694e455e4be9177d19e5720d092879 SHA512 18fc00bd80d136a65d5ad6929dac97a67514e001baaeaa57e95b31243cfe11aab9ab62ba8f7e68a5e833fbf024507c4908f99277445c8c3c9a3314981567978c
35 -DIST SQLAlchemy-1.0.19.tar.gz 4788659 BLAKE2B 813bc2148fd080762ea7748d9878500afac4148dc186a34172321fd97333eb6c8632ae3b05b2e8b187a3660ae34a426062ade56297b693d367eeea2c3966b249 SHA512 57d51fecb40e349b05da027bf39375a81c1d98e6d47f4dd076b9c7e2e3c8b6bdf8317e7b3e88c015cbd0d7858324ba0499a21a8ac39568c9ec95326e02af97bb
36 -DIST SQLAlchemy-1.1.12.tar.gz 5178158 BLAKE2B 92455943f3e5ce8c87fc9dd21da7c5ea54a9292fe2a3a319a8a9c8d54cd103193935d567326b8632d2fcd94664ef91cd1a3d621008bec684ba35ff73691ff01e SHA512 f9d14b3d4eab049e9d7377008cf11678c1413e204baad898093282d1812d242a544bbb6606b4e9a83b37d5c17bcec3c115ffe402dda8b6a84d0d5186415645e3
37 -DIST SQLAlchemy-1.1.17.tar.gz 5285761 BLAKE2B 58367c05a8e87aaa0c497455abfbb6c286ebab5f935d3d123d17eb7860a90ec414f825ebab41f386e3c229752a796516aa6ef5601d35a916a561ee98e0bc825c SHA512 df8a8fc7523dab64f27a8a27398c2b72e6b93eaefc4d46247596772cfd6f65b7c07ae9b3f57d21297b287b52958c0f5a7ce61fd4eff9979b73338fbb4e438324
38 -DIST SQLAlchemy-1.1.18.tar.gz 5286357 BLAKE2B e414b48cb2756d32240d401aa37dbe0725da2325f8e8b1d553e84f354747ac1885bdda52b9dab8273bdcc2bdd92ee00fc5813578efcc2132c7d5be473a222a42 SHA512 cdc14e289f1fb65aec09d738aa7409aeac6499984167c45feb2dd829ca7897026d3032b3a28c8203a9a3573d04a8995c8300e4fee3c491fe41b1d6fd1e92dd1a
39 -DIST SQLAlchemy-1.2.0.tar.gz 5451303 BLAKE2B 273edad173583d47d6ebdb4d3efddddb6e8e6c1e333667d71a1befb0aabc7ff8231f926c18d5463e1d4b815d2b2f39b7c9bca03ab3bf0f91f039b7ea55071e28 SHA512 0d9e57147b022955ad20da5b280e8734ba4be9585301b6e8fb9b96797d87d8707f95cb58afbaf310ec8033defffc4d794bec1d5089ca016b8dd9497e292881e3
40 DIST SQLAlchemy-1.2.18.tar.gz 5675143 BLAKE2B 2e0a54d16b64801cb60b619c39dfba64d3b1705ac43a89f6a3873c9fd1bb9af02d38d1026f309eb3d33ad20265da8b3731d7d7092bec8fa035e4d696d74f1d5f SHA512 a3074e0f7b9a307937f02ad030811413f3c92b7edcc4f1c6eda7c94c1178708f8c920840385a9b33c7952e224fe46dc73223aee00123e863abf6d1d446aebdb2
41 -DIST SQLAlchemy-1.2.2.tar.gz 5460157 BLAKE2B 60c5066a2993d9878f5d3abec1a6a9a4d0a3dc5878df71baee895e5278b95696b775e16000da0ba4c2c358b0a90e70faff0b5733a4f00255b0ec0d605cdd07c6 SHA512 060ce803b8b621d51aa69100c598c424c36f051bdce1e2df3f4d837815f91cb55c4e089db5375b01832ec28bf42332311009c51c1b5e7aae92aea001ee880db5
42 -DIST SQLAlchemy-1.2.4.tar.gz 5555033 BLAKE2B 5301d365cf6462b8a61deb3f01dcf86897c0070fe80f570b91f94a02e1830088b558004d915d17589dfaea1e5fd382fdf88c44020f3b3b94974db773b5ed2db6 SHA512 a12d17f222cc5fc4360c439e19cae67a013af07e2c22b1f55511c4862d718578249e6bf83151eefe35957e530dbf18a565b08cded3a5e45dd21103201f4d24e8
43 -DIST SQLAlchemy-1.2.7.tar.gz 5571719 BLAKE2B 995c977cd5bf22b464e5316d579a3bd5b15f2c2600230c729381f3dbecd1dd6a728ee08d5e8afa8e212bdc7e5272d8723706daed1db0ec353e3b56f5b9c614d7 SHA512 c592916dae177bcda7b3d7111af4269815d555273b548e35b58caaf518f7a5dc2256e5b98601cbbf0bbc95405fadd89f8e6b977e0d8104ce4e216d5c6924eda2
44 -DIST SQLAlchemy-1.2.9.tar.gz 5606090 BLAKE2B 7aade70c37a6e9afb1e459c88ea0d1ef927541d3ff8c64a634f81ba871fb9d0d14841e1c7a1ed28c12cb7a4d84d6ede6bf132f54d47019967fec8acd55757c33 SHA512 88ef57b9e456d7047bd7b5fd9607c87a473a9917d662960b0614fbfc40891002309eda55e66e42a6a280c6d6e7e8e6921349901a19c1caaedace2d532b32af22
45 DIST SQLAlchemy-1.3.3.tar.gz 5864870 BLAKE2B d109e0daf0afdeaba946c4b18d14428c108ff15041876c9a35cf8e5783f9b9a1896e69760b249c53af35e4575e66f4b59c855b4a244d7f6569fadfb52c5a400d SHA512 f8e0f580ba5cc7eaed985e5a3af8cdcc2dddddcd64bdf02b247242eeab542b5666a93d46166b5edb4b28af3b89df44bccfa92d5bf94cc0e173dbcd369ae6487c
46
47 diff --git a/dev-python/sqlalchemy/sqlalchemy-0.9.8.ebuild b/dev-python/sqlalchemy/sqlalchemy-0.9.8.ebuild
48 deleted file mode 100644
49 index 55aa5a23ee7..00000000000
50 --- a/dev-python/sqlalchemy/sqlalchemy-0.9.8.ebuild
51 +++ /dev/null
52 @@ -1,84 +0,0 @@
53 -# Copyright 1999-2019 Gentoo Authors
54 -# Distributed under the terms of the GNU General Public License v2
55 -
56 -EAPI=5
57 -PYTHON_COMPAT=( python2_7 pypy )
58 -PYTHON_REQ_USE="sqlite?"
59 -
60 -inherit distutils-r1 flag-o-matic
61 -
62 -MY_PN="SQLAlchemy"
63 -MY_P="${MY_PN}-${PV/_}"
64 -
65 -DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
66 -HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
67 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
68 -
69 -LICENSE="MIT"
70 -SLOT="0"
71 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
72 -IUSE="doc examples +sqlite test"
73 -REQUIRED_USE="test? ( sqlite )"
74 -
75 -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
76 -
77 -DEPEND="${RDEPEND}
78 - test? ( dev-python/pytest[${PYTHON_USEDEP}]
79 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
80 - )"
81 -S="${WORKDIR}/${MY_P}"
82 -
83 -python_prepare_all() {
84 - # Disable tests hardcoding function call counts specific to Python versions.
85 - rm -r test/aaa_profiling || die
86 - distutils-r1_python_prepare_all
87 -}
88 -
89 -python_compile() {
90 - if ! python_is_python3; then
91 - local CFLAGS=${CFLAGS}
92 - append-cflags -fno-strict-aliasing
93 - fi
94 - distutils-r1_python_compile
95 -}
96 -
97 -python_test() {
98 - # Create copies of necessary files in BUILD_DIR.
99 - # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/
100 - cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
101 - pushd "${BUILD_DIR}" > /dev/null
102 - if [[ "${EPYTHON}" == "python3.2" ]]; then
103 - 2to3 --no-diffs -w test
104 - fi
105 - # Recently upstream elected to make the testsuite also pytest capable
106 - # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
107 - py.test test || die "Testsuite failed under ${EPYTHON}"
108 - popd > /dev/null
109 -}
110 -
111 -python_install_all() {
112 - use doc && HTML_DOCS=( doc/. )
113 -
114 - use examples && local EXAMPLES=( examples/. )
115 -
116 - distutils-r1_python_install_all
117 -}
118 -
119 -pkg_postinst() {
120 - if [[ -z ${REPLACING_VERSIONS} ]]; then
121 - if ! has_version dev-python/mysql-python; then
122 - elog "For MySQL support, install dev-python/mysql-python"
123 - fi
124 -
125 - if ! has_version dev-python/pymssql; then
126 - elog "For mssql support, install dev-python/pymssql"
127 - fi
128 -
129 - if ! has_version dev-python/psycopg:2; then
130 - elog "For postgresql support, install dev-python/psycopg:2"
131 - fi
132 - fi
133 -
134 - elog "mysql backend support can be enabled by installing mysql-python for cpython py2.7 only,"
135 - elog "or mysql-connector-python for support of cpythons 2.7 3.3 and 3.4"
136 -}
137
138 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.0.17.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.0.17.ebuild
139 deleted file mode 100644
140 index f69c32fee2e..00000000000
141 --- a/dev-python/sqlalchemy/sqlalchemy-1.0.17.ebuild
142 +++ /dev/null
143 @@ -1,73 +0,0 @@
144 -# Copyright 1999-2019 Gentoo Authors
145 -# Distributed under the terms of the GNU General Public License v2
146 -
147 -EAPI=6
148 -
149 -PYTHON_COMPAT=( python2_7 python3_{5,6} pypy )
150 -PYTHON_REQ_USE="sqlite?"
151 -
152 -inherit distutils-r1 eutils flag-o-matic
153 -
154 -MY_PN="SQLAlchemy"
155 -MY_P="${MY_PN}-${PV/_beta/b}"
156 -
157 -DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
158 -HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
159 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
160 -
161 -LICENSE="MIT"
162 -SLOT="0"
163 -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
164 -IUSE="doc examples +sqlite test"
165 -
166 -REQUIRED_USE="test? ( sqlite )"
167 -
168 -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
169 -DEPEND="${RDEPEND}
170 - test? (
171 - dev-python/pytest[${PYTHON_USEDEP}]
172 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
173 - )"
174 -
175 -S="${WORKDIR}/${MY_P}"
176 -
177 -python_prepare_all() {
178 - # Disable tests hardcoding function call counts specific to Python versions.
179 - rm -r test/aaa_profiling || die
180 - distutils-r1_python_prepare_all
181 -}
182 -
183 -python_compile() {
184 - if ! python_is_python3; then
185 - local CFLAGS=${CFLAGS}
186 - append-cflags -fno-strict-aliasing
187 - fi
188 - distutils-r1_python_compile
189 -}
190 -
191 -python_test() {
192 - # Create copies of necessary files in BUILD_DIR.
193 - # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/
194 - cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
195 - pushd "${BUILD_DIR}" > /dev/null || die
196 - if [[ "${EPYTHON}" == "python3.2" ]]; then
197 - 2to3 --no-diffs -w test || die
198 - fi
199 - # Recently upstream elected to make the testsuite also pytest capable
200 - # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
201 - py.test --verbose test || die "Testsuite failed under ${EPYTHON}"
202 - popd > /dev/null
203 -}
204 -
205 -python_install_all() {
206 - use doc && HTML_DOCS=( doc/. )
207 - use examples && dodoc -r examples
208 -
209 - distutils-r1_python_install_all
210 -}
211 -
212 -pkg_postinst() {
213 - optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python
214 - optfeature "mssql support" dev-python/pymssql
215 - optfeature "postgresql support" dev-python/psycopg:2
216 -}
217
218 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.0.19.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.0.19.ebuild
219 deleted file mode 100644
220 index 980d020b130..00000000000
221 --- a/dev-python/sqlalchemy/sqlalchemy-1.0.19.ebuild
222 +++ /dev/null
223 @@ -1,73 +0,0 @@
224 -# Copyright 1999-2019 Gentoo Authors
225 -# Distributed under the terms of the GNU General Public License v2
226 -
227 -EAPI=6
228 -
229 -PYTHON_COMPAT=( python2_7 python3_{5,6} pypy )
230 -PYTHON_REQ_USE="sqlite?"
231 -
232 -inherit distutils-r1 eutils flag-o-matic
233 -
234 -MY_PN="SQLAlchemy"
235 -MY_P="${MY_PN}-${PV/_beta/b}"
236 -
237 -DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
238 -HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
239 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
240 -
241 -LICENSE="MIT"
242 -SLOT="0"
243 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
244 -IUSE="doc examples +sqlite test"
245 -
246 -REQUIRED_USE="test? ( sqlite )"
247 -
248 -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
249 -DEPEND="${RDEPEND}
250 - test? (
251 - dev-python/pytest[${PYTHON_USEDEP}]
252 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
253 - )"
254 -
255 -S="${WORKDIR}/${MY_P}"
256 -
257 -python_prepare_all() {
258 - # Disable tests hardcoding function call counts specific to Python versions.
259 - rm -r test/aaa_profiling || die
260 - distutils-r1_python_prepare_all
261 -}
262 -
263 -python_compile() {
264 - if ! python_is_python3; then
265 - local CFLAGS=${CFLAGS}
266 - append-cflags -fno-strict-aliasing
267 - fi
268 - distutils-r1_python_compile
269 -}
270 -
271 -python_test() {
272 - # Create copies of necessary files in BUILD_DIR.
273 - # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/
274 - cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
275 - pushd "${BUILD_DIR}" > /dev/null || die
276 - if [[ "${EPYTHON}" == "python3.2" ]]; then
277 - 2to3 --no-diffs -w test || die
278 - fi
279 - # Recently upstream elected to make the testsuite also pytest capable
280 - # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
281 - py.test --verbose test || die "Testsuite failed under ${EPYTHON}"
282 - popd > /dev/null
283 -}
284 -
285 -python_install_all() {
286 - use doc && HTML_DOCS=( doc/. )
287 - use examples && dodoc -r examples
288 -
289 - distutils-r1_python_install_all
290 -}
291 -
292 -pkg_postinst() {
293 - optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python
294 - optfeature "mssql support" dev-python/pymssql
295 - optfeature "postgresql support" dev-python/psycopg:2
296 -}
297
298 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.1.12.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.1.12.ebuild
299 deleted file mode 100644
300 index 308c5123fad..00000000000
301 --- a/dev-python/sqlalchemy/sqlalchemy-1.1.12.ebuild
302 +++ /dev/null
303 @@ -1,73 +0,0 @@
304 -# Copyright 1999-2019 Gentoo Authors
305 -# Distributed under the terms of the GNU General Public License v2
306 -
307 -EAPI=6
308 -
309 -PYTHON_COMPAT=( python2_7 python3_{5,6} pypy )
310 -PYTHON_REQ_USE="sqlite?"
311 -
312 -inherit distutils-r1 eutils flag-o-matic
313 -
314 -MY_PN="SQLAlchemy"
315 -MY_P="${MY_PN}-${PV/_beta/b}"
316 -
317 -DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
318 -HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
319 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
320 -
321 -LICENSE="MIT"
322 -SLOT="0"
323 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
324 -IUSE="doc examples +sqlite test"
325 -
326 -REQUIRED_USE="test? ( sqlite )"
327 -
328 -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
329 -DEPEND="${RDEPEND}
330 - test? (
331 - dev-python/pytest[${PYTHON_USEDEP}]
332 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
333 - )"
334 -
335 -S="${WORKDIR}/${MY_P}"
336 -
337 -python_prepare_all() {
338 - # Disable tests hardcoding function call counts specific to Python versions.
339 - rm -r test/aaa_profiling || die
340 - distutils-r1_python_prepare_all
341 -}
342 -
343 -python_compile() {
344 - if ! python_is_python3; then
345 - local CFLAGS=${CFLAGS}
346 - append-cflags -fno-strict-aliasing
347 - fi
348 - distutils-r1_python_compile
349 -}
350 -
351 -python_test() {
352 - # Create copies of necessary files in BUILD_DIR.
353 - # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/
354 - cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
355 - pushd "${BUILD_DIR}" > /dev/null || die
356 - if [[ "${EPYTHON}" == "python3.2" ]]; then
357 - 2to3 --no-diffs -w test || die
358 - fi
359 - # Recently upstream elected to make the testsuite also pytest capable
360 - # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
361 - py.test --verbose test || die "Testsuite failed under ${EPYTHON}"
362 - popd > /dev/null
363 -}
364 -
365 -python_install_all() {
366 - use doc && HTML_DOCS=( doc/. )
367 - use examples && dodoc -r examples
368 -
369 - distutils-r1_python_install_all
370 -}
371 -
372 -pkg_postinst() {
373 - optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python
374 - optfeature "mssql support" dev-python/pymssql
375 - optfeature "postgresql support" dev-python/psycopg:2
376 -}
377
378 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.1.17.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.1.17.ebuild
379 deleted file mode 100644
380 index 5f1fea0fc87..00000000000
381 --- a/dev-python/sqlalchemy/sqlalchemy-1.1.17.ebuild
382 +++ /dev/null
383 @@ -1,74 +0,0 @@
384 -# Copyright 1999-2019 Gentoo Authors
385 -# Distributed under the terms of the GNU General Public License v2
386 -
387 -EAPI=6
388 -
389 -PYTHON_COMPAT=( python2_7 python3_{5,6} pypy )
390 -PYTHON_REQ_USE="sqlite?"
391 -
392 -inherit distutils-r1 eutils flag-o-matic
393 -
394 -MY_PN="SQLAlchemy"
395 -MY_P="${MY_PN}-${PV/_beta/b}"
396 -
397 -DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
398 -HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
399 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
400 -
401 -LICENSE="MIT"
402 -SLOT="0"
403 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
404 -IUSE="doc examples +sqlite test"
405 -
406 -REQUIRED_USE="test? ( sqlite )"
407 -
408 -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
409 -DEPEND="${RDEPEND}
410 - test? (
411 - <dev-python/pluggy-0.7[${PYTHON_USEDEP}]
412 - dev-python/pytest[${PYTHON_USEDEP}]
413 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
414 - )"
415 -
416 -S="${WORKDIR}/${MY_P}"
417 -
418 -python_prepare_all() {
419 - # Disable tests hardcoding function call counts specific to Python versions.
420 - rm -r test/aaa_profiling || die
421 - distutils-r1_python_prepare_all
422 -}
423 -
424 -python_compile() {
425 - if ! python_is_python3; then
426 - local CFLAGS=${CFLAGS}
427 - append-cflags -fno-strict-aliasing
428 - fi
429 - distutils-r1_python_compile
430 -}
431 -
432 -python_test() {
433 - # Create copies of necessary files in BUILD_DIR.
434 - # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/
435 - cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
436 - pushd "${BUILD_DIR}" > /dev/null || die
437 - if [[ "${EPYTHON}" == "python3.2" ]]; then
438 - 2to3 --no-diffs -w test || die
439 - fi
440 - # Recently upstream elected to make the testsuite also pytest capable
441 - # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
442 - py.test --verbose test || die "Testsuite failed under ${EPYTHON}"
443 - popd > /dev/null
444 -}
445 -
446 -python_install_all() {
447 - use doc && HTML_DOCS=( doc/. )
448 - use examples && dodoc -r examples
449 -
450 - distutils-r1_python_install_all
451 -}
452 -
453 -pkg_postinst() {
454 - optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python
455 - optfeature "mssql support" dev-python/pymssql
456 - optfeature "postgresql support" dev-python/psycopg:2
457 -}
458
459 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.1.18.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.1.18.ebuild
460 deleted file mode 100644
461 index 5f1fea0fc87..00000000000
462 --- a/dev-python/sqlalchemy/sqlalchemy-1.1.18.ebuild
463 +++ /dev/null
464 @@ -1,74 +0,0 @@
465 -# Copyright 1999-2019 Gentoo Authors
466 -# Distributed under the terms of the GNU General Public License v2
467 -
468 -EAPI=6
469 -
470 -PYTHON_COMPAT=( python2_7 python3_{5,6} pypy )
471 -PYTHON_REQ_USE="sqlite?"
472 -
473 -inherit distutils-r1 eutils flag-o-matic
474 -
475 -MY_PN="SQLAlchemy"
476 -MY_P="${MY_PN}-${PV/_beta/b}"
477 -
478 -DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
479 -HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
480 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
481 -
482 -LICENSE="MIT"
483 -SLOT="0"
484 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
485 -IUSE="doc examples +sqlite test"
486 -
487 -REQUIRED_USE="test? ( sqlite )"
488 -
489 -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
490 -DEPEND="${RDEPEND}
491 - test? (
492 - <dev-python/pluggy-0.7[${PYTHON_USEDEP}]
493 - dev-python/pytest[${PYTHON_USEDEP}]
494 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
495 - )"
496 -
497 -S="${WORKDIR}/${MY_P}"
498 -
499 -python_prepare_all() {
500 - # Disable tests hardcoding function call counts specific to Python versions.
501 - rm -r test/aaa_profiling || die
502 - distutils-r1_python_prepare_all
503 -}
504 -
505 -python_compile() {
506 - if ! python_is_python3; then
507 - local CFLAGS=${CFLAGS}
508 - append-cflags -fno-strict-aliasing
509 - fi
510 - distutils-r1_python_compile
511 -}
512 -
513 -python_test() {
514 - # Create copies of necessary files in BUILD_DIR.
515 - # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/
516 - cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
517 - pushd "${BUILD_DIR}" > /dev/null || die
518 - if [[ "${EPYTHON}" == "python3.2" ]]; then
519 - 2to3 --no-diffs -w test || die
520 - fi
521 - # Recently upstream elected to make the testsuite also pytest capable
522 - # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
523 - py.test --verbose test || die "Testsuite failed under ${EPYTHON}"
524 - popd > /dev/null
525 -}
526 -
527 -python_install_all() {
528 - use doc && HTML_DOCS=( doc/. )
529 - use examples && dodoc -r examples
530 -
531 - distutils-r1_python_install_all
532 -}
533 -
534 -pkg_postinst() {
535 - optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python
536 - optfeature "mssql support" dev-python/pymssql
537 - optfeature "postgresql support" dev-python/psycopg:2
538 -}
539
540 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.2.0.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.2.0.ebuild
541 deleted file mode 100644
542 index f09d2c23711..00000000000
543 --- a/dev-python/sqlalchemy/sqlalchemy-1.2.0.ebuild
544 +++ /dev/null
545 @@ -1,73 +0,0 @@
546 -# Copyright 1999-2019 Gentoo Authors
547 -# Distributed under the terms of the GNU General Public License v2
548 -
549 -EAPI=6
550 -
551 -PYTHON_COMPAT=( python2_7 python3_{5,6} pypy{,3} )
552 -PYTHON_REQ_USE="sqlite?"
553 -
554 -inherit distutils-r1 eutils flag-o-matic
555 -
556 -MY_PN="SQLAlchemy"
557 -MY_P="${MY_PN}-${PV/_beta/b}"
558 -
559 -DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
560 -HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
561 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
562 -
563 -LICENSE="MIT"
564 -SLOT="0"
565 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
566 -IUSE="doc examples +sqlite test"
567 -
568 -REQUIRED_USE="test? ( sqlite )"
569 -
570 -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
571 -DEPEND="${RDEPEND}
572 - test? (
573 - dev-python/pytest[${PYTHON_USEDEP}]
574 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
575 - )"
576 -
577 -S="${WORKDIR}/${MY_P}"
578 -
579 -python_prepare_all() {
580 - # Disable tests hardcoding function call counts specific to Python versions.
581 - rm -r test/aaa_profiling || die
582 - distutils-r1_python_prepare_all
583 -}
584 -
585 -python_compile() {
586 - if ! python_is_python3; then
587 - local CFLAGS=${CFLAGS}
588 - append-cflags -fno-strict-aliasing
589 - fi
590 - distutils-r1_python_compile
591 -}
592 -
593 -python_test() {
594 - # Create copies of necessary files in BUILD_DIR.
595 - # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/
596 - cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
597 - pushd "${BUILD_DIR}" > /dev/null || die
598 - if [[ "${EPYTHON}" == "python3.2" ]]; then
599 - 2to3 --no-diffs -w test || die
600 - fi
601 - # Recently upstream elected to make the testsuite also pytest capable
602 - # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
603 - py.test --verbose test || die "Testsuite failed under ${EPYTHON}"
604 - popd > /dev/null
605 -}
606 -
607 -python_install_all() {
608 - use doc && HTML_DOCS=( doc/. )
609 - use examples && dodoc -r examples
610 -
611 - distutils-r1_python_install_all
612 -}
613 -
614 -pkg_postinst() {
615 - optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python
616 - optfeature "mssql support" dev-python/pymssql
617 - optfeature "postgresql support" dev-python/psycopg:2
618 -}
619
620 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.2.2.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.2.2.ebuild
621 deleted file mode 100644
622 index 5097c22e220..00000000000
623 --- a/dev-python/sqlalchemy/sqlalchemy-1.2.2.ebuild
624 +++ /dev/null
625 @@ -1,76 +0,0 @@
626 -# Copyright 1999-2019 Gentoo Authors
627 -# Distributed under the terms of the GNU General Public License v2
628 -
629 -EAPI=6
630 -
631 -PYTHON_COMPAT=( python2_7 python3_{5,6} pypy{,3} )
632 -PYTHON_REQ_USE="sqlite?"
633 -
634 -inherit distutils-r1 eutils flag-o-matic
635 -
636 -MY_PN="SQLAlchemy"
637 -MY_P="${MY_PN}-${PV/_beta/b}"
638 -
639 -DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
640 -HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
641 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
642 -
643 -LICENSE="MIT"
644 -SLOT="0"
645 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~amd64-fbsd"
646 -IUSE="doc examples +sqlite test"
647 -
648 -REQUIRED_USE="test? ( sqlite )"
649 -
650 -RDEPEND="
651 - dev-python/setuptools[${PYTHON_USEDEP}]"
652 -
653 -DEPEND="
654 - ${RDEPEND}
655 - test? (
656 - dev-python/pytest[${PYTHON_USEDEP}]
657 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
658 - )"
659 -
660 -S="${WORKDIR}/${MY_P}"
661 -
662 -python_prepare_all() {
663 - # Disable tests hardcoding function call counts specific to Python versions.
664 - rm -r test/aaa_profiling || die
665 - distutils-r1_python_prepare_all
666 -}
667 -
668 -python_compile() {
669 - if ! python_is_python3; then
670 - local CFLAGS=${CFLAGS}
671 - append-cflags -fno-strict-aliasing
672 - fi
673 - distutils-r1_python_compile
674 -}
675 -
676 -python_test() {
677 - # Create copies of necessary files in BUILD_DIR.
678 - # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/
679 - cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
680 - pushd "${BUILD_DIR}" > /dev/null || die
681 - if [[ "${EPYTHON}" == "python3.2" ]]; then
682 - 2to3 --no-diffs -w test || die
683 - fi
684 - # Recently upstream elected to make the testsuite also pytest capable
685 - # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
686 - py.test --verbose test || die "Testsuite failed under ${EPYTHON}"
687 - popd > /dev/null
688 -}
689 -
690 -python_install_all() {
691 - use doc && HTML_DOCS=( doc/. )
692 - use examples && dodoc -r examples
693 -
694 - distutils-r1_python_install_all
695 -}
696 -
697 -pkg_postinst() {
698 - optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python
699 - optfeature "mssql support" dev-python/pymssql
700 - optfeature "postgresql support" dev-python/psycopg:2
701 -}
702
703 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.2.4.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.2.4.ebuild
704 deleted file mode 100644
705 index 6c5efcc8426..00000000000
706 --- a/dev-python/sqlalchemy/sqlalchemy-1.2.4.ebuild
707 +++ /dev/null
708 @@ -1,77 +0,0 @@
709 -# Copyright 1999-2019 Gentoo Authors
710 -# Distributed under the terms of the GNU General Public License v2
711 -
712 -EAPI=6
713 -
714 -PYTHON_COMPAT=( python2_7 python3_{5,6} pypy{,3} )
715 -PYTHON_REQ_USE="sqlite?"
716 -
717 -inherit distutils-r1 eutils flag-o-matic
718 -
719 -MY_PN="SQLAlchemy"
720 -MY_P="${MY_PN}-${PV/_beta/b}"
721 -
722 -DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
723 -HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
724 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
725 -
726 -LICENSE="MIT"
727 -SLOT="0"
728 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
729 -IUSE="doc examples +sqlite test"
730 -
731 -REQUIRED_USE="test? ( sqlite )"
732 -
733 -RDEPEND="
734 - dev-python/setuptools[${PYTHON_USEDEP}]"
735 -
736 -DEPEND="
737 - ${RDEPEND}
738 - test? (
739 - <dev-python/pluggy-0.7s[${PYTHON_USEDEP}]
740 - dev-python/pytest[${PYTHON_USEDEP}]
741 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
742 - )"
743 -
744 -S="${WORKDIR}/${MY_P}"
745 -
746 -python_prepare_all() {
747 - # Disable tests hardcoding function call counts specific to Python versions.
748 - rm -r test/aaa_profiling || die
749 - distutils-r1_python_prepare_all
750 -}
751 -
752 -python_compile() {
753 - if ! python_is_python3; then
754 - local CFLAGS=${CFLAGS}
755 - append-cflags -fno-strict-aliasing
756 - fi
757 - distutils-r1_python_compile
758 -}
759 -
760 -python_test() {
761 - # Create copies of necessary files in BUILD_DIR.
762 - # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/
763 - cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
764 - pushd "${BUILD_DIR}" > /dev/null || die
765 - if [[ "${EPYTHON}" == "python3.2" ]]; then
766 - 2to3 --no-diffs -w test || die
767 - fi
768 - # Recently upstream elected to make the testsuite also pytest capable
769 - # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
770 - py.test --verbose test || die "Testsuite failed under ${EPYTHON}"
771 - popd > /dev/null
772 -}
773 -
774 -python_install_all() {
775 - use doc && HTML_DOCS=( doc/. )
776 - use examples && dodoc -r examples
777 -
778 - distutils-r1_python_install_all
779 -}
780 -
781 -pkg_postinst() {
782 - optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python
783 - optfeature "mssql support" dev-python/pymssql
784 - optfeature "postgresql support" dev-python/psycopg:2
785 -}
786
787 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.2.7.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.2.7.ebuild
788 deleted file mode 100644
789 index 6c5efcc8426..00000000000
790 --- a/dev-python/sqlalchemy/sqlalchemy-1.2.7.ebuild
791 +++ /dev/null
792 @@ -1,77 +0,0 @@
793 -# Copyright 1999-2019 Gentoo Authors
794 -# Distributed under the terms of the GNU General Public License v2
795 -
796 -EAPI=6
797 -
798 -PYTHON_COMPAT=( python2_7 python3_{5,6} pypy{,3} )
799 -PYTHON_REQ_USE="sqlite?"
800 -
801 -inherit distutils-r1 eutils flag-o-matic
802 -
803 -MY_PN="SQLAlchemy"
804 -MY_P="${MY_PN}-${PV/_beta/b}"
805 -
806 -DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
807 -HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
808 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
809 -
810 -LICENSE="MIT"
811 -SLOT="0"
812 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
813 -IUSE="doc examples +sqlite test"
814 -
815 -REQUIRED_USE="test? ( sqlite )"
816 -
817 -RDEPEND="
818 - dev-python/setuptools[${PYTHON_USEDEP}]"
819 -
820 -DEPEND="
821 - ${RDEPEND}
822 - test? (
823 - <dev-python/pluggy-0.7s[${PYTHON_USEDEP}]
824 - dev-python/pytest[${PYTHON_USEDEP}]
825 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
826 - )"
827 -
828 -S="${WORKDIR}/${MY_P}"
829 -
830 -python_prepare_all() {
831 - # Disable tests hardcoding function call counts specific to Python versions.
832 - rm -r test/aaa_profiling || die
833 - distutils-r1_python_prepare_all
834 -}
835 -
836 -python_compile() {
837 - if ! python_is_python3; then
838 - local CFLAGS=${CFLAGS}
839 - append-cflags -fno-strict-aliasing
840 - fi
841 - distutils-r1_python_compile
842 -}
843 -
844 -python_test() {
845 - # Create copies of necessary files in BUILD_DIR.
846 - # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/
847 - cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
848 - pushd "${BUILD_DIR}" > /dev/null || die
849 - if [[ "${EPYTHON}" == "python3.2" ]]; then
850 - 2to3 --no-diffs -w test || die
851 - fi
852 - # Recently upstream elected to make the testsuite also pytest capable
853 - # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
854 - py.test --verbose test || die "Testsuite failed under ${EPYTHON}"
855 - popd > /dev/null
856 -}
857 -
858 -python_install_all() {
859 - use doc && HTML_DOCS=( doc/. )
860 - use examples && dodoc -r examples
861 -
862 - distutils-r1_python_install_all
863 -}
864 -
865 -pkg_postinst() {
866 - optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python
867 - optfeature "mssql support" dev-python/pymssql
868 - optfeature "postgresql support" dev-python/psycopg:2
869 -}
870
871 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.2.9.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.2.9.ebuild
872 deleted file mode 100644
873 index 52319a30fd7..00000000000
874 --- a/dev-python/sqlalchemy/sqlalchemy-1.2.9.ebuild
875 +++ /dev/null
876 @@ -1,67 +0,0 @@
877 -# Copyright 1999-2019 Gentoo Authors
878 -# Distributed under the terms of the GNU General Public License v2
879 -
880 -EAPI=6
881 -
882 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} )
883 -PYTHON_REQ_USE="sqlite?"
884 -
885 -inherit distutils-r1 eutils flag-o-matic
886 -
887 -MY_PN="SQLAlchemy"
888 -MY_P="${MY_PN}-${PV/_beta/b}"
889 -
890 -DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
891 -HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
892 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
893 -
894 -LICENSE="MIT"
895 -SLOT="0"
896 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
897 -IUSE="doc examples +sqlite test"
898 -
899 -REQUIRED_USE="test? ( sqlite )"
900 -
901 -RDEPEND="
902 - dev-python/setuptools[${PYTHON_USEDEP}]"
903 -
904 -DEPEND="
905 - ${RDEPEND}
906 - test? (
907 - <dev-python/pluggy-0.7s[${PYTHON_USEDEP}]
908 - dev-python/pytest[${PYTHON_USEDEP}]
909 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
910 - )"
911 -
912 -S="${WORKDIR}/${MY_P}"
913 -
914 -python_prepare_all() {
915 - # Disable tests hardcoding function call counts specific to Python versions.
916 - rm -r test/aaa_profiling || die
917 - distutils-r1_python_prepare_all
918 -}
919 -
920 -python_compile() {
921 - if ! python_is_python3; then
922 - local CFLAGS=${CFLAGS}
923 - append-cflags -fno-strict-aliasing
924 - fi
925 - distutils-r1_python_compile
926 -}
927 -
928 -python_test() {
929 - pytest -vv test || die "Testsuite failed under ${EPYTHON}"
930 -}
931 -
932 -python_install_all() {
933 - use doc && HTML_DOCS=( doc/. )
934 - use examples && dodoc -r examples
935 -
936 - distutils-r1_python_install_all
937 -}
938 -
939 -pkg_postinst() {
940 - optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python
941 - optfeature "mssql support" dev-python/pymssql
942 - optfeature "postgresql support" dev-python/psycopg:2
943 -}