1 |
commit: f35e214c05d9c7578532b555121a246bcfbcab0c |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 11 19:06:58 2018 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 11 19:13:34 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f35e214c |
7 |
|
8 |
dev-db/mycli: Version bump for 1.17.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
11 |
|
12 |
dev-db/mycli/Manifest | 1 + |
13 |
.../{mycli-9999.ebuild => mycli-1.17.0.ebuild} | 28 +++++++++++++++------- |
14 |
dev-db/mycli/mycli-9999.ebuild | 21 ++++++++++++---- |
15 |
3 files changed, 38 insertions(+), 12 deletions(-) |
16 |
|
17 |
diff --git a/dev-db/mycli/Manifest b/dev-db/mycli/Manifest |
18 |
index e0a8a114e3a..df3e4ce918c 100644 |
19 |
--- a/dev-db/mycli/Manifest |
20 |
+++ b/dev-db/mycli/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST mycli-1.10.0.tar.gz 272722 BLAKE2B f2a4d7b76684718167fb6bb4f90a96a31b669cf1f35c266ed544d00b4fe4f9b0cb2c6d81e161d41f1df785e2dcf79056a675857f8400d8cd7811199ea00064b7 SHA512 d66866fd23ee2be3f1bb47d1414b8151c2b50e8844a2553e139f753ae55dd010d1c23aae7c5863891ea4f347b124145405dc7894efc27fc8fcb74127c14261f8 |
23 |
DIST mycli-1.15.0.tar.gz 275065 BLAKE2B 47ae049a7a669d18fc2bb467dd4ee6d1bbe23a86115db6d1965c48c93a2a1be9bb8b4427b377f8ce935b957c854c1c4bf4a87fdea07f27329a13fd6a28b59559 SHA512 7a7d98220c4a679340dbf3c3c9fb3eaab7698f7abbe3e62835a03df10b59c79f0dfd916e9f7b39f12215063849ecadf9d08d086d14b00666b67bac1d092609f2 |
24 |
+DIST mycli-1.17.0.tar.gz 276786 BLAKE2B 203c54b58a7876fd0bab5a05880621263e5cdf786b13207f04dfaf38866f5a7250e8fe8e1c5870aa9d3f562cf9963f15cc433e3ddd2232531f4c823e46778ac7 SHA512 bd64f44ed7b16a1e9c684da52fa60436876b26333e2705e5226c4fab3a979c6680314447333d01e4fdb274d33a7f093cbb2f732e5b4e04c5330066f9918a35ba |
25 |
DIST mycli-1.7.1.tar.gz 266597 BLAKE2B 8fc6006dbb85a7053d67040d492ba12619507160efd240fdb89125794a01fbb439756bdeb420c306a883db925f6ec7ae0c36657c4c4b2197cfb702fc77babcb1 SHA512 5c61fe67f3205dd1123ed8d38441cda0574db04dd46b7e075d216f7aa8cd856a2f06a1b4bf7dbe9fd0b07f3e91c151fe3f885d10d3db488b6c306e0ce9ac9e7c |
26 |
|
27 |
diff --git a/dev-db/mycli/mycli-9999.ebuild b/dev-db/mycli/mycli-1.17.0.ebuild |
28 |
similarity index 53% |
29 |
copy from dev-db/mycli/mycli-9999.ebuild |
30 |
copy to dev-db/mycli/mycli-1.17.0.ebuild |
31 |
index f3aa95b7cd2..da3bb44df49 100644 |
32 |
--- a/dev-db/mycli/mycli-9999.ebuild |
33 |
+++ b/dev-db/mycli/mycli-1.17.0.ebuild |
34 |
@@ -1,29 +1,41 @@ |
35 |
# Copyright 1999-2018 Gentoo Foundation |
36 |
# Distributed under the terms of the GNU General Public License v2 |
37 |
|
38 |
-EAPI=6 |
39 |
+EAPI=7 |
40 |
|
41 |
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
42 |
-EGIT_REPO_URI="https://github.com/dbcli/mycli.git" |
43 |
-inherit distutils-r1 git-r3 |
44 |
+inherit distutils-r1 |
45 |
|
46 |
DESCRIPTION="CLI for MySQL Database with auto-completion and syntax highlighting" |
47 |
|
48 |
HOMEPAGE="https://www.mycli.net" |
49 |
-SRC_URI="" |
50 |
+SRC_URI="https://github.com/dbcli/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
51 |
LICENSE="BSD MIT" |
52 |
SLOT="0" |
53 |
-KEYWORDS="" |
54 |
-IUSE="" |
55 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
56 |
+KEYWORDS="~amd64 ~x86" |
57 |
+IUSE="test" |
58 |
RDEPEND=" |
59 |
+ >=dev-python/cli_helpers-1.0.1[${PYTHON_USEDEP}] |
60 |
>=dev-python/click-4.1[${PYTHON_USEDEP}] |
61 |
>=dev-python/configobj-5.0.6[${PYTHON_USEDEP}] |
62 |
>=dev-python/cryptography-1.0.0[${PYTHON_USEDEP}] |
63 |
>=dev-python/prompt_toolkit-1.0.10[${PYTHON_USEDEP}] |
64 |
!>=dev-python/prompt_toolkit-1.1.0 |
65 |
>=dev-python/pygments-2.0[${PYTHON_USEDEP}] |
66 |
- >=dev-python/pymysql-0.6.7[${PYTHON_USEDEP}] |
67 |
+ >=dev-python/pymysql-0.9.2[${PYTHON_USEDEP}] |
68 |
>=dev-python/python-sqlparse-0.2.2[${PYTHON_USEDEP}] |
69 |
!>=dev-python/python-sqlparse-0.3.0 |
70 |
" |
71 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
72 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] ${RDEPEND} )" |
73 |
+ |
74 |
+python_test() { |
75 |
+ pytest --capture=sys \ |
76 |
+ --showlocals \ |
77 |
+ --doctest-modules \ |
78 |
+ --doctest-ignore-import-errors \ |
79 |
+ --ignore=setup.py \ |
80 |
+ --ignore=mycli/magic.py \ |
81 |
+ --ignore=mycli/packages/parseutils.py \ |
82 |
+ --ignore=test/features |
83 |
+} |
84 |
|
85 |
diff --git a/dev-db/mycli/mycli-9999.ebuild b/dev-db/mycli/mycli-9999.ebuild |
86 |
index f3aa95b7cd2..73af45a0b5c 100644 |
87 |
--- a/dev-db/mycli/mycli-9999.ebuild |
88 |
+++ b/dev-db/mycli/mycli-9999.ebuild |
89 |
@@ -1,7 +1,7 @@ |
90 |
# Copyright 1999-2018 Gentoo Foundation |
91 |
# Distributed under the terms of the GNU General Public License v2 |
92 |
|
93 |
-EAPI=6 |
94 |
+EAPI=7 |
95 |
|
96 |
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
97 |
EGIT_REPO_URI="https://github.com/dbcli/mycli.git" |
98 |
@@ -14,16 +14,29 @@ SRC_URI="" |
99 |
LICENSE="BSD MIT" |
100 |
SLOT="0" |
101 |
KEYWORDS="" |
102 |
-IUSE="" |
103 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
104 |
+IUSE="test" |
105 |
RDEPEND=" |
106 |
+ >=dev-python/cli_helpers-1.0.1[${PYTHON_USEDEP}] |
107 |
>=dev-python/click-4.1[${PYTHON_USEDEP}] |
108 |
>=dev-python/configobj-5.0.6[${PYTHON_USEDEP}] |
109 |
>=dev-python/cryptography-1.0.0[${PYTHON_USEDEP}] |
110 |
>=dev-python/prompt_toolkit-1.0.10[${PYTHON_USEDEP}] |
111 |
!>=dev-python/prompt_toolkit-1.1.0 |
112 |
>=dev-python/pygments-2.0[${PYTHON_USEDEP}] |
113 |
- >=dev-python/pymysql-0.6.7[${PYTHON_USEDEP}] |
114 |
+ >=dev-python/pymysql-0.9.2[${PYTHON_USEDEP}] |
115 |
>=dev-python/python-sqlparse-0.2.2[${PYTHON_USEDEP}] |
116 |
!>=dev-python/python-sqlparse-0.3.0 |
117 |
" |
118 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
119 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] ${RDEPEND} )" |
120 |
+ |
121 |
+python_test() { |
122 |
+ pytest --capture=sys \ |
123 |
+ --showlocals \ |
124 |
+ --doctest-modules \ |
125 |
+ --doctest-ignore-import-errors \ |
126 |
+ --ignore=setup.py \ |
127 |
+ --ignore=mycli/magic.py \ |
128 |
+ --ignore=mycli/packages/parseutils.py \ |
129 |
+ --ignore=test/features |
130 |
+} |