diff options
Diffstat (limited to 'dev-db/mycli')
-rw-r--r-- | dev-db/mycli/Manifest | 6 | ||||
-rw-r--r-- | dev-db/mycli/metadata.xml | 3 | ||||
-rw-r--r-- | dev-db/mycli/mycli-1.19.0.ebuild | 41 | ||||
-rw-r--r-- | dev-db/mycli/mycli-9999.ebuild | 10 |
4 files changed, 53 insertions, 7 deletions
diff --git a/dev-db/mycli/Manifest b/dev-db/mycli/Manifest index 827801541988..7c51918bca8a 100644 --- a/dev-db/mycli/Manifest +++ b/dev-db/mycli/Manifest @@ -1,7 +1,9 @@ AUX remove-tasks.patch 423 BLAKE2B d4259bb4d0ba1434fb88d25ae1f2bc4e81e89d81c9c2d45f1ac442b2de14d5b9e42ac7ad25a73c18a80570d20626db1c8070965f817f185d9de42bd9ff1605e7 SHA512 21e577769418867ce6a3ea71e8b8949c8974a2a0f1750a87df6f125e53dca04e5e93381324b1d6f9f99b7795bb2e13384619ea4664c3d2c77c5ec83ecd4e33c4 DIST mycli-1.15.0.tar.gz 275065 BLAKE2B 47ae049a7a669d18fc2bb467dd4ee6d1bbe23a86115db6d1965c48c93a2a1be9bb8b4427b377f8ce935b957c854c1c4bf4a87fdea07f27329a13fd6a28b59559 SHA512 7a7d98220c4a679340dbf3c3c9fb3eaab7698f7abbe3e62835a03df10b59c79f0dfd916e9f7b39f12215063849ecadf9d08d086d14b00666b67bac1d092609f2 DIST mycli-1.17.0.tar.gz 276786 BLAKE2B 203c54b58a7876fd0bab5a05880621263e5cdf786b13207f04dfaf38866f5a7250e8fe8e1c5870aa9d3f562cf9963f15cc433e3ddd2232531f4c823e46778ac7 SHA512 bd64f44ed7b16a1e9c684da52fa60436876b26333e2705e5226c4fab3a979c6680314447333d01e4fdb274d33a7f093cbb2f732e5b4e04c5330066f9918a35ba +DIST mycli-1.19.0.tar.gz 263255 BLAKE2B 524190429476793af038c8302f43389884a6ee24a05b0b8c739f290dbfdebec3336bd14567eafff2ea3351430791e4844e16dfc5affb1b28bb57d3759b496350 SHA512 8c6003a09a888c2ac6f35a881ca072ba8972f66b13319cbff73f7a525d1f808b767dcef0121b6272a1b82eed1a02c8c417d5805e5a8ce0c141545f28ff3c3a33 EBUILD mycli-1.15.0-r2.ebuild 1002 BLAKE2B c8c7c5e457d86a1629face8f1e52eebf2339a140bac876740d68187420284785e15c5beacda85ac78306ce75ee37d37911e0b9f8322f99488ec4d1fadff39a89 SHA512 95d43f7dffbf9c22929a6437aa0e356888ca2b765ff836bef2bda8fc10f30226ab65933c0d917b9d5836d2e2dcc6a9e594f4d17818107347e945750b16da3bcf EBUILD mycli-1.17.0-r1.ebuild 1281 BLAKE2B de05eb19069cf6867ae1beb631bdb12dfa001621104f51977d6123971669080e008dd7171b37865ed5a30416384b02dc2a10b692503ff191adfc8ca6bc072ed8 SHA512 5de3d1379c36d790d20aa28b373b176b9831901f0df4d9e33e36078804b467232d55723672f073c3cf0f2cf50288320e8a552351fbe07cde380b724595e4f55a -EBUILD mycli-9999.ebuild 1260 BLAKE2B 0eb983ac6c2dcdf88c85356c066ed7789589a860d352e3e5bea0fe104db1270bc7b0d9ead55d981d3511e48e29abdc2dee5e13d118c2e7001440b2648d062dbf SHA512 c5a623358ccbf1b163b95335b33aa7487ce1758ef0d5fa394268f595aea0fddba69d591665d1cdcf0a550d5508cca966bd3e1305950c03f4dea818b672e048dc -MISC metadata.xml 322 BLAKE2B 16f308194537f996ff6a54d92c996267e2ea37d78d9377d3d3b5a6246ebf511c9dae536f03627a32885753a2d3943554a9748513a036ef6e10b952e5281ecfbe SHA512 ae5215f13b457aa43dc95d67bacc371292f0c8f6540dcb49633f0120232dbde7fe12479c3ff16c203b20ac96700be12c187444a768f50e319320684553509dd1 +EBUILD mycli-1.19.0.ebuild 1280 BLAKE2B 81212b2a860acd995a2fb63a6b5020e0db894d05681aea9f2fa6b37aa983e7ee150a4da4ee63cfcb80b799cd560c75525e3659a9e51a4c507ceea37a9d98b118 SHA512 fd2edb7faeba7076810cd917326cfd68a5c8035c6476011fa65b544474e5a6d201a7dba5e0215f045f2cde7abf8a528897192f6633e56ac965d228fe9e73de9f +EBUILD mycli-9999.ebuild 1260 BLAKE2B 14a3be248faba3e95ce8b56144526cc9c5a86ca53a8834ed5aa3a48ed43f01d943b7c114ee46b80c26b0bae6eccbce6bbe5eebf3ac2d90f91a231927b7720c0d SHA512 d07b911c98bddfedcb736ef821a388d104c6b60e3bb3170184ab101383df071fc76f86b6e7a0950c4d7be2faf3e45d42dbdc787bbc0dac36547dbdacad609762 +MISC metadata.xml 406 BLAKE2B d46b17f9f36fc9851f36d4deadf52ca52d6df621245e521f66386ff3deed3b863188875dd2207c3cf78474cd8a04aebf03dad6564251581b8f9d09fb7bdf5ba8 SHA512 b88e9469cfd9287df46b84c62b27fd60f3cf84abfe93aba4ca7b46d668b0ed855c17ccccd95a49bc102bc2d9c054846ff33e094fe0351c598a9b55f494618e57 diff --git a/dev-db/mycli/metadata.xml b/dev-db/mycli/metadata.xml index c80f94490085..a5372d6a312e 100644 --- a/dev-db/mycli/metadata.xml +++ b/dev-db/mycli/metadata.xml @@ -8,4 +8,7 @@ <upstream> <remote-id type="github">dbcli/mycli</remote-id> </upstream> + <use> + <flag name="ssh">Add support for connection over SSH tunnel</flag> + </use> </pkgmetadata> diff --git a/dev-db/mycli/mycli-1.19.0.ebuild b/dev-db/mycli/mycli-1.19.0.ebuild new file mode 100644 index 000000000000..957f70361a50 --- /dev/null +++ b/dev-db/mycli/mycli-1.19.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +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" +RDEPEND=" + >=dev-python/cli_helpers-1.0.1[${PYTHON_USEDEP}] + >=dev-python/click-4.1[${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/python-sqlparse-0.2.2[${PYTHON_USEDEP}] + <dev-python/python-sqlparse-0.3.0[${PYTHON_USEDEP}] + ssh? ( dev-python/paramiko[${PYTHON_USEDEP}] ) +" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] ${RDEPEND} )" + +python_test() { + pytest --capture=sys \ + --showlocals \ + --doctest-modules \ + --doctest-ignore-import-errors \ + --ignore=setup.py \ + --ignore=mycli/magic.py \ + --ignore=mycli/packages/parseutils.py \ + --ignore=test/features +} diff --git a/dev-db/mycli/mycli-9999.ebuild b/dev-db/mycli/mycli-9999.ebuild index 70338c41f800..a1f322dc698e 100644 --- a/dev-db/mycli/mycli-9999.ebuild +++ b/dev-db/mycli/mycli-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,18 +14,18 @@ SRC_URI="" LICENSE="BSD MIT" SLOT="0" KEYWORDS="" -IUSE="test" +IUSE="ssh test" RDEPEND=" >=dev-python/cli_helpers-1.0.1[${PYTHON_USEDEP}] - >=dev-python/click-4.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-2.0.0[${PYTHON_USEDEP}] - <dev-python/prompt_toolkit-2.0.5[${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/python-sqlparse-0.2.2[${PYTHON_USEDEP}] <dev-python/python-sqlparse-0.3.0[${PYTHON_USEDEP}] + ssh? ( dev-python/paramiko[${PYTHON_USEDEP}] ) " DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/pytest[${PYTHON_USEDEP}] ${RDEPEND} )" |