diff options
author | Brian Evans <grknight@gentoo.org> | 2021-06-03 11:49:42 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2021-06-03 11:50:23 -0400 |
commit | 3afdabc8e88e0b0a9cbf2e9c320a3ec169645eed (patch) | |
tree | bf8c8c495c7e8359ebdb5b69ce34f7d8bde310f0 /dev-db/mycli | |
parent | sys-kernel/linux-firmware: drop broken tag (diff) | |
download | gentoo-3afdabc8e88e0b0a9cbf2e9c320a3ec169645eed.tar.gz gentoo-3afdabc8e88e0b0a9cbf2e9c320a3ec169645eed.tar.bz2 gentoo-3afdabc8e88e0b0a9cbf2e9c320a3ec169645eed.zip |
dev-db/mycli: Version bump for 1.24.1; Adjust live deps
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'dev-db/mycli')
-rw-r--r-- | dev-db/mycli/Manifest | 1 | ||||
-rw-r--r-- | dev-db/mycli/mycli-1.24.1.ebuild | 51 | ||||
-rw-r--r-- | dev-db/mycli/mycli-9999.ebuild | 7 |
3 files changed, 55 insertions, 4 deletions
diff --git a/dev-db/mycli/Manifest b/dev-db/mycli/Manifest index c90950a0d659..35d77ffde0d9 100644 --- a/dev-db/mycli/Manifest +++ b/dev-db/mycli/Manifest @@ -1 +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 diff --git a/dev-db/mycli/mycli-1.24.1.ebuild b/dev-db/mycli/mycli-1.24.1.ebuild new file mode 100644 index 000000000000..b42d206497bc --- /dev/null +++ b/dev-db/mycli/mycli-1.24.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..9} ) +DISTUTILS_SINGLE_IMPL=yes +inherit distutils-r1 + +MY_PV=$(ver_cut 1-3) +S="${WORKDIR}/${PN}-${MY_PV}" + +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${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ssh" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/cli_helpers-2.0.1[${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-3.0.0[${PYTHON_USEDEP}] + <dev-python/prompt_toolkit-4.0.0[${PYTHON_USEDEP}] + dev-python/pyaes[${PYTHON_USEDEP}] + >=dev-python/pygments-2.0[${PYTHON_USEDEP}] + >=dev-python/pymysql-0.9.2[${PYTHON_USEDEP}] + dev-python/pyperclip[${PYTHON_USEDEP}] + >=dev-python/sqlparse-0.3.0[${PYTHON_USEDEP}] + <dev-python/sqlparse-0.5.0[${PYTHON_USEDEP}] + ssh? ( dev-python/paramiko[${PYTHON_USEDEP}] )') +" +distutils_enable_tests pytest + +PATCHES=( "${FILESDIR}/mycli-1.21.1-fix-test-install.patch" ) + +python_test() { + epytest --capture=sys \ + --doctest-modules \ + --doctest-ignore-import-errors \ + --ignore=setup.py \ + --ignore=mycli/magic.py \ + --ignore=mycli/packages/parseutils.py \ + --ignore=test/features \ + --ignore=mycli/packages/paramiko_stub/__init__.py +} diff --git a/dev-db/mycli/mycli-9999.ebuild b/dev-db/mycli/mycli-9999.ebuild index 6c8183acf1e1..544eb50eeb4e 100644 --- a/dev-db/mycli/mycli-9999.ebuild +++ b/dev-db/mycli/mycli-9999.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..9} ) DISTUTILS_SINGLE_IMPL=yes EGIT_REPO_URI="https://github.com/dbcli/mycli.git" inherit distutils-r1 git-r3 @@ -25,15 +25,14 @@ RDEPEND=" >=dev-python/cryptography-1.0.0[${PYTHON_USEDEP}] >=dev-python/prompt_toolkit-3.0.0[${PYTHON_USEDEP}] <dev-python/prompt_toolkit-4.0.0[${PYTHON_USEDEP}] + dev-python/pyaes[${PYTHON_USEDEP}] >=dev-python/pygments-2.0[${PYTHON_USEDEP}] >=dev-python/pymysql-0.9.2[${PYTHON_USEDEP}] + dev-python/pyperclip[${PYTHON_USEDEP}] >=dev-python/sqlparse-0.3.0[${PYTHON_USEDEP}] <dev-python/sqlparse-0.5.0[${PYTHON_USEDEP}] ssh? ( dev-python/paramiko[${PYTHON_USEDEP}] )') " -BDEPEND=" - test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]') )" - distutils_enable_tests pytest PATCHES=( "${FILESDIR}/mycli-1.21.1-fix-test-install.patch" ) |