Gentoo Archives: gentoo-commits

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