1 |
commit: 66dc64966df17ce2f217e047687dc674118116e2 |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 29 18:05:07 2018 +0000 |
4 |
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 29 18:05:07 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66dc6496 |
7 |
|
8 |
dev-python/sqlalchemy: Bump |
9 |
|
10 |
Package-Manager: Portage-2.3.31, Repoman-2.3.9 |
11 |
|
12 |
dev-python/sqlalchemy/Manifest | 2 + |
13 |
dev-python/sqlalchemy/sqlalchemy-1.1.18.ebuild | 74 +++++++++++++++++++++++++ |
14 |
dev-python/sqlalchemy/sqlalchemy-1.2.7.ebuild | 77 ++++++++++++++++++++++++++ |
15 |
3 files changed, 153 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest |
18 |
index 6bba5aa1c32..461ef1e525b 100644 |
19 |
--- a/dev-python/sqlalchemy/Manifest |
20 |
+++ b/dev-python/sqlalchemy/Manifest |
21 |
@@ -4,6 +4,8 @@ DIST SQLAlchemy-1.0.17.tar.gz 4787165 BLAKE2B b00ead35149cfd7eab3476e29aa2b2b79e |
22 |
DIST SQLAlchemy-1.0.19.tar.gz 4788659 BLAKE2B 813bc2148fd080762ea7748d9878500afac4148dc186a34172321fd97333eb6c8632ae3b05b2e8b187a3660ae34a426062ade56297b693d367eeea2c3966b249 SHA512 57d51fecb40e349b05da027bf39375a81c1d98e6d47f4dd076b9c7e2e3c8b6bdf8317e7b3e88c015cbd0d7858324ba0499a21a8ac39568c9ec95326e02af97bb |
23 |
DIST SQLAlchemy-1.1.12.tar.gz 5178158 BLAKE2B 92455943f3e5ce8c87fc9dd21da7c5ea54a9292fe2a3a319a8a9c8d54cd103193935d567326b8632d2fcd94664ef91cd1a3d621008bec684ba35ff73691ff01e SHA512 f9d14b3d4eab049e9d7377008cf11678c1413e204baad898093282d1812d242a544bbb6606b4e9a83b37d5c17bcec3c115ffe402dda8b6a84d0d5186415645e3 |
24 |
DIST SQLAlchemy-1.1.17.tar.gz 5285761 BLAKE2B 58367c05a8e87aaa0c497455abfbb6c286ebab5f935d3d123d17eb7860a90ec414f825ebab41f386e3c229752a796516aa6ef5601d35a916a561ee98e0bc825c SHA512 df8a8fc7523dab64f27a8a27398c2b72e6b93eaefc4d46247596772cfd6f65b7c07ae9b3f57d21297b287b52958c0f5a7ce61fd4eff9979b73338fbb4e438324 |
25 |
+DIST SQLAlchemy-1.1.18.tar.gz 5286357 BLAKE2B e414b48cb2756d32240d401aa37dbe0725da2325f8e8b1d553e84f354747ac1885bdda52b9dab8273bdcc2bdd92ee00fc5813578efcc2132c7d5be473a222a42 SHA512 cdc14e289f1fb65aec09d738aa7409aeac6499984167c45feb2dd829ca7897026d3032b3a28c8203a9a3573d04a8995c8300e4fee3c491fe41b1d6fd1e92dd1a |
26 |
DIST SQLAlchemy-1.2.0.tar.gz 5451303 BLAKE2B 273edad173583d47d6ebdb4d3efddddb6e8e6c1e333667d71a1befb0aabc7ff8231f926c18d5463e1d4b815d2b2f39b7c9bca03ab3bf0f91f039b7ea55071e28 SHA512 0d9e57147b022955ad20da5b280e8734ba4be9585301b6e8fb9b96797d87d8707f95cb58afbaf310ec8033defffc4d794bec1d5089ca016b8dd9497e292881e3 |
27 |
DIST SQLAlchemy-1.2.2.tar.gz 5460157 BLAKE2B 60c5066a2993d9878f5d3abec1a6a9a4d0a3dc5878df71baee895e5278b95696b775e16000da0ba4c2c358b0a90e70faff0b5733a4f00255b0ec0d605cdd07c6 SHA512 060ce803b8b621d51aa69100c598c424c36f051bdce1e2df3f4d837815f91cb55c4e089db5375b01832ec28bf42332311009c51c1b5e7aae92aea001ee880db5 |
28 |
DIST SQLAlchemy-1.2.4.tar.gz 5555033 BLAKE2B 5301d365cf6462b8a61deb3f01dcf86897c0070fe80f570b91f94a02e1830088b558004d915d17589dfaea1e5fd382fdf88c44020f3b3b94974db773b5ed2db6 SHA512 a12d17f222cc5fc4360c439e19cae67a013af07e2c22b1f55511c4862d718578249e6bf83151eefe35957e530dbf18a565b08cded3a5e45dd21103201f4d24e8 |
29 |
+DIST SQLAlchemy-1.2.7.tar.gz 5571719 BLAKE2B 995c977cd5bf22b464e5316d579a3bd5b15f2c2600230c729381f3dbecd1dd6a728ee08d5e8afa8e212bdc7e5272d8723706daed1db0ec353e3b56f5b9c614d7 SHA512 c592916dae177bcda7b3d7111af4269815d555273b548e35b58caaf518f7a5dc2256e5b98601cbbf0bbc95405fadd89f8e6b977e0d8104ce4e216d5c6924eda2 |
30 |
|
31 |
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.1.18.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.1.18.ebuild |
32 |
new file mode 100644 |
33 |
index 00000000000..ef83de16210 |
34 |
--- /dev/null |
35 |
+++ b/dev-python/sqlalchemy/sqlalchemy-1.1.18.ebuild |
36 |
@@ -0,0 +1,74 @@ |
37 |
+# Copyright 1999-2018 Gentoo Foundation |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI=6 |
41 |
+ |
42 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} 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.org/project/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 ~arm64 ~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/pluggy-0.7[${PYTHON_USEDEP}] |
65 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
66 |
+ $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy) |
67 |
+ )" |
68 |
+ |
69 |
+S="${WORKDIR}/${MY_P}" |
70 |
+ |
71 |
+python_prepare_all() { |
72 |
+ # Disable tests hardcoding function call counts specific to Python versions. |
73 |
+ rm -r test/aaa_profiling || die |
74 |
+ distutils-r1_python_prepare_all |
75 |
+} |
76 |
+ |
77 |
+python_compile() { |
78 |
+ if ! python_is_python3; then |
79 |
+ local CFLAGS=${CFLAGS} |
80 |
+ append-cflags -fno-strict-aliasing |
81 |
+ fi |
82 |
+ distutils-r1_python_compile |
83 |
+} |
84 |
+ |
85 |
+python_test() { |
86 |
+ # Create copies of necessary files in BUILD_DIR. |
87 |
+ # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/ |
88 |
+ cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die |
89 |
+ pushd "${BUILD_DIR}" > /dev/null || die |
90 |
+ if [[ "${EPYTHON}" == "python3.2" ]]; then |
91 |
+ 2to3 --no-diffs -w test || die |
92 |
+ fi |
93 |
+ # Recently upstream elected to make the testsuite also pytest capable |
94 |
+ # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}" |
95 |
+ py.test --verbose test || die "Testsuite failed under ${EPYTHON}" |
96 |
+ popd > /dev/null |
97 |
+} |
98 |
+ |
99 |
+python_install_all() { |
100 |
+ use doc && HTML_DOCS=( doc/. ) |
101 |
+ use examples && dodoc -r examples |
102 |
+ |
103 |
+ distutils-r1_python_install_all |
104 |
+} |
105 |
+ |
106 |
+pkg_postinst() { |
107 |
+ optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python |
108 |
+ optfeature "mssql support" dev-python/pymssql |
109 |
+ optfeature "postgresql support" dev-python/psycopg:2 |
110 |
+} |
111 |
|
112 |
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.2.7.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.2.7.ebuild |
113 |
new file mode 100644 |
114 |
index 00000000000..fe9d6c4401d |
115 |
--- /dev/null |
116 |
+++ b/dev-python/sqlalchemy/sqlalchemy-1.2.7.ebuild |
117 |
@@ -0,0 +1,77 @@ |
118 |
+# Copyright 1999-2018 Gentoo Foundation |
119 |
+# Distributed under the terms of the GNU General Public License v2 |
120 |
+ |
121 |
+EAPI=6 |
122 |
+ |
123 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) |
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.org/project/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 ~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" |
138 |
+IUSE="doc examples +sqlite test" |
139 |
+ |
140 |
+REQUIRED_USE="test? ( sqlite )" |
141 |
+ |
142 |
+RDEPEND=" |
143 |
+ dev-python/setuptools[${PYTHON_USEDEP}]" |
144 |
+ |
145 |
+DEPEND=" |
146 |
+ ${RDEPEND} |
147 |
+ test? ( |
148 |
+ <dev-python/pluggy-0.7s[${PYTHON_USEDEP}] |
149 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
150 |
+ $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy) |
151 |
+ )" |
152 |
+ |
153 |
+S="${WORKDIR}/${MY_P}" |
154 |
+ |
155 |
+python_prepare_all() { |
156 |
+ # Disable tests hardcoding function call counts specific to Python versions. |
157 |
+ rm -r test/aaa_profiling || die |
158 |
+ distutils-r1_python_prepare_all |
159 |
+} |
160 |
+ |
161 |
+python_compile() { |
162 |
+ if ! python_is_python3; then |
163 |
+ local CFLAGS=${CFLAGS} |
164 |
+ append-cflags -fno-strict-aliasing |
165 |
+ fi |
166 |
+ distutils-r1_python_compile |
167 |
+} |
168 |
+ |
169 |
+python_test() { |
170 |
+ # Create copies of necessary files in BUILD_DIR. |
171 |
+ # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/ |
172 |
+ cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die |
173 |
+ pushd "${BUILD_DIR}" > /dev/null || die |
174 |
+ if [[ "${EPYTHON}" == "python3.2" ]]; then |
175 |
+ 2to3 --no-diffs -w test || die |
176 |
+ fi |
177 |
+ # Recently upstream elected to make the testsuite also pytest capable |
178 |
+ # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}" |
179 |
+ py.test --verbose test || die "Testsuite failed under ${EPYTHON}" |
180 |
+ popd > /dev/null |
181 |
+} |
182 |
+ |
183 |
+python_install_all() { |
184 |
+ use doc && HTML_DOCS=( doc/. ) |
185 |
+ use examples && dodoc -r examples |
186 |
+ |
187 |
+ distutils-r1_python_install_all |
188 |
+} |
189 |
+ |
190 |
+pkg_postinst() { |
191 |
+ optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python |
192 |
+ optfeature "mssql support" dev-python/pymssql |
193 |
+ optfeature "postgresql support" dev-python/psycopg:2 |
194 |
+} |