1 |
commit: 61cc70088154e0a8907154dfd81c2e634f528476 |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 24 09:41:52 2018 +0000 |
4 |
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 24 15:17:42 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61cc7008 |
7 |
|
8 |
dev-python/sqlalchemy: Bump |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
dev-python/sqlalchemy/Manifest | 2 + |
13 |
dev-python/sqlalchemy/sqlalchemy-1.1.17.ebuild | 74 +++++++++++++++++++++++++ |
14 |
dev-python/sqlalchemy/sqlalchemy-1.2.4.ebuild | 77 ++++++++++++++++++++++++++ |
15 |
3 files changed, 153 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest |
18 |
index d3bb7f60352..6bba5aa1c32 100644 |
19 |
--- a/dev-python/sqlalchemy/Manifest |
20 |
+++ b/dev-python/sqlalchemy/Manifest |
21 |
@@ -3,5 +3,7 @@ DIST SQLAlchemy-0.9.8.tar.gz 4080098 BLAKE2B c21837cdcd92b844ce238456fa275c95cd7 |
22 |
DIST SQLAlchemy-1.0.17.tar.gz 4787165 BLAKE2B b00ead35149cfd7eab3476e29aa2b2b79eafeac1ef1f8551b81b84ee2a5f39cce2a6574b68283361b9264562e4a56d01ee694e455e4be9177d19e5720d092879 SHA512 18fc00bd80d136a65d5ad6929dac97a67514e001baaeaa57e95b31243cfe11aab9ab62ba8f7e68a5e833fbf024507c4908f99277445c8c3c9a3314981567978c |
23 |
DIST SQLAlchemy-1.0.19.tar.gz 4788659 BLAKE2B 813bc2148fd080762ea7748d9878500afac4148dc186a34172321fd97333eb6c8632ae3b05b2e8b187a3660ae34a426062ade56297b693d367eeea2c3966b249 SHA512 57d51fecb40e349b05da027bf39375a81c1d98e6d47f4dd076b9c7e2e3c8b6bdf8317e7b3e88c015cbd0d7858324ba0499a21a8ac39568c9ec95326e02af97bb |
24 |
DIST SQLAlchemy-1.1.12.tar.gz 5178158 BLAKE2B 92455943f3e5ce8c87fc9dd21da7c5ea54a9292fe2a3a319a8a9c8d54cd103193935d567326b8632d2fcd94664ef91cd1a3d621008bec684ba35ff73691ff01e SHA512 f9d14b3d4eab049e9d7377008cf11678c1413e204baad898093282d1812d242a544bbb6606b4e9a83b37d5c17bcec3c115ffe402dda8b6a84d0d5186415645e3 |
25 |
+DIST SQLAlchemy-1.1.17.tar.gz 5285761 BLAKE2B 58367c05a8e87aaa0c497455abfbb6c286ebab5f935d3d123d17eb7860a90ec414f825ebab41f386e3c229752a796516aa6ef5601d35a916a561ee98e0bc825c SHA512 df8a8fc7523dab64f27a8a27398c2b72e6b93eaefc4d46247596772cfd6f65b7c07ae9b3f57d21297b287b52958c0f5a7ce61fd4eff9979b73338fbb4e438324 |
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 |
|
30 |
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.1.17.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.1.17.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..7804d711293 |
33 |
--- /dev/null |
34 |
+++ b/dev-python/sqlalchemy/sqlalchemy-1.1.17.ebuild |
35 |
@@ -0,0 +1,74 @@ |
36 |
+# Copyright 1999-2018 Gentoo Foundation |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=6 |
40 |
+ |
41 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) |
42 |
+PYTHON_REQ_USE="sqlite?" |
43 |
+ |
44 |
+inherit distutils-r1 eutils flag-o-matic |
45 |
+ |
46 |
+MY_PN="SQLAlchemy" |
47 |
+MY_P="${MY_PN}-${PV/_beta/b}" |
48 |
+ |
49 |
+DESCRIPTION="Python SQL toolkit and Object Relational Mapper" |
50 |
+HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.python.org/pypi/SQLAlchemy" |
51 |
+SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" |
52 |
+ |
53 |
+LICENSE="MIT" |
54 |
+SLOT="0" |
55 |
+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" |
56 |
+IUSE="doc examples +sqlite test" |
57 |
+ |
58 |
+REQUIRED_USE="test? ( sqlite )" |
59 |
+ |
60 |
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
61 |
+DEPEND="${RDEPEND} |
62 |
+ test? ( |
63 |
+ <dev-python/pluggy-0.7[${PYTHON_USEDEP}] |
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.2.4.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.2.4.ebuild |
112 |
new file mode 100644 |
113 |
index 00000000000..c4058b24870 |
114 |
--- /dev/null |
115 |
+++ b/dev-python/sqlalchemy/sqlalchemy-1.2.4.ebuild |
116 |
@@ -0,0 +1,77 @@ |
117 |
+# Copyright 1999-2018 Gentoo Foundation |
118 |
+# Distributed under the terms of the GNU General Public License v2 |
119 |
+ |
120 |
+EAPI=6 |
121 |
+ |
122 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) |
123 |
+PYTHON_REQ_USE="sqlite?" |
124 |
+ |
125 |
+inherit distutils-r1 eutils flag-o-matic |
126 |
+ |
127 |
+MY_PN="SQLAlchemy" |
128 |
+MY_P="${MY_PN}-${PV/_beta/b}" |
129 |
+ |
130 |
+DESCRIPTION="Python SQL toolkit and Object Relational Mapper" |
131 |
+HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.python.org/pypi/SQLAlchemy" |
132 |
+SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" |
133 |
+ |
134 |
+LICENSE="MIT" |
135 |
+SLOT="0" |
136 |
+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 ~amd64-fbsd" |
137 |
+IUSE="doc examples +sqlite test" |
138 |
+ |
139 |
+REQUIRED_USE="test? ( sqlite )" |
140 |
+ |
141 |
+RDEPEND=" |
142 |
+ dev-python/setuptools[${PYTHON_USEDEP}]" |
143 |
+ |
144 |
+DEPEND=" |
145 |
+ ${RDEPEND} |
146 |
+ test? ( |
147 |
+ <dev-python/pluggy-0.7s[${PYTHON_USEDEP}] |
148 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
149 |
+ $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy) |
150 |
+ )" |
151 |
+ |
152 |
+S="${WORKDIR}/${MY_P}" |
153 |
+ |
154 |
+python_prepare_all() { |
155 |
+ # Disable tests hardcoding function call counts specific to Python versions. |
156 |
+ rm -r test/aaa_profiling || die |
157 |
+ distutils-r1_python_prepare_all |
158 |
+} |
159 |
+ |
160 |
+python_compile() { |
161 |
+ if ! python_is_python3; then |
162 |
+ local CFLAGS=${CFLAGS} |
163 |
+ append-cflags -fno-strict-aliasing |
164 |
+ fi |
165 |
+ distutils-r1_python_compile |
166 |
+} |
167 |
+ |
168 |
+python_test() { |
169 |
+ # Create copies of necessary files in BUILD_DIR. |
170 |
+ # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/ |
171 |
+ cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die |
172 |
+ pushd "${BUILD_DIR}" > /dev/null || die |
173 |
+ if [[ "${EPYTHON}" == "python3.2" ]]; then |
174 |
+ 2to3 --no-diffs -w test || die |
175 |
+ fi |
176 |
+ # Recently upstream elected to make the testsuite also pytest capable |
177 |
+ # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}" |
178 |
+ py.test --verbose test || die "Testsuite failed under ${EPYTHON}" |
179 |
+ popd > /dev/null |
180 |
+} |
181 |
+ |
182 |
+python_install_all() { |
183 |
+ use doc && HTML_DOCS=( doc/. ) |
184 |
+ use examples && dodoc -r examples |
185 |
+ |
186 |
+ distutils-r1_python_install_all |
187 |
+} |
188 |
+ |
189 |
+pkg_postinst() { |
190 |
+ optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python |
191 |
+ optfeature "mssql support" dev-python/pymssql |
192 |
+ optfeature "postgresql support" dev-python/psycopg:2 |
193 |
+} |