1 |
commit: fd1099763c820588462f670507daf5afba286b0e |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 7 06:55:44 2017 +0000 |
4 |
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 7 06:56:08 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd109976 |
7 |
|
8 |
dev-python/sqlalchemy: Bump |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.4 |
11 |
|
12 |
dev-python/sqlalchemy/Manifest | 3 + |
13 |
dev-python/sqlalchemy/sqlalchemy-0.9.10.ebuild | 87 ++++++++++++++++++++++++++ |
14 |
dev-python/sqlalchemy/sqlalchemy-1.0.19.ebuild | 73 +++++++++++++++++++++ |
15 |
dev-python/sqlalchemy/sqlalchemy-1.1.15.ebuild | 73 +++++++++++++++++++++ |
16 |
4 files changed, 236 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest |
19 |
index 7ef66a692c2..ca97ad24559 100644 |
20 |
--- a/dev-python/sqlalchemy/Manifest |
21 |
+++ b/dev-python/sqlalchemy/Manifest |
22 |
@@ -1,9 +1,12 @@ |
23 |
DIST SQLAlchemy-0.7.10.tar.gz 3541639 SHA256 77aa39d65c9d043eba6ba329b359ff867424fd6c403b7c0cb112b65e507e1d66 SHA512 631bc4ffb419defa531a66d82449fe48f93c88371ba0b8ab4217d900a0d1d90efe9699d8a9048d5c2ed33948c6d2f7cae46452ee45d442914018f3361e804367 WHIRLPOOL 74ffc17efbcbb2ac67712b9e11aa48431d18970f46ae5985aaa345aa8691f96e4acc4cf6fa37606699fbba83fcb7f74b0360fea2ac5e93a451585019e110f2ed |
24 |
+DIST SQLAlchemy-0.9.10.tar.gz 4274855 SHA256 445cba2d5e36b9334aa06c06e00fbedb71f1b1dd03d1d2763b6cf77b9cd6163b SHA512 484f414a7133c51f231aeca3980fc088c8f952bc0a1f6cc5b6cc3c5aa6623fbe372381ce179e4cd588adcc515f6d73b52b7d8952e1f0faf0495956b364e14554 WHIRLPOOL f8b4d4a50b191747a54e5ec575e3fa3118cc731fbb6265f35edd5b066382192565122c979ce38d469b5d1d3f1cae9308cf6dde98bc822f1f1ede12b8e6ba8919 |
25 |
DIST SQLAlchemy-0.9.8.tar.gz 4080098 SHA256 de3ac04ecab0a7e0af64eee30a71e723ba5886b958205f7354dd62439da60389 SHA512 3df7d7a64cdfe7b684be98e7e9d6836da54c391343bb047224a11df888041034bcc54cc30d15dc3d56b5d397b35e6aabe5732e7ca8fbf553bd8d98731c249ea5 WHIRLPOOL 2cedf7713753a6cf8838741fcf06c5510387aa4e661ea3c0ecc2bb7bdb5b03fb90f072ccd1a5671f03943952340c6c3525836e1ebe9246506143b055a1ca1991 |
26 |
DIST SQLAlchemy-1.0.17.tar.gz 4787165 SHA256 4352b8ddc625fe648e9e93929fa217c234d7b1a1a2412a3021924b5c2bd95194 SHA512 18fc00bd80d136a65d5ad6929dac97a67514e001baaeaa57e95b31243cfe11aab9ab62ba8f7e68a5e833fbf024507c4908f99277445c8c3c9a3314981567978c WHIRLPOOL 7bfe9479f8cd8290d8065bc62d4ecd6ee1fdc17ada0ebc056ae2a90643a7c8e361b4456f8b93fc9cffa1e72316146975b0fe4f3ce44a8e4f76cb0994fe052a13 |
27 |
+DIST SQLAlchemy-1.0.19.tar.gz 4788659 SHA256 7dbca608466796816fda85282b9c90b9e0897805f4210450f18f9c2c8eee9eb5 SHA512 57d51fecb40e349b05da027bf39375a81c1d98e6d47f4dd076b9c7e2e3c8b6bdf8317e7b3e88c015cbd0d7858324ba0499a21a8ac39568c9ec95326e02af97bb WHIRLPOOL e0e2b18769444cd66412ddcef453dd546859d5bb61c6f7eef193fdd9143d1394ac44c093581af17263668534bff49a5a2777fc56656cb5e42c6a5857653b172a |
28 |
DIST SQLAlchemy-1.1.11.tar.gz 5197520 SHA256 76f76965e9a968ba3aecd2a8bc0d991cea04fd9a182e6c95c81f1551487b0211 SHA512 322ec0baa6360099eb000ddd36e28267f64019eb72201ecf60fc478591679e0dd5d2b1139a93036d2ec0165c588ea5836a67ed21dbf7c423b64432589bd73de4 WHIRLPOOL cebae426ff588ccf59e940fb11812abe60cf53fa1f67da954bbdbe06f558c5185f548e9446149e3187219608b1c9782af82c14bb41606b083f58103583d055bb |
29 |
DIST SQLAlchemy-1.1.12.tar.gz 5178158 SHA256 d501527319f51a3d9eb639b654222c6f67287228a98ba102b1d0b598eb3266c9 SHA512 f9d14b3d4eab049e9d7377008cf11678c1413e204baad898093282d1812d242a544bbb6606b4e9a83b37d5c17bcec3c115ffe402dda8b6a84d0d5186415645e3 WHIRLPOOL b6ab34dfb6eaf57d2440cc2edadc518785896b82b1c72b3cd2e3cf5296cb7db13e6705b11387412fd02db40a29380c04260dae84d774a4de1d5990ebb3ac385e |
30 |
DIST SQLAlchemy-1.1.13.tar.gz 5179952 SHA256 2a98ac87b30eaa2bee1f1044848b9590e476e7f93d033c6542e60b993a5cf898 SHA512 556222ff6b8218e7c3b892bf15ee24966aea366bf9d4e94db9762c56120aac3cde8eb174763a1edc1686744dd5c10f16791ac83111cb9d3da15f0ca5bdfad377 WHIRLPOOL a8a8ab2b18beb23164c26a42ef542fc8da3345657a67944d70885da632ef2bc1523144c5c8e280f74c767308f58db261cfc6f1a30ecbd2e53f4da1d046fb1ed1 |
31 |
DIST SQLAlchemy-1.1.14.tar.gz 5183519 SHA256 f1191e29e35b6fe1aef7175a09b1707ebb7bd08d0b17cb0feada76c49e5a2d1e SHA512 82b9a97553a27e8d366401b1b99ebc884ee3a95f7ccefc27dae50bc335e30a4c019906caf07238c2a91b7b89a4a5a5e1118defb11e6a2719b631ca0d1e0905a1 WHIRLPOOL 9649bb860a09829b45a8ffc2097491d6853337258c14f8a7496ed8d177add425da183dc69e0f7cb926ef9706a7ccee4158eb11969a0b00048155d10d6e97f880 |
32 |
+DIST SQLAlchemy-1.1.15.tar.gz 5197858 SHA256 8b79a5ed91cdcb5abe97b0045664c55c140aec09e5dd5c01303e23de5fe7a95a SHA512 a88ad65b8b0506f4a86cea1da183ecc9279cf8ce9b9b0f3eb2a512e46130d4bc58d38d86abd803029044d5fc80a6e0a80180094934720990caad209b0a98e115 WHIRLPOOL 414ae5543ff6e7650cf9c38f80928503d347b6bd6d92cc5c64f8da628caaac96fd4434fa8798cdd590ab8648f83dabd9b0c69139f1782493f05b96ad68eadc4c |
33 |
DIST SQLAlchemy-1.1.5.tar.gz 5134252 SHA256 68fb40049690e567ebda7b270176f5abf0d53d9fbd515fec4e43326f601119b6 SHA512 94cfa2a94c21a7f40a34f7bebacf74cafcd8cfc24cabd5a79e0ed28a7a6d0c4182c9ceb076b07e1ee5ca1bd01a38a25ca264bbfdf5344c40e0c59b59582eb043 WHIRLPOOL 2264a5f23e91854d9ad6dcdabc2622658e900be560e7f6f5461357850c445574a982ea81c9ae1b5fb35bea70c419b98f8f3ab6dd4ef1990b9ac647d7f7e80ef5 |
34 |
DIST SQLAlchemy-1.1.9.tar.gz 5164787 SHA256 b65cdc73cd348448ef0164f6c77d45a9f27ca575d3c5d71ccc33adf684bc6ef0 SHA512 95df08e6bca0013ddc7e61aa82d7d51eb133a9b34aa430a785bd8cec8eb79a2b6e1503c1757a71487b09e2f292b5916e6797efb2026d43175e34a52b68cf81c6 WHIRLPOOL c5ee51e72f4364d5c2c0bef0603212019d7f6d62f6cd153c88c31477f5363c37922e86e98821a17d0597ab1d360110629f53ec1257cc859204fcb7d05b3cb55e |
35 |
|
36 |
diff --git a/dev-python/sqlalchemy/sqlalchemy-0.9.10.ebuild b/dev-python/sqlalchemy/sqlalchemy-0.9.10.ebuild |
37 |
new file mode 100644 |
38 |
index 00000000000..425b8f1a16b |
39 |
--- /dev/null |
40 |
+++ b/dev-python/sqlalchemy/sqlalchemy-0.9.10.ebuild |
41 |
@@ -0,0 +1,87 @@ |
42 |
+# Copyright 1999-2017 Gentoo Foundation |
43 |
+# Distributed under the terms of the GNU General Public License v2 |
44 |
+ |
45 |
+EAPI=5 |
46 |
+PYTHON_COMPAT=( python{2_7,3_4} pypy ) |
47 |
+PYTHON_REQ_USE="sqlite?" |
48 |
+ |
49 |
+# known failures #574728 |
50 |
+RESTRICT="test" |
51 |
+ |
52 |
+inherit distutils-r1 flag-o-matic |
53 |
+ |
54 |
+MY_PN="SQLAlchemy" |
55 |
+MY_P="${MY_PN}-${PV/_}" |
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 |
+REQUIRED_USE="test? ( sqlite )" |
66 |
+ |
67 |
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
68 |
+ |
69 |
+DEPEND="${RDEPEND} |
70 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] |
71 |
+ $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy) |
72 |
+ )" |
73 |
+S="${WORKDIR}/${MY_P}" |
74 |
+ |
75 |
+python_prepare_all() { |
76 |
+ # Disable tests hardcoding function call counts specific to Python versions. |
77 |
+ rm -r test/aaa_profiling || die |
78 |
+ distutils-r1_python_prepare_all |
79 |
+} |
80 |
+ |
81 |
+python_compile() { |
82 |
+ if ! python_is_python3; then |
83 |
+ local CFLAGS=${CFLAGS} |
84 |
+ append-cflags -fno-strict-aliasing |
85 |
+ fi |
86 |
+ distutils-r1_python_compile |
87 |
+} |
88 |
+ |
89 |
+python_test() { |
90 |
+ # Create copies of necessary files in BUILD_DIR. |
91 |
+ # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/ |
92 |
+ cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die |
93 |
+ pushd "${BUILD_DIR}" > /dev/null |
94 |
+ if [[ "${EPYTHON}" == "python3.2" ]]; then |
95 |
+ 2to3 --no-diffs -w test |
96 |
+ fi |
97 |
+ # Recently upstream elected to make the testsuite also pytest capable |
98 |
+ # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}" |
99 |
+ py.test test || die "Testsuite failed under ${EPYTHON}" |
100 |
+ popd > /dev/null |
101 |
+} |
102 |
+ |
103 |
+python_install_all() { |
104 |
+ use doc && HTML_DOCS=( doc/. ) |
105 |
+ |
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.19.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.0.19.ebuild |
131 |
new file mode 100644 |
132 |
index 00000000000..1e0a6318de8 |
133 |
--- /dev/null |
134 |
+++ b/dev-python/sqlalchemy/sqlalchemy-1.0.19.ebuild |
135 |
@@ -0,0 +1,73 @@ |
136 |
+# Copyright 1999-2017 Gentoo Foundation |
137 |
+# Distributed under the terms of the GNU General Public License v2 |
138 |
+ |
139 |
+EAPI=6 |
140 |
+ |
141 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) |
142 |
+PYTHON_REQ_USE="sqlite?" |
143 |
+ |
144 |
+inherit distutils-r1 eutils flag-o-matic |
145 |
+ |
146 |
+MY_PN="SQLAlchemy" |
147 |
+MY_P="${MY_PN}-${PV/_beta/b}" |
148 |
+ |
149 |
+DESCRIPTION="Python SQL toolkit and Object Relational Mapper" |
150 |
+HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.python.org/pypi/SQLAlchemy" |
151 |
+SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" |
152 |
+ |
153 |
+LICENSE="MIT" |
154 |
+SLOT="0" |
155 |
+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" |
156 |
+IUSE="doc examples +sqlite test" |
157 |
+ |
158 |
+REQUIRED_USE="test? ( sqlite )" |
159 |
+ |
160 |
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
161 |
+DEPEND="${RDEPEND} |
162 |
+ test? ( |
163 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
164 |
+ $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy) |
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 |
+ # 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 --verbose 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 && dodoc -r examples |
200 |
+ |
201 |
+ distutils-r1_python_install_all |
202 |
+} |
203 |
+ |
204 |
+pkg_postinst() { |
205 |
+ optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python |
206 |
+ optfeature "mssql support" dev-python/pymssql |
207 |
+ optfeature "postgresql support" dev-python/psycopg:2 |
208 |
+} |
209 |
|
210 |
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.1.15.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.1.15.ebuild |
211 |
new file mode 100644 |
212 |
index 00000000000..3bce72a347f |
213 |
--- /dev/null |
214 |
+++ b/dev-python/sqlalchemy/sqlalchemy-1.1.15.ebuild |
215 |
@@ -0,0 +1,73 @@ |
216 |
+# Copyright 1999-2017 Gentoo Foundation |
217 |
+# Distributed under the terms of the GNU General Public License v2 |
218 |
+ |
219 |
+EAPI=6 |
220 |
+ |
221 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) |
222 |
+PYTHON_REQ_USE="sqlite?" |
223 |
+ |
224 |
+inherit distutils-r1 eutils flag-o-matic |
225 |
+ |
226 |
+MY_PN="SQLAlchemy" |
227 |
+MY_P="${MY_PN}-${PV/_beta/b}" |
228 |
+ |
229 |
+DESCRIPTION="Python SQL toolkit and Object Relational Mapper" |
230 |
+HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.python.org/pypi/SQLAlchemy" |
231 |
+SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" |
232 |
+ |
233 |
+LICENSE="MIT" |
234 |
+SLOT="0" |
235 |
+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" |
236 |
+IUSE="doc examples +sqlite test" |
237 |
+ |
238 |
+REQUIRED_USE="test? ( sqlite )" |
239 |
+ |
240 |
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
241 |
+DEPEND="${RDEPEND} |
242 |
+ test? ( |
243 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
244 |
+ $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy) |
245 |
+ )" |
246 |
+ |
247 |
+S="${WORKDIR}/${MY_P}" |
248 |
+ |
249 |
+python_prepare_all() { |
250 |
+ # Disable tests hardcoding function call counts specific to Python versions. |
251 |
+ rm -r test/aaa_profiling || die |
252 |
+ distutils-r1_python_prepare_all |
253 |
+} |
254 |
+ |
255 |
+python_compile() { |
256 |
+ if ! python_is_python3; then |
257 |
+ local CFLAGS=${CFLAGS} |
258 |
+ append-cflags -fno-strict-aliasing |
259 |
+ fi |
260 |
+ distutils-r1_python_compile |
261 |
+} |
262 |
+ |
263 |
+python_test() { |
264 |
+ # Create copies of necessary files in BUILD_DIR. |
265 |
+ # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/ |
266 |
+ cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die |
267 |
+ pushd "${BUILD_DIR}" > /dev/null || die |
268 |
+ if [[ "${EPYTHON}" == "python3.2" ]]; then |
269 |
+ 2to3 --no-diffs -w test || die |
270 |
+ fi |
271 |
+ # Recently upstream elected to make the testsuite also pytest capable |
272 |
+ # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}" |
273 |
+ py.test --verbose test || die "Testsuite failed under ${EPYTHON}" |
274 |
+ popd > /dev/null |
275 |
+} |
276 |
+ |
277 |
+python_install_all() { |
278 |
+ use doc && HTML_DOCS=( doc/. ) |
279 |
+ use examples && dodoc -r examples |
280 |
+ |
281 |
+ distutils-r1_python_install_all |
282 |
+} |
283 |
+ |
284 |
+pkg_postinst() { |
285 |
+ optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python |
286 |
+ optfeature "mssql support" dev-python/pymssql |
287 |
+ optfeature "postgresql support" dev-python/psycopg:2 |
288 |
+} |