Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sqlalchemy/
Date: Wed, 30 Nov 2016 13:54:23
Message-Id: 1480514047.8dc939977cae4ab0820fbc8aec9cefb3a234cb01.polynomial-c@gentoo
1 commit: 8dc939977cae4ab0820fbc8aec9cefb3a234cb01
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 30 13:09:30 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 30 13:54:07 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dc93997
7
8 dev-python/sqlalchemy: Removed old.
9
10 Package-Manager: portage-2.3.2
11
12 dev-python/sqlalchemy/Manifest | 2 -
13 dev-python/sqlalchemy/sqlalchemy-1.0.12.ebuild | 74 --------------------------
14 dev-python/sqlalchemy/sqlalchemy-1.1.2.ebuild | 74 --------------------------
15 3 files changed, 150 deletions(-)
16
17 diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest
18 index 8596f0d..12fbc25 100644
19 --- a/dev-python/sqlalchemy/Manifest
20 +++ b/dev-python/sqlalchemy/Manifest
21 @@ -1,7 +1,5 @@
22 DIST SQLAlchemy-0.7.10.tar.gz 3541639 SHA256 77aa39d65c9d043eba6ba329b359ff867424fd6c403b7c0cb112b65e507e1d66 SHA512 631bc4ffb419defa531a66d82449fe48f93c88371ba0b8ab4217d900a0d1d90efe9699d8a9048d5c2ed33948c6d2f7cae46452ee45d442914018f3361e804367 WHIRLPOOL 74ffc17efbcbb2ac67712b9e11aa48431d18970f46ae5985aaa345aa8691f96e4acc4cf6fa37606699fbba83fcb7f74b0360fea2ac5e93a451585019e110f2ed
23 DIST SQLAlchemy-0.9.8.tar.gz 4080098 SHA256 de3ac04ecab0a7e0af64eee30a71e723ba5886b958205f7354dd62439da60389 SHA512 3df7d7a64cdfe7b684be98e7e9d6836da54c391343bb047224a11df888041034bcc54cc30d15dc3d56b5d397b35e6aabe5732e7ca8fbf553bd8d98731c249ea5 WHIRLPOOL 2cedf7713753a6cf8838741fcf06c5510387aa4e661ea3c0ecc2bb7bdb5b03fb90f072ccd1a5671f03943952340c6c3525836e1ebe9246506143b055a1ca1991
24 -DIST SQLAlchemy-1.0.12.tar.gz 4748974 SHA256 6679e20eae780b67ba136a4a76f83bb264debaac2542beefe02069d0206518d1 SHA512 67878cd5dd43bebcf17ec40e6879084e661652d0cef3a848eaa3fbc89dcd499ba7bba595ae514a531889496c182a76cd78e2e7ea37ab366ce6b373cbe963c8af WHIRLPOOL fb9c9a8598338f58c837d7a3593244b9f7748495ee588162dae64b0fac2f053e36bfe436656f58aa0a8e671ccb04d01d52154a07bb149526d6a36f02de9e49ce
25 DIST SQLAlchemy-1.0.15.tar.gz 4776213 SHA256 586f5ccf068211795a89ed22d196c5cc3006b6be00261bcac6f584c0b8e0845a SHA512 12ca4afc8d26a666d721c70399ae30a3c63087265ee0debc10261fd6f1a31b15d5e43c6203da1703f8803c449cf650357d631e12be42fce605311e7acdb2c135 WHIRLPOOL 2ea6f6645fc416f3118adb4d4746f028dcf0e8e9f6c1eb20fb853609fad9a2ab8de5c167b0d9d00dc8de62fd3d244a997b327b55f244172827d44820be646caf
26 -DIST SQLAlchemy-1.1.2.tar.gz 5104171 SHA256 1692c35bc0f7026d20cabd43b0f6f265e855129f44eb4574fea361e3c5cc89a5 SHA512 5b7b8af5e7e96c844ee5e9b85314ede7dbdfd411ff88bc32517661108abcc2338fe1949a1378b135e2be6c5943de168dfe735bcd74d0581df95d98fe40a03c4a WHIRLPOOL 24b02311535db62ed7d932cc4f582b3f3a17633a726f0d4230890116a18516e4eac5a39eace2701d05fe51c71cc089113ace71b426051c9f3ab3275bd650b989
27 DIST SQLAlchemy-1.1.3.tar.gz 5111411 SHA256 8b0ed90292a294e17d24482c9328abe69eb8e3143e2bd7103b6fadae2562638f SHA512 b35994f5dc005db7ddc82b353f1cec639e081f5965177e83f7b834af34fdcdfabcf35b45ac6aea3366168c7b0a0d3e95e86b7e84e715e1483039806e976f9e48 WHIRLPOOL 3fcf0a7971e4e81dc346d809e07e1993720b88770300f81a916d799afd29aedbc8742a196a4bf4f922d8015f40bb7da0332801027cba24a985a76d0f2b0c9ae4
28 DIST SQLAlchemy-1.1.4.tar.gz 5117489 SHA256 701b57d628b9fa1cfb82f10665e7214d5d2db23251ca6f23b91c5f56fcdbdeb5 SHA512 b4343644ba619c748f6194744fc940360714cc04ef8f11789c62936dcd47a3108c511a2122ba8c4956ba1c92d93e98beb3f3818a8add320c210258f85748f532 WHIRLPOOL 8ab19304c84d702adba52d8864a70a184aab82601384fbfc38bd984fd16a769b637810a1f2436133e2d1eddd9089b31fb27e5953111d819ee476ffdb2b4716a4
29
30 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.0.12.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.0.12.ebuild
31 deleted file mode 100644
32 index 9c5cf96..00000000
33 --- a/dev-python/sqlalchemy/sqlalchemy-1.0.12.ebuild
34 +++ /dev/null
35 @@ -1,74 +0,0 @@
36 -# Copyright 1999-2016 Gentoo Foundation
37 -# Distributed under the terms of the GNU General Public License v2
38 -# $Id$
39 -
40 -EAPI=6
41 -
42 -PYTHON_COMPAT=( python2_7 python3_{4,5} pypy )
43 -PYTHON_REQ_USE="sqlite?"
44 -
45 -inherit distutils-r1 eutils flag-o-matic
46 -
47 -MY_PN="SQLAlchemy"
48 -MY_P="${MY_PN}-${PV/_beta/b}"
49 -
50 -DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
51 -HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.python.org/pypi/SQLAlchemy"
52 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
53 -
54 -LICENSE="MIT"
55 -SLOT="0"
56 -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"
57 -IUSE="doc examples +sqlite test"
58 -
59 -REQUIRED_USE="test? ( sqlite )"
60 -
61 -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
62 -DEPEND="${RDEPEND}
63 - test? (
64 - dev-python/pytest[${PYTHON_USEDEP}]
65 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
66 - )"
67 -
68 -S="${WORKDIR}/${MY_P}"
69 -
70 -python_prepare_all() {
71 - # Disable tests hardcoding function call counts specific to Python versions.
72 - rm -r test/aaa_profiling || die
73 - distutils-r1_python_prepare_all
74 -}
75 -
76 -python_compile() {
77 - if ! python_is_python3; then
78 - local CFLAGS=${CFLAGS}
79 - append-cflags -fno-strict-aliasing
80 - fi
81 - distutils-r1_python_compile
82 -}
83 -
84 -python_test() {
85 - # Create copies of necessary files in BUILD_DIR.
86 - # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/
87 - cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
88 - pushd "${BUILD_DIR}" > /dev/null || die
89 - if [[ "${EPYTHON}" == "python3.2" ]]; then
90 - 2to3 --no-diffs -w test || die
91 - fi
92 - # Recently upstream elected to make the testsuite also pytest capable
93 - # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
94 - py.test --verbose test || die "Testsuite failed under ${EPYTHON}"
95 - popd > /dev/null
96 -}
97 -
98 -python_install_all() {
99 - use doc && HTML_DOCS=( doc/. )
100 - use examples && dodoc -r examples
101 -
102 - distutils-r1_python_install_all
103 -}
104 -
105 -pkg_postinst() {
106 - optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python
107 - optfeature "mssql support" dev-python/pymssql
108 - optfeature "postgresql support" dev-python/psycopg:2
109 -}
110
111 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.1.2.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.1.2.ebuild
112 deleted file mode 100644
113 index 4f161b4..00000000
114 --- a/dev-python/sqlalchemy/sqlalchemy-1.1.2.ebuild
115 +++ /dev/null
116 @@ -1,74 +0,0 @@
117 -# Copyright 1999-2016 Gentoo Foundation
118 -# Distributed under the terms of the GNU General Public License v2
119 -# $Id$
120 -
121 -EAPI=6
122 -
123 -PYTHON_COMPAT=( python2_7 python3_{4,5} pypy )
124 -PYTHON_REQ_USE="sqlite?"
125 -
126 -inherit distutils-r1 eutils flag-o-matic
127 -
128 -MY_PN="SQLAlchemy"
129 -MY_P="${MY_PN}-${PV/_beta/b}"
130 -
131 -DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
132 -HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.python.org/pypi/SQLAlchemy"
133 -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
134 -
135 -LICENSE="MIT"
136 -SLOT="0"
137 -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"
138 -IUSE="doc examples +sqlite test"
139 -
140 -REQUIRED_USE="test? ( sqlite )"
141 -
142 -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
143 -DEPEND="${RDEPEND}
144 - test? (
145 - dev-python/pytest[${PYTHON_USEDEP}]
146 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
147 - )"
148 -
149 -S="${WORKDIR}/${MY_P}"
150 -
151 -python_prepare_all() {
152 - # Disable tests hardcoding function call counts specific to Python versions.
153 - rm -r test/aaa_profiling || die
154 - distutils-r1_python_prepare_all
155 -}
156 -
157 -python_compile() {
158 - if ! python_is_python3; then
159 - local CFLAGS=${CFLAGS}
160 - append-cflags -fno-strict-aliasing
161 - fi
162 - distutils-r1_python_compile
163 -}
164 -
165 -python_test() {
166 - # Create copies of necessary files in BUILD_DIR.
167 - # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/
168 - cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
169 - pushd "${BUILD_DIR}" > /dev/null || die
170 - if [[ "${EPYTHON}" == "python3.2" ]]; then
171 - 2to3 --no-diffs -w test || die
172 - fi
173 - # Recently upstream elected to make the testsuite also pytest capable
174 - # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
175 - py.test --verbose test || die "Testsuite failed under ${EPYTHON}"
176 - popd > /dev/null
177 -}
178 -
179 -python_install_all() {
180 - use doc && HTML_DOCS=( doc/. )
181 - use examples && dodoc -r examples
182 -
183 - distutils-r1_python_install_all
184 -}
185 -
186 -pkg_postinst() {
187 - optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python
188 - optfeature "mssql support" dev-python/pymssql
189 - optfeature "postgresql support" dev-python/psycopg:2
190 -}