1 |
commit: daa027ef1e0fad380a290c5bcae6c864e50ccda3 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 20 16:13:26 2020 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 20 16:13:38 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daa027ef |
7 |
|
8 |
dev-python/alembic: 1.4.2 bump |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
dev-python/alembic/Manifest | 1 + |
14 |
dev-python/alembic/alembic-1.4.2.ebuild | 45 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 46 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest |
18 |
index 3ba7c873bed..00fa6f5c439 100644 |
19 |
--- a/dev-python/alembic/Manifest |
20 |
+++ b/dev-python/alembic/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST alembic-1.0.8.tar.gz 1030713 BLAKE2B 67cb80ed064e99f27e41a7ae2e42231794c177f96b95e2c3409a0ebc26e5323665147b2721efcc4a4d8ee2a71ada76408187f39ff5ad3745de64ed31f87d2895 SHA512 7a2ab63c6a823a32f45cd8ff5b763671806a8fa3d2b31e09c2051bdf92784fdafea1e3be217d84885d92eaf550e223ef77fd6fd387d35a5882d60ebcf042d835 |
23 |
+DIST alembic-1.4.2.tar.gz 1092045 BLAKE2B 5f4001a756aacbb4db509669bc0d4d7c59c38e2983c433283243efa97bf28a22e38bcfd28a4bc72573e8ab78d6590e78f4e12a5b9dd08b60cf5a84520b955056 SHA512 82bdfe442c19033aa2b802ec49edd13ed265c00a2b5a048490a83ffa8e53587c56a90b64d554e746a9189923419c528482cb7a7c950c210e0de47b32fa7c270e |
24 |
|
25 |
diff --git a/dev-python/alembic/alembic-1.4.2.ebuild b/dev-python/alembic/alembic-1.4.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..500a91574ec |
28 |
--- /dev/null |
29 |
+++ b/dev-python/alembic/alembic-1.4.2.ebuild |
30 |
@@ -0,0 +1,45 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="database migrations tool, written by the author of SQLAlchemy" |
40 |
+HOMEPAGE="https://bitbucket.org/zzzeek/alembic" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
46 |
+IUSE="test doc" |
47 |
+RESTRICT="!test? ( test )" |
48 |
+ |
49 |
+RDEPEND=">=dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] |
50 |
+ dev-python/mako[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/python-editor-0.3[${PYTHON_USEDEP}] |
52 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}]" |
53 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
54 |
+ test? ( ${RDEPEND} |
55 |
+ dev-python/nose[${PYTHON_USEDEP}] |
56 |
+ dev-python/mock[${PYTHON_USEDEP}] )" |
57 |
+# For test phase |
58 |
+DISTUTILS_IN_SOURCE_BUILD=1 |
59 |
+ |
60 |
+python_prepare_all() { |
61 |
+ # suite passes all if run from source. The residual fail & error are quite erroneous |
62 |
+ rm tests/test_script_consumption.py || die |
63 |
+ |
64 |
+ distutils-r1_python_prepare_all |
65 |
+} |
66 |
+ |
67 |
+python_test() { |
68 |
+ ${EPYTHON} run_tests.py || die "Testing failed with ${EPYTHON}" |
69 |
+} |
70 |
+ |
71 |
+python_install_all() { |
72 |
+ use doc && local HTML_DOCS=( docs/. ) |
73 |
+ |
74 |
+ distutils-r1_python_install_all |
75 |
+} |