[gentoo-commits] repo/gentoo:master commit in: dev-db/mycli/, dev-db/mycli/files/

2022-04-22 Thread Brian Evans
commit: 7f443de9d1d18e2785480c44eaf3e602f6ccf6e8
Author: Brian Evans  gentoo  org>
AuthorDate: Fri Apr 22 13:23:42 2022 +
Commit: Brian Evans  gentoo  org>
CommitDate: Fri Apr 22 13:23:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f443de9

dev-db/mycli: Drop old version

Signed-off-by: Brian Evans  gentoo.org>

 dev-db/mycli/Manifest   |   1 -
 dev-db/mycli/files/mycli-1.22.2_p20201026.patch | 470 
 dev-db/mycli/mycli-1.22.2_p20201026.ebuild  |  52 ---
 3 files changed, 523 deletions(-)

diff --git a/dev-db/mycli/Manifest b/dev-db/mycli/Manifest
index b6c1a9a99d6d..43d3adb840bd 100644
--- a/dev-db/mycli/Manifest
+++ b/dev-db/mycli/Manifest
@@ -1,3 +1,2 @@
-DIST mycli-1.22.2_p20201026.tar.gz 269338 BLAKE2B 
42f4349e65a43829691fd7fa0fa1a57968cf34ffba04156ae221d7a2713179826fc09903e45b6f05fbf05688f956a9cd95e87393179992378766b3a3a6ef9c6e
 SHA512 
70d68d7517322b28783c324d463664c2794ba26cc78e0eee056891ce43dbce57c4dd9c13982ac2976af07ff1fa3d4552cb22bf42b9c7885c93483ba86b873636
 DIST mycli-1.24.1.tar.gz 275983 BLAKE2B 
cc03ebd0f4de1fabbd1c186139aac04a50d01529190972cac63765a4d3e688e994c112d001489bf1dfb17541370e0c348a368d85a86b7eed335b775b96897765
 SHA512 
5f8ffb98fd285d2e556bef7cefdc77588983c0028c7c24084710633fb469ae3c5ab2232ca23e87406d44d87e503c113039e6884ec9efd603f45b3ab7ed7c0925
 DIST mycli-1.25.0.tar.gz 277022 BLAKE2B 
eabb07003741bc041fcfc7be92beade5bdf0c19d0be00b1a98037d38b164043e5280254b9c8446254928253f6059c33ae9395df780a2f30c5d9cbebffe020895
 SHA512 
e20b1466f0f2bf81f0d65bd23f97eae6b0943029c89d9d45f84368abc5f12c3054c09a45c4daea47831a192417e2e5be7bcd6622ea518e57b68f975a028d3f79

diff --git a/dev-db/mycli/files/mycli-1.22.2_p20201026.patch 
b/dev-db/mycli/files/mycli-1.22.2_p20201026.patch
deleted file mode 100644
index 3e7c719bf396..
--- a/dev-db/mycli/files/mycli-1.22.2_p20201026.patch
+++ /dev/null
@@ -1,470 +0,0 @@
-diff --git a/.travis.yml b/.travis.yml
-index 0afb5cc..182dea7 100644
 a/.travis.yml
-+++ b/.travis.yml
-@@ -12,7 +12,7 @@ matrix:
- 
- install:
-   - pip install -r requirements-dev.txt
--  - pip install -e .
-+  - pip install --no-cache-dir -e .
-   - sudo rm -f /etc/mysql/conf.d/performance-schema.cnf
-   - sudo service mysql restart
- 
-diff --git a/README.md b/README.md
-index efe804d..d5a0687 100644
 a/README.md
-+++ b/README.md
-@@ -96,6 +96,7 @@ $ sudo apt-get install mycli # Only on debian or ubuntu
-   --local-infile BOOLEANEnable/disable LOAD DATA LOCAL INFILE.
-   --login-path TEXT Read this path from the login file.
-   -e, --execute TEXTExecute command and quit.
-+  --init-command TEXT   SQL statement to execute after connecting.
-   --helpShow this message and exit.
- 
- Features
-diff --git a/changelog.md b/changelog.md
-index a4fea35..508c801 100644
 a/changelog.md
-+++ b/changelog.md
-@@ -1,9 +1,22 @@
-+TBD
-+===
-+
-+Features:
-+-
-+
-+* Add an option `--init-command` to execute SQL after connecting (Thanks: 
[KITAGAWA Yasutaka]).
-+
-+Bug Fixes:
-+--
-+* Fixed compatibility with sqlparse 0.4 (Thanks: [mtorromeo]).
-+
- 1.22.2
- ==
- 
- Bug Fixes:
- --
--*  Make the `pwd` module optional. 
-+
-+*  Make the `pwd` module optional.
- 
- 1.22.1
- ==
-@@ -18,6 +31,11 @@ Features:
- * Add an option `--list-ssh-config` to list ssh configurations.
- * Add an option `--ssh-config-path` to choose ssh configuration path.
- 
-+Bug Fixes:
-+--
-+
-+* Fix specifying empty password with `--password=''` when config file has a 
password set (Thanks: [Zach DeCook]).
-+
- 
- 1.21.1
- ==
-@@ -28,6 +46,7 @@ Bug Fixes:
- 
- * Fix broken auto-completion for favorite queries (Thanks: [Amjith]).
- * Fix undefined variable exception when running with --no-warn (Thanks: 
[Georgy Frolov])
-+* Support setting color for null value (Thanks: [laixintao])
- 
- 1.21.0
- ==
-@@ -768,3 +787,6 @@ Bug Fixes:
- [François Pietka]: https://github.com/fpietka
- [Frederic Aoustin]: https://github.com/fraoustin
- [Georgy Frolov]: https://github.com/pasenor
-+[Zach DeCook]: https://zachdecook.com
-+[laixintao]: https://github.com/laixintao
-+[mtorromeo]: https://github.com/mtorromeo
-diff --git a/mycli/AUTHORS b/mycli/AUTHORS
-index b3636d9..a1204b0 100644
 a/mycli/AUTHORS
-+++ b/mycli/AUTHORS
-@@ -72,6 +72,10 @@ Contributors:
-   * Jakub Boukal
-   * Takeshi D. Itoh
-   * laixintao
-+  * Zach DeCook
-+  * kevinhwang91
-+  * KITAGAWA Yasutaka
-+  * Massimiliano Torromeo
- 
- Creator:
- 
-diff --git a/mycli/clistyle.py b/mycli/clistyle.py
-index c94f793..293f0f4 100644
 a/mycli/clistyle.py
-+++ b/mycli/clistyle.py
-@@ -34,6 +34,7 @@ TOKEN_TO_PROMPT_STYLE = {
- Token.Output.Header: 'output.header',
- Token.Output.OddRow: 'output.odd-row',
- Token.Output.EvenRow: 'output.even-row',
-+Token.Output.Null: 'output.null',
- Token.Prompt: 

[gentoo-commits] repo/gentoo:master commit in: dev-db/mycli/, dev-db/mycli/files/

2020-07-07 Thread Brian Evans
commit: ad8abf44b957d6f248019f00402315b0db48a0d4
Author: Brian Evans  gentoo  org>
AuthorDate: Tue Jul  7 18:19:33 2020 +
Commit: Brian Evans  gentoo  org>
CommitDate: Tue Jul  7 18:19:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad8abf44

dev-db/mycli: Version bump for 1.21.1

Signed-off-by: Brian Evans  gentoo.org>

 dev-db/mycli/Manifest  |  1 +
 .../files/mycli-1.21.1-fix-test-install.patch  | 12 ++
 dev-db/mycli/mycli-1.21.1.ebuild   | 50 ++
 dev-db/mycli/mycli-.ebuild | 34 +--
 4 files changed, 84 insertions(+), 13 deletions(-)

diff --git a/dev-db/mycli/Manifest b/dev-db/mycli/Manifest
index 1f52fa521b6..ede73337f21 100644
--- a/dev-db/mycli/Manifest
+++ b/dev-db/mycli/Manifest
@@ -1 +1,2 @@
 DIST mycli-1.20.1.tar.gz 265264 BLAKE2B 
d00b1713132609b0a5ec6e8b78785fdab5c6b4db5937bc0b9bc69ddde90ad3dc75aeb99ccf6b5e7fe5e78e9bf4819f03fb454825e5182bc5d2c44356032343d1
 SHA512 
82ee642b2a4c158b0e2ea275941650125e15004ec1c70b2ab90ae0825090efccb4910a14fd46bcdf795a74adba5689b46de5668447308de63d1cbbbe2e6b0e9d
+DIST mycli-1.21.1.tar.gz 267646 BLAKE2B 
e0678974949ae219236b89fbe9ebdacfee9c1efc8f92853c937150dbb841680664432e9f5c79181545df8b3321480cf784e45a83139351cc93256d26dcdd66f0
 SHA512 
beb3888ff8abc2a79e591516d7f0f76d0c18f186bd0dca3b4aadcf93b3045de53ac7f135553ad509273c85ea364e81df5dcadf9eacf1dbef8ceff7345aa5ed6d

diff --git a/dev-db/mycli/files/mycli-1.21.1-fix-test-install.patch 
b/dev-db/mycli/files/mycli-1.21.1-fix-test-install.patch
new file mode 100644
index 000..bee5934e5dd
--- /dev/null
+++ b/dev-db/mycli/files/mycli-1.21.1-fix-test-install.patch
@@ -0,0 +1,12 @@
+--- a/setup.py 2020-04-19 16:15:15.0 -0400
 b/setup.py 2020-07-07 13:56:25.181039348 -0400
+@@ -85,7 +85,8 @@
+ author_email='mycli-...@googlegroups.com',
+ version=version,
+ url='http://mycli.net',
+-packages=find_packages(),
++packages=find_packages("mycli"),
++package_dir={"": "mycli"},
+ package_data={'mycli': ['myclirc', 'AUTHORS', 'SPONSORS']},
+ description=description,
+ long_description=description,

diff --git a/dev-db/mycli/mycli-1.21.1.ebuild b/dev-db/mycli/mycli-1.21.1.ebuild
new file mode 100644
index 000..ab785d36904
--- /dev/null
+++ b/dev-db/mycli/mycli-1.21.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{3_6,3_7} )
+DISTUTILS_SINGLE_IMPL=yes
+DISTUTILS_USE_SETUPTOOLS=rdepend
+inherit distutils-r1
+
+DESCRIPTION="CLI for MySQL Database with auto-completion and syntax 
highlighting"
+
+HOMEPAGE="https://www.mycli.net;
+SRC_URI="https://github.com/dbcli/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ssh test"
+RESTRICT="!test? ( test )"
+RDEPEND="$(python_gen_cond_dep '
+   >=dev-python/cli_helpers-1.1.0[${PYTHON_MULTI_USEDEP}]
+   >=dev-python/click-7.0[${PYTHON_MULTI_USEDEP}]
+   >=dev-python/configobj-5.0.6[${PYTHON_MULTI_USEDEP}]
+   >=dev-python/cryptography-1.0.0[${PYTHON_MULTI_USEDEP}]
+   >=dev-python/prompt_toolkit-3.0.0[${PYTHON_MULTI_USEDEP}]
+   =dev-python/pygments-2.0[${PYTHON_MULTI_USEDEP}]
+   >=dev-python/pymysql-0.9.2[${PYTHON_MULTI_USEDEP}]
+   >=dev-python/sqlparse-0.3.0[${PYTHON_MULTI_USEDEP}]
+   https://github.com/dbcli/mycli.git;
 inherit distutils-r1 git-r3
 
@@ -16,20 +18,26 @@ SLOT="0"
 KEYWORDS=""
 IUSE="ssh test"
 RESTRICT="!test? ( test )"
-RDEPEND="
-   >=dev-python/cli_helpers-1.1.0[${PYTHON_USEDEP}]
-   >=dev-python/click-7.0[${PYTHON_USEDEP}]
-   >=dev-python/configobj-5.0.6[${PYTHON_USEDEP}]
-   >=dev-python/cryptography-1.0.0[${PYTHON_USEDEP}]
-   >=dev-python/prompt_toolkit-2.0.6[${PYTHON_USEDEP}]
-   >=dev-python/pygments-2.0[${PYTHON_USEDEP}]
-   >=dev-python/pymysql-0.9.2[${PYTHON_USEDEP}]
-   >=dev-python/sqlparse-0.3.0[${PYTHON_USEDEP}]
-