1 |
commit: 74d676f319dab3f9e24d291d20906ca90b83196a |
2 |
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 29 12:12:54 2019 +0000 |
4 |
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 29 12:13:49 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74d676f3 |
7 |
|
8 |
dev-python/sqlalchemy: bump to 1.3.3 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/678480 |
11 |
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
13 |
|
14 |
dev-python/sqlalchemy/Manifest | 1 + |
15 |
dev-python/sqlalchemy/sqlalchemy-1.3.3.ebuild | 63 +++++++++++++++++++++++++++ |
16 |
2 files changed, 64 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest |
19 |
index 20be6cd6757..2b03357f62c 100644 |
20 |
--- a/dev-python/sqlalchemy/Manifest |
21 |
+++ b/dev-python/sqlalchemy/Manifest |
22 |
@@ -11,3 +11,4 @@ DIST SQLAlchemy-1.2.2.tar.gz 5460157 BLAKE2B 60c5066a2993d9878f5d3abec1a6a9a4d0a |
23 |
DIST SQLAlchemy-1.2.4.tar.gz 5555033 BLAKE2B 5301d365cf6462b8a61deb3f01dcf86897c0070fe80f570b91f94a02e1830088b558004d915d17589dfaea1e5fd382fdf88c44020f3b3b94974db773b5ed2db6 SHA512 a12d17f222cc5fc4360c439e19cae67a013af07e2c22b1f55511c4862d718578249e6bf83151eefe35957e530dbf18a565b08cded3a5e45dd21103201f4d24e8 |
24 |
DIST SQLAlchemy-1.2.7.tar.gz 5571719 BLAKE2B 995c977cd5bf22b464e5316d579a3bd5b15f2c2600230c729381f3dbecd1dd6a728ee08d5e8afa8e212bdc7e5272d8723706daed1db0ec353e3b56f5b9c614d7 SHA512 c592916dae177bcda7b3d7111af4269815d555273b548e35b58caaf518f7a5dc2256e5b98601cbbf0bbc95405fadd89f8e6b977e0d8104ce4e216d5c6924eda2 |
25 |
DIST SQLAlchemy-1.2.9.tar.gz 5606090 BLAKE2B 7aade70c37a6e9afb1e459c88ea0d1ef927541d3ff8c64a634f81ba871fb9d0d14841e1c7a1ed28c12cb7a4d84d6ede6bf132f54d47019967fec8acd55757c33 SHA512 88ef57b9e456d7047bd7b5fd9607c87a473a9917d662960b0614fbfc40891002309eda55e66e42a6a280c6d6e7e8e6921349901a19c1caaedace2d532b32af22 |
26 |
+DIST SQLAlchemy-1.3.3.tar.gz 5864870 BLAKE2B d109e0daf0afdeaba946c4b18d14428c108ff15041876c9a35cf8e5783f9b9a1896e69760b249c53af35e4575e66f4b59c855b4a244d7f6569fadfb52c5a400d SHA512 f8e0f580ba5cc7eaed985e5a3af8cdcc2dddddcd64bdf02b247242eeab542b5666a93d46166b5edb4b28af3b89df44bccfa92d5bf94cc0e173dbcd369ae6487c |
27 |
|
28 |
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.3.3.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.3.3.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..6f47c9c20bb |
31 |
--- /dev/null |
32 |
+++ b/dev-python/sqlalchemy/sqlalchemy-1.3.3.ebuild |
33 |
@@ -0,0 +1,63 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} ) |
40 |
+PYTHON_REQ_USE="sqlite?" |
41 |
+ |
42 |
+inherit distutils-r1 eutils flag-o-matic |
43 |
+ |
44 |
+MY_PN="SQLAlchemy" |
45 |
+MY_P="${MY_PN}-${PV/_beta/b}" |
46 |
+ |
47 |
+DESCRIPTION="Python SQL toolkit and Object Relational Mapper" |
48 |
+HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/" |
49 |
+SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" |
50 |
+ |
51 |
+LICENSE="MIT" |
52 |
+SLOT="0" |
53 |
+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" |
54 |
+IUSE="doc examples +sqlite test" |
55 |
+ |
56 |
+REQUIRED_USE="test? ( sqlite )" |
57 |
+ |
58 |
+DEPEND=" |
59 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
60 |
+ test? ( |
61 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
62 |
+ dev-python/mock[${PYTHON_USEDEP}] |
63 |
+ )" |
64 |
+ |
65 |
+S="${WORKDIR}/${MY_P}" |
66 |
+ |
67 |
+python_prepare_all() { |
68 |
+ # Disable tests hardcoding function call counts specific to Python versions. |
69 |
+ rm -r test/aaa_profiling || die |
70 |
+ distutils-r1_python_prepare_all |
71 |
+} |
72 |
+ |
73 |
+python_compile() { |
74 |
+ if ! python_is_python3; then |
75 |
+ local CFLAGS=${CFLAGS} |
76 |
+ append-cflags -fno-strict-aliasing |
77 |
+ fi |
78 |
+ distutils-r1_python_compile |
79 |
+} |
80 |
+ |
81 |
+python_test() { |
82 |
+ pytest -vv test || die "Testsuite failed under ${EPYTHON}" |
83 |
+} |
84 |
+ |
85 |
+python_install_all() { |
86 |
+ use doc && HTML_DOCS=( doc/. ) |
87 |
+ use examples && dodoc -r examples |
88 |
+ |
89 |
+ distutils-r1_python_install_all |
90 |
+} |
91 |
+ |
92 |
+pkg_postinst() { |
93 |
+ optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python |
94 |
+ optfeature "mssql support" dev-python/pymssql |
95 |
+ optfeature "postgresql support" dev-python/psycopg:2 |
96 |
+} |