Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sqlalchemy/
Date: Tue, 01 Nov 2016 15:32:39
Message-Id: 1478014343.2098f9537cb99b5fad19f5185049be705c3c0916.floppym@gentoo
1 commit: 2098f9537cb99b5fad19f5185049be705c3c0916
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 1 15:30:15 2016 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 1 15:32:23 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2098f953
7
8 dev-python/sqlalchemy: remove old
9
10 Package-Manager: portage-2.3.2_p1
11
12 dev-python/sqlalchemy/Manifest | 5 --
13 dev-python/sqlalchemy/sqlalchemy-1.0.10.ebuild | 86 --------------------------
14 dev-python/sqlalchemy/sqlalchemy-1.0.11.ebuild | 86 --------------------------
15 dev-python/sqlalchemy/sqlalchemy-1.0.14.ebuild | 74 ----------------------
16 dev-python/sqlalchemy/sqlalchemy-1.0.8.ebuild | 86 --------------------------
17 dev-python/sqlalchemy/sqlalchemy-1.0.9.ebuild | 86 --------------------------
18 6 files changed, 423 deletions(-)
19
20 diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest
21 index 6da8175..5e9eda9 100644
22 --- a/dev-python/sqlalchemy/Manifest
23 +++ b/dev-python/sqlalchemy/Manifest
24 @@ -1,11 +1,6 @@
25 DIST SQLAlchemy-0.7.10.tar.gz 3541639 SHA256 77aa39d65c9d043eba6ba329b359ff867424fd6c403b7c0cb112b65e507e1d66 SHA512 631bc4ffb419defa531a66d82449fe48f93c88371ba0b8ab4217d900a0d1d90efe9699d8a9048d5c2ed33948c6d2f7cae46452ee45d442914018f3361e804367 WHIRLPOOL 74ffc17efbcbb2ac67712b9e11aa48431d18970f46ae5985aaa345aa8691f96e4acc4cf6fa37606699fbba83fcb7f74b0360fea2ac5e93a451585019e110f2ed
26 DIST SQLAlchemy-0.9.8.tar.gz 4080098 SHA256 de3ac04ecab0a7e0af64eee30a71e723ba5886b958205f7354dd62439da60389 SHA512 3df7d7a64cdfe7b684be98e7e9d6836da54c391343bb047224a11df888041034bcc54cc30d15dc3d56b5d397b35e6aabe5732e7ca8fbf553bd8d98731c249ea5 WHIRLPOOL 2cedf7713753a6cf8838741fcf06c5510387aa4e661ea3c0ecc2bb7bdb5b03fb90f072ccd1a5671f03943952340c6c3525836e1ebe9246506143b055a1ca1991
27 -DIST SQLAlchemy-1.0.10.tar.gz 4705865 SHA256 963415bf4ea4fa13698893464bc6917d291331e0e8202dddd0ebfed2864ef7e3 SHA512 c28663a28e460abc724998f1fa605c31d0060e77f654f7c392da75f36e337158e9955cb37ba1c6ee517ef182f42c25e682a279d6865c9ee438bfb13dffa475c5 WHIRLPOOL 7f15d92722e54bc38a991f5639d7dae645f8845d1229a54bf0eff854aef5de7ff4c2df4a51db0d9fe74c08129cd4b1fc09e5e99dd0af7ff52ea374f732efa355
28 -DIST SQLAlchemy-1.0.11.tar.gz 4708987 SHA256 0b24729787fa1455009770880ea32b1fa5554e75170763b1aef8b1eb470de8a3 SHA512 b7f4d97faffefad65bbfb0c16c1ac0e27addc28546637ad323273311cfe4ef17be6e77e6279331b575ffd6cfdc6e57634666e4898aa484b275142cf665ba4920 WHIRLPOOL 24f434d6baeffb478636517e9d5fbf49f8f5fd80dbd8ce7cdb065de61055cd873a79c5afbfb2be2fbb07a14bf65a91f33d93ca180b27f07c08cb5a4619adc9bf
29 DIST SQLAlchemy-1.0.12.tar.gz 4748974 SHA256 6679e20eae780b67ba136a4a76f83bb264debaac2542beefe02069d0206518d1 SHA512 67878cd5dd43bebcf17ec40e6879084e661652d0cef3a848eaa3fbc89dcd499ba7bba595ae514a531889496c182a76cd78e2e7ea37ab366ce6b373cbe963c8af WHIRLPOOL fb9c9a8598338f58c837d7a3593244b9f7748495ee588162dae64b0fac2f053e36bfe436656f58aa0a8e671ccb04d01d52154a07bb149526d6a36f02de9e49ce
30 -DIST SQLAlchemy-1.0.14.tar.gz 4765726 SHA256 da4d1a39c1e99c7fecc2aaa3a050094b6aa7134de7d89f77e6216e7abd1705b3 SHA512 ae504f413ca8d803e90f4bb383a32196e9242764c966b42a0dcbac96aa75cd716079e9acd9ed2e4ab621a1224de4675af5407cacc95de47331a3befdbc1ab662 WHIRLPOOL 792d92b449070bae90d4b18b4b933b664f41dbb2bd3c5e2426b1ee89dc1ab8a8204eb0969d4b0d2aa67cbe7321a8fa868be2513073e3176d85f09350413e09db
31 DIST SQLAlchemy-1.0.15.tar.gz 4776213 SHA256 586f5ccf068211795a89ed22d196c5cc3006b6be00261bcac6f584c0b8e0845a SHA512 12ca4afc8d26a666d721c70399ae30a3c63087265ee0debc10261fd6f1a31b15d5e43c6203da1703f8803c449cf650357d631e12be42fce605311e7acdb2c135 WHIRLPOOL 2ea6f6645fc416f3118adb4d4746f028dcf0e8e9f6c1eb20fb853609fad9a2ab8de5c167b0d9d00dc8de62fd3d244a997b327b55f244172827d44820be646caf
32 -DIST SQLAlchemy-1.0.8.tar.gz 4627601 SHA256 950c79c0abf9e9f99c43c627c51d40d14a946810a90c35e7cd827bfd0bffe46f SHA512 921f847a20548095cb1f41fe6147b393110e08f8f3ff0aee6081e7811e7c15b3c03583afd41ddf5aacdc1dde090c0512afb94c7cc33d9c27135a5525ed121e74 WHIRLPOOL 757f2a3832c8fefd5789cd981eb1b2028419362ed2714927198df6b91742236896d4ab0131969afa08e5508843e32e018a1361e28df3f22a15f811d78275f8cf
33 -DIST SQLAlchemy-1.0.9.tar.gz 4662673 SHA256 c3d37501e36ec5d74c2d7b4a3764719db86a9cdab4a24431bf58b386743ab10e SHA512 5032977e4fd3ff12d7ae10ca87f0ec9cd2d9eb5d200020b74faad1309eb1de5bacc9b4f5e53cb1b0b0b9c7f59b923a87a12ba050b37a631f9c77af2b896eb076 WHIRLPOOL 5e824f8581b98ac26f47d0bc8ae706783602ebe6bf921c6767f46db83b8322b022ea51603d1002017052144946256583c4fd9d2a92742c752333b530ed356121
34 DIST SQLAlchemy-1.1.2.tar.gz 5104171 SHA256 1692c35bc0f7026d20cabd43b0f6f265e855129f44eb4574fea361e3c5cc89a5 SHA512 5b7b8af5e7e96c844ee5e9b85314ede7dbdfd411ff88bc32517661108abcc2338fe1949a1378b135e2be6c5943de168dfe735bcd74d0581df95d98fe40a03c4a WHIRLPOOL 24b02311535db62ed7d932cc4f582b3f3a17633a726f0d4230890116a18516e4eac5a39eace2701d05fe51c71cc089113ace71b426051c9f3ab3275bd650b989
35 DIST SQLAlchemy-1.1.3.tar.gz 5111411 SHA256 8b0ed90292a294e17d24482c9328abe69eb8e3143e2bd7103b6fadae2562638f SHA512 b35994f5dc005db7ddc82b353f1cec639e081f5965177e83f7b834af34fdcdfabcf35b45ac6aea3366168c7b0a0d3e95e86b7e84e715e1483039806e976f9e48 WHIRLPOOL 3fcf0a7971e4e81dc346d809e07e1993720b88770300f81a916d799afd29aedbc8742a196a4bf4f922d8015f40bb7da0332801027cba24a985a76d0f2b0c9ae4
36
37 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.0.10.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.0.10.ebuild
38 deleted file mode 100644
39 index aaa990b..00000000
40 --- a/dev-python/sqlalchemy/sqlalchemy-1.0.10.ebuild
41 +++ /dev/null
42 @@ -1,86 +0,0 @@
43 -# Copyright 1999-2015 Gentoo Foundation
44 -# Distributed under the terms of the GNU General Public License v2
45 -# $Id$
46 -
47 -EAPI=5
48 -
49 -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
50 -PYTHON_REQ_USE="sqlite?"
51 -
52 -inherit distutils-r1 flag-o-matic
53 -
54 -MY_PN="SQLAlchemy"
55 -MY_P="${MY_PN}-${PV/_beta/b}"
56 -
57 -DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
58 -HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.python.org/pypi/SQLAlchemy"
59 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
60 -
61 -LICENSE="MIT"
62 -SLOT="0"
63 -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"
64 -IUSE="doc examples +sqlite test"
65 -
66 -REQUIRED_USE="test? ( sqlite )"
67 -
68 -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
69 -DEPEND="${RDEPEND}
70 - test? (
71 - dev-python/pytest[${PYTHON_USEDEP}]
72 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
73 - )"
74 -S="${WORKDIR}/${MY_P}"
75 -
76 -python_prepare_all() {
77 - # Disable tests hardcoding function call counts specific to Python versions.
78 - rm -r test/aaa_profiling || die
79 - distutils-r1_python_prepare_all
80 -}
81 -
82 -python_compile() {
83 - if ! python_is_python3; then
84 - local CFLAGS=${CFLAGS}
85 - append-cflags -fno-strict-aliasing
86 - fi
87 - distutils-r1_python_compile
88 -}
89 -
90 -python_test() {
91 - # Create copies of necessary files in BUILD_DIR.
92 - # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/
93 - cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
94 - pushd "${BUILD_DIR}" > /dev/null || die
95 - if [[ "${EPYTHON}" == "python3.2" ]]; then
96 - 2to3 --no-diffs -w test || die
97 - fi
98 - # Recently upstream elected to make the testsuite also pytest capable
99 - # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
100 - py.test test || die "Testsuite failed under ${EPYTHON}"
101 - popd > /dev/null
102 -}
103 -
104 -python_install_all() {
105 - use doc && HTML_DOCS=( doc/. )
106 - use examples && local EXAMPLES=( examples/. )
107 -
108 - distutils-r1_python_install_all
109 -}
110 -
111 -pkg_postinst() {
112 - if [[ -z ${REPLACING_VERSIONS} ]]; then
113 - if ! has_version dev-python/mysql-python; then
114 - elog "For MySQL support, install dev-python/mysql-python"
115 - fi
116 -
117 - if ! has_version dev-python/pymssql; then
118 - elog "For mssql support, install dev-python/pymssql"
119 - fi
120 -
121 - if ! has_version dev-python/psycopg:2; then
122 - elog "For postgresql support, install dev-python/psycopg:2"
123 - fi
124 - fi
125 -
126 - elog "mysql backend support can be enabled by installing mysql-python for cpython py2.7 only,"
127 - elog "or mysql-connector-python for support of cpythons 2.7 3.3 and 3.4"
128 -}
129
130 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.0.11.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.0.11.ebuild
131 deleted file mode 100644
132 index aaa990b..00000000
133 --- a/dev-python/sqlalchemy/sqlalchemy-1.0.11.ebuild
134 +++ /dev/null
135 @@ -1,86 +0,0 @@
136 -# Copyright 1999-2015 Gentoo Foundation
137 -# Distributed under the terms of the GNU General Public License v2
138 -# $Id$
139 -
140 -EAPI=5
141 -
142 -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
143 -PYTHON_REQ_USE="sqlite?"
144 -
145 -inherit distutils-r1 flag-o-matic
146 -
147 -MY_PN="SQLAlchemy"
148 -MY_P="${MY_PN}-${PV/_beta/b}"
149 -
150 -DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
151 -HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.python.org/pypi/SQLAlchemy"
152 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
153 -
154 -LICENSE="MIT"
155 -SLOT="0"
156 -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"
157 -IUSE="doc examples +sqlite test"
158 -
159 -REQUIRED_USE="test? ( sqlite )"
160 -
161 -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
162 -DEPEND="${RDEPEND}
163 - test? (
164 - dev-python/pytest[${PYTHON_USEDEP}]
165 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
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 - # Create copies of necessary files in BUILD_DIR.
185 - # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/
186 - cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
187 - pushd "${BUILD_DIR}" > /dev/null || die
188 - if [[ "${EPYTHON}" == "python3.2" ]]; then
189 - 2to3 --no-diffs -w test || die
190 - fi
191 - # Recently upstream elected to make the testsuite also pytest capable
192 - # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
193 - py.test test || die "Testsuite failed under ${EPYTHON}"
194 - popd > /dev/null
195 -}
196 -
197 -python_install_all() {
198 - use doc && HTML_DOCS=( doc/. )
199 - use examples && local EXAMPLES=( examples/. )
200 -
201 - distutils-r1_python_install_all
202 -}
203 -
204 -pkg_postinst() {
205 - if [[ -z ${REPLACING_VERSIONS} ]]; then
206 - if ! has_version dev-python/mysql-python; then
207 - elog "For MySQL support, install dev-python/mysql-python"
208 - fi
209 -
210 - if ! has_version dev-python/pymssql; then
211 - elog "For mssql support, install dev-python/pymssql"
212 - fi
213 -
214 - if ! has_version dev-python/psycopg:2; then
215 - elog "For postgresql support, install dev-python/psycopg:2"
216 - fi
217 - fi
218 -
219 - elog "mysql backend support can be enabled by installing mysql-python for cpython py2.7 only,"
220 - elog "or mysql-connector-python for support of cpythons 2.7 3.3 and 3.4"
221 -}
222
223 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.0.14.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.0.14.ebuild
224 deleted file mode 100644
225 index 243bc3f..00000000
226 --- a/dev-python/sqlalchemy/sqlalchemy-1.0.14.ebuild
227 +++ /dev/null
228 @@ -1,74 +0,0 @@
229 -# Copyright 1999-2016 Gentoo Foundation
230 -# Distributed under the terms of the GNU General Public License v2
231 -# $Id$
232 -
233 -EAPI=6
234 -
235 -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
236 -PYTHON_REQ_USE="sqlite?"
237 -
238 -inherit distutils-r1 eutils flag-o-matic
239 -
240 -MY_PN="SQLAlchemy"
241 -MY_P="${MY_PN}-${PV/_beta/b}"
242 -
243 -DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
244 -HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.python.org/pypi/SQLAlchemy"
245 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
246 -
247 -LICENSE="MIT"
248 -SLOT="0"
249 -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"
250 -IUSE="doc examples +sqlite test"
251 -
252 -REQUIRED_USE="test? ( sqlite )"
253 -
254 -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
255 -DEPEND="${RDEPEND}
256 - test? (
257 - dev-python/pytest[${PYTHON_USEDEP}]
258 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
259 - )"
260 -
261 -S="${WORKDIR}/${MY_P}"
262 -
263 -python_prepare_all() {
264 - # Disable tests hardcoding function call counts specific to Python versions.
265 - rm -r test/aaa_profiling || die
266 - distutils-r1_python_prepare_all
267 -}
268 -
269 -python_compile() {
270 - if ! python_is_python3; then
271 - local CFLAGS=${CFLAGS}
272 - append-cflags -fno-strict-aliasing
273 - fi
274 - distutils-r1_python_compile
275 -}
276 -
277 -python_test() {
278 - # Create copies of necessary files in BUILD_DIR.
279 - # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/
280 - cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
281 - pushd "${BUILD_DIR}" > /dev/null || die
282 - if [[ "${EPYTHON}" == "python3.2" ]]; then
283 - 2to3 --no-diffs -w test || die
284 - fi
285 - # Recently upstream elected to make the testsuite also pytest capable
286 - # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
287 - py.test --verbose test || die "Testsuite failed under ${EPYTHON}"
288 - popd > /dev/null
289 -}
290 -
291 -python_install_all() {
292 - use doc && HTML_DOCS=( doc/. )
293 - use examples && dodoc -r examples
294 -
295 - distutils-r1_python_install_all
296 -}
297 -
298 -pkg_postinst() {
299 - optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python
300 - optfeature "mssql support" dev-python/pymssql
301 - optfeature "postgresql support" dev-python/psycopg:2
302 -}
303
304 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.0.8.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.0.8.ebuild
305 deleted file mode 100644
306 index 604e870..00000000
307 --- a/dev-python/sqlalchemy/sqlalchemy-1.0.8.ebuild
308 +++ /dev/null
309 @@ -1,86 +0,0 @@
310 -# Copyright 1999-2015 Gentoo Foundation
311 -# Distributed under the terms of the GNU General Public License v2
312 -# $Id$
313 -
314 -EAPI=5
315 -
316 -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
317 -PYTHON_REQ_USE="sqlite?"
318 -
319 -inherit distutils-r1 flag-o-matic
320 -
321 -MY_PN="SQLAlchemy"
322 -MY_P="${MY_PN}-${PV/_beta/b}"
323 -
324 -DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
325 -HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.python.org/pypi/SQLAlchemy"
326 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
327 -
328 -LICENSE="MIT"
329 -SLOT="0"
330 -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"
331 -IUSE="doc examples +sqlite test"
332 -
333 -REQUIRED_USE="test? ( sqlite )"
334 -
335 -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
336 -DEPEND="${RDEPEND}
337 - test? (
338 - dev-python/pytest[${PYTHON_USEDEP}]
339 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
340 - )"
341 -S="${WORKDIR}/${MY_P}"
342 -
343 -python_prepare_all() {
344 - # Disable tests hardcoding function call counts specific to Python versions.
345 - rm -r test/aaa_profiling || die
346 - distutils-r1_python_prepare_all
347 -}
348 -
349 -python_compile() {
350 - if ! python_is_python3; then
351 - local CFLAGS=${CFLAGS}
352 - append-cflags -fno-strict-aliasing
353 - fi
354 - distutils-r1_python_compile
355 -}
356 -
357 -python_test() {
358 - # Create copies of necessary files in BUILD_DIR.
359 - # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/
360 - cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
361 - pushd "${BUILD_DIR}" > /dev/null || die
362 - if [[ "${EPYTHON}" == "python3.2" ]]; then
363 - 2to3 --no-diffs -w test || die
364 - fi
365 - # Recently upstream elected to make the testsuite also pytest capable
366 - # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
367 - py.test test || die "Testsuite failed under ${EPYTHON}"
368 - popd > /dev/null
369 -}
370 -
371 -python_install_all() {
372 - use doc && HTML_DOCS=( doc/. )
373 - use examples && local EXAMPLES=( examples/. )
374 -
375 - distutils-r1_python_install_all
376 -}
377 -
378 -pkg_postinst() {
379 - if [[ -z ${REPLACING_VERSIONS} ]]; then
380 - if ! has_version dev-python/mysql-python; then
381 - elog "For MySQL support, install dev-python/mysql-python"
382 - fi
383 -
384 - if ! has_version dev-python/pymssql; then
385 - elog "For mssql support, install dev-python/pymssql"
386 - fi
387 -
388 - if ! has_version dev-python/psycopg:2; then
389 - elog "For postgresql support, install dev-python/psycopg:2"
390 - fi
391 - fi
392 -
393 - elog "mysql backend support can be enabled by installing mysql-python for cpython py2.7 only,"
394 - elog "or mysql-connector-python for support of cpythons 2.7 3.3 and 3.4"
395 -}
396
397 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.0.9.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.0.9.ebuild
398 deleted file mode 100644
399 index 6a81e2a..00000000
400 --- a/dev-python/sqlalchemy/sqlalchemy-1.0.9.ebuild
401 +++ /dev/null
402 @@ -1,86 +0,0 @@
403 -# Copyright 1999-2015 Gentoo Foundation
404 -# Distributed under the terms of the GNU General Public License v2
405 -# $Id$
406 -
407 -EAPI=5
408 -
409 -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
410 -PYTHON_REQ_USE="sqlite?"
411 -
412 -inherit distutils-r1 flag-o-matic
413 -
414 -MY_PN="SQLAlchemy"
415 -MY_P="${MY_PN}-${PV/_beta/b}"
416 -
417 -DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
418 -HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.python.org/pypi/SQLAlchemy"
419 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
420 -
421 -LICENSE="MIT"
422 -SLOT="0"
423 -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"
424 -IUSE="doc examples +sqlite test"
425 -
426 -REQUIRED_USE="test? ( sqlite )"
427 -
428 -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
429 -DEPEND="${RDEPEND}
430 - test? (
431 - dev-python/pytest[${PYTHON_USEDEP}]
432 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
433 - )"
434 -S="${WORKDIR}/${MY_P}"
435 -
436 -python_prepare_all() {
437 - # Disable tests hardcoding function call counts specific to Python versions.
438 - rm -r test/aaa_profiling || die
439 - distutils-r1_python_prepare_all
440 -}
441 -
442 -python_compile() {
443 - if ! python_is_python3; then
444 - local CFLAGS=${CFLAGS}
445 - append-cflags -fno-strict-aliasing
446 - fi
447 - distutils-r1_python_compile
448 -}
449 -
450 -python_test() {
451 - # Create copies of necessary files in BUILD_DIR.
452 - # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/
453 - cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
454 - pushd "${BUILD_DIR}" > /dev/null || die
455 - if [[ "${EPYTHON}" == "python3.2" ]]; then
456 - 2to3 --no-diffs -w test || die
457 - fi
458 - # Recently upstream elected to make the testsuite also pytest capable
459 - # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
460 - py.test test || die "Testsuite failed under ${EPYTHON}"
461 - popd > /dev/null
462 -}
463 -
464 -python_install_all() {
465 - use doc && HTML_DOCS=( doc/. )
466 - use examples && local EXAMPLES=( examples/. )
467 -
468 - distutils-r1_python_install_all
469 -}
470 -
471 -pkg_postinst() {
472 - if [[ -z ${REPLACING_VERSIONS} ]]; then
473 - if ! has_version dev-python/mysql-python; then
474 - elog "For MySQL support, install dev-python/mysql-python"
475 - fi
476 -
477 - if ! has_version dev-python/pymssql; then
478 - elog "For mssql support, install dev-python/pymssql"
479 - fi
480 -
481 - if ! has_version dev-python/psycopg:2; then
482 - elog "For postgresql support, install dev-python/psycopg:2"
483 - fi
484 - fi
485 -
486 - elog "mysql backend support can be enabled by installing mysql-python for cpython py2.7 only,"
487 - elog "or mysql-connector-python for support of cpythons 2.7 3.3 and 3.4"
488 -}