summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-07-12 03:04:43 -0500
committerroot <root@alpha.trunkmasters.com>2026-07-12 03:04:43 -0500
commit40d2213d241ba50dbaf9b311a92a93e480fbd474 (patch)
treec0dc1821acc043acc052426e9d018af4b26b4c72 /dev-db
parent755ecc63c34034b68719f6dac52aa76ba08bbe5c (diff)
downloadbaldeagleos-repo-40d2213d241ba50dbaf9b311a92a93e480fbd474.tar.gz
baldeagleos-repo-40d2213d241ba50dbaf9b311a92a93e480fbd474.tar.xz
baldeagleos-repo-40d2213d241ba50dbaf9b311a92a93e480fbd474.zip
Adding metadata
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/mycli/Manifest6
-rw-r--r--dev-db/mycli/mycli-1.65.0.ebuild190
-rw-r--r--dev-db/mycli/mycli-2.1.1.ebuild2
-rw-r--r--dev-db/mycli/mycli-2.2.0.ebuild (renamed from dev-db/mycli/mycli-2.0.0.ebuild)2
4 files changed, 4 insertions, 196 deletions
diff --git a/dev-db/mycli/Manifest b/dev-db/mycli/Manifest
index cbdc5540f34c..7148f5ced573 100644
--- a/dev-db/mycli/Manifest
+++ b/dev-db/mycli/Manifest
@@ -1,8 +1,6 @@
-DIST mycli-1.65.0.tar.gz 358883 BLAKE2B f155547301dc01fd3e2546dc662998f7f9c2bb301a0b8081b7eac1078782a879d0f96854ca50be298a144ca292b9a119032890091115c76726811621faa8bab6 SHA512 fcd58c72cc0d98c58467e90e566f79d1ce4693ce79b0be49203a547f3a92f0818ba04ebfc8c0822a5807e37701ec1345d785bd01e1d5fad1258f28d188b375f8
-DIST mycli-1.65.0.tar.gz.provenance 9484 BLAKE2B f9af01db05dac0a069e3a5da5ccb9c3741079f21c6f3d0dcc07eb475d672aa6ecd83eb992f3f8c8fa42ca5b4d1d6707d961012a4677f9f9244a5fcf2fda71fbb SHA512 0d1418fd257a7efab78f1266eb166b37669c9fa308b93c1f84ffe967e74d83da33cf7265930329296fed5ae5161107edb207780922961251b81df0220035422d
DIST mycli-1.76.0.tar.gz 480878 BLAKE2B 2027ff017974f70464ccc407db49e071711e6b70cb7576460bf0cd42345a2fdf6cc05bd42f03bcad127d78f4422808a3aca389e1992cd3adec160f17040cff03 SHA512 56a762ffddb9b61e16d6344449852cd75d2d258fc8a8534e1cdb7d4ad125449e8c4ee055e6925f6ce66516c49987dee2f29d9eb19ea38de02a6e887ad2ae5acc
DIST mycli-1.76.0.tar.gz.provenance 9534 BLAKE2B 0eb30a7849d18dabe9967258dd4f59d007274fb6b1de810678ba71a1e0278f7c2b6f21e3feacd591d41c89e6f7cb4bb7cbba8d8c202d10483f682b527fa60d4b SHA512 f74ff4f923a6c6cf16ab5454cea4aa9e3705e3a4c016ecc598e7eecb74d3fc8006d93f8e318327f7b167129c2f41af777134bd22f98b6217284c0f21f0c4fded
-DIST mycli-2.0.0.tar.gz 474615 BLAKE2B 6ceb3e72a9d30c319e0f5db1985f6c705a8815110ad149a06020e31a3842bc671ce4f90c406c551c4ee82cc065d49331586ceb6e2d3a4da35ca48cc52eaefb10 SHA512 ce198a98c417927893bfd1b0a1ed8c4bcab0cd47a3c3dcd54f8cbafd6130df02cb3e2d094d3aa5aa94bfe0cd78d6877d935765adfe8154283d870915cb8fb918
-DIST mycli-2.0.0.tar.gz.provenance 9616 BLAKE2B 62f55830442844523b59310aff689e285c6acc57c04c37e5b36df849556d020401fc99e299dfe8b1d8b7719a85fb4f5a460d000c2baac7cce1b524684f34e13a SHA512 43250989c5a6fbdd2e185acb51cf5356231741440829fb9b86605a4fc366f406c353ad8a3f89860921a4e25155430abddcdca0ee1870d3935f2f5ac837cb01db
DIST mycli-2.1.1.tar.gz 481669 BLAKE2B cdc112f2c11f65784a63d3ac2b0b2efef9a11ca4dc845cec89bff360aa8f9067b41edafdfaf3325b7d160f74815b240bf949662f742caf387430f46894135429 SHA512 fccbe2a008ac5c2d1fa1f385ff0551d1db1cc28a1443570e7d2f8e2bff8cebb5f67011448b66867f1a116c4a947398b4b93d924b1d3a64fc061467fd34f262ec
DIST mycli-2.1.1.tar.gz.provenance 9702 BLAKE2B 9a95977129ecdd9a8ff2e6bacf53dec9cac4605cace5250bfd6254d57a72cd7885e8163877de9a96e049e4621340e9b932020da002af2b5294a73e26a035bbdc SHA512 ddc5b254bb59c35914c1e2c73b639eebed30aa4923b3003286f5434f1762e4007b02ffc2e963ec180fed8d743aaf0beecab8a34e2f379da672a77a08f26489ee
+DIST mycli-2.2.0.tar.gz 487684 BLAKE2B 373a5758486f62229d57b1f8157a47543f9c4e636d529f4811a678eb53ae51cfa988ce59255f21de6b4280537087f860e5030d3b1ee89ae0b201177086387ca1 SHA512 1f6b5d6b139937d118b978b3baa75cb528a5f2829b26456f6c7975c37d40302abc45b3caaa3c328e02736eab04cbde39f335345b7a9d46ebd477430360825655
+DIST mycli-2.2.0.tar.gz.provenance 9330 BLAKE2B 6494ca80f99a46e2eaa1a8b6f6c582b22ad007ca125041f896a8a605a4c8bc542a61483b19f909186f1540f93e8d6dfaa529fe331250a8b1a9eb7a7333ac0440 SHA512 1ef1af85bf25316e2b094d8daf9cede98f630d68242c359ded10f4a8da4f88d8594d78bbcad6615c95d929a1c244a4ce4b9393648d636a215bba68d6fb7c6008
diff --git a/dev-db/mycli/mycli-1.65.0.ebuild b/dev-db/mycli/mycli-1.65.0.ebuild
deleted file mode 100644
index 4cffa2bf7b6c..000000000000
--- a/dev-db/mycli/mycli-1.65.0.ebuild
+++ /dev/null
@@ -1,190 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_SINGLE_IMPL=yes
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{13..14} )
-PYPI_VERIFY_REPO=https://github.com/dbcli/mycli
-inherit distutils-r1 edo eapi9-ver multiprocessing pypi
-
-DESCRIPTION="CLI for MySQL Database with auto-completion and syntax highlighting"
-HOMEPAGE="
- https://www.mycli.net/
- https://github.com/dbcli/mycli/
- https://pypi.org/project/mycli/
-"
-
-LICENSE="BSD MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-# optional llm unpackaged
-IUSE="ssh"
-
-# ~paramiko-3.5.1: Pinned due to breakage. Feature soft deprecated for future removal
-# https://github.com/dbcli/mycli/commit/82c7d92a16ad15906c46df14cc6e6ee0249609e6
-# https://github.com/dbcli/mycli/issues/1464
-RDEPEND="
- $(python_gen_cond_dep '
- >=dev-python/cli-helpers-2.11.0[${PYTHON_USEDEP}]
- >=dev-python/click-8.3.1[${PYTHON_USEDEP}]
- >=dev-python/configobj-5.0.9[${PYTHON_USEDEP}]
- >=dev-python/cryptography-46.0.5[${PYTHON_USEDEP}]
- >=dev-python/keyring-25.7.0[${PYTHON_USEDEP}]
- >=dev-python/prompt-toolkit-3.0.6[${PYTHON_USEDEP}]
- <dev-python/prompt-toolkit-4.0.0[${PYTHON_USEDEP}]
- >=dev-python/pycryptodome-3.23.0[${PYTHON_USEDEP}]
- >=dev-python/pyfzf-0.3.1[${PYTHON_USEDEP}]
- >=dev-python/pygments-2.19.2[${PYTHON_USEDEP}]
- >=dev-python/pymysql-1.1.2[${PYTHON_USEDEP}]
- >=dev-python/pyperclip-1.11.0[${PYTHON_USEDEP}]
- >=dev-python/rapidfuzz-3.14.3[${PYTHON_USEDEP}]
- >=dev-python/sqlglot-29.0.1[${PYTHON_USEDEP}]
- <dev-python/sqlparse-0.6.0[${PYTHON_USEDEP}]
- >=dev-python/sqlparse-0.3.0[${PYTHON_USEDEP}]
- >=dev-python/wcwidth-0.6.0[${PYTHON_USEDEP}]
- ssh? (
- ~dev-python/paramiko-3.5.1[${PYTHON_USEDEP}]
- dev-python/sshtunnel[${PYTHON_USEDEP}]
- )
- ')
-"
-BDEPEND="
- $(python_gen_cond_dep '
- dev-python/setuptools-scm[${PYTHON_USEDEP}]
- test? (
- dev-db/mysql[server]
- >=dev-python/behave-1.3.3[${PYTHON_USEDEP}]
- ~dev-python/paramiko-3.5.1[${PYTHON_USEDEP}]
- >=dev-python/pexpect-4.9.0[${PYTHON_USEDEP}]
- dev-python/sshtunnel[${PYTHON_USEDEP}]
- )
- ')
-"
-
-EPYTEST_PLUGINS=()
-distutils_enable_tests pytest
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
-
-python_prepare_all() {
- # no coverage please
- sed -e 's/import coverage ; coverage.process_startup(); //' \
- -i test/features/environment.py test/features/steps/wrappers.py || die
-
- # dont pin dependencies
- sed -e '/^dependencies = \[/,/^\]$/ s/"\(.*\) ~=/"\1 >=/' \
- -i pyproject.toml || die
-
- # convert from pycryptodomex to pycryptodome
- sed -e 's/pycryptodomex/pycryptodome/' -i pyproject.toml || die
- sed -e 's/from Cryptodome/from Crypto/' -i mycli/config.py || die
-
- # network-sandbox messes with these
- sed -e '/run mycli on localhost without port/i @gentoo_skip' \
- -e '/run mycli on TCP host without port/i @gentoo_skip' \
- -e '/run mycli without host and port/i @gentoo_skip' \
- -i test/features/connection.feature || die
-
- # Requires an old school vi and the symlink for vi itself messes with this
- sed -e '/edit sql in file with external editor/i @gentoo_skip' \
- -i test/features/iocommands.feature || die
-
- distutils-r1_python_prepare_all
-}
-
-src_test() {
- # test/utils.py
- local -x PYTEST_PASSWORD="notsecure"
- local -x PYTEST_HOST="127.0.0.1"
- local -x PYTEST_PORT="43307"
- local -x PYTEST_CHARSET="utf8"
-
- einfo "Creating mysql test instance ..."
- mysqld \
- --no-defaults \
- --initialize-insecure \
- --basedir="${EPREFIX}/usr" \
- --datadir="${T}/mysql" 1>"${T}"/mysql_install.log || die
-
- einfo "Starting mysql test instance ..."
- mysqld \
- --no-defaults \
- --character-set-server="${PYTEST_CHARSET}" \
- --bind-address="${PYTEST_HOST}" \
- --port="${PYTEST_PORT}" \
- --pid-file="${T}/mysqld.pid" \
- --socket="${T}/mysqld.sock" \
- --datadir="${T}/mysql" 1>"${T}/mysqld.log" 2>&1 &
-
- # wait for it to start
- local i
- for (( i = 0; i < 10; i++ )); do
- [[ -S ${T}/mysqld.sock ]] && break
- sleep 1
- done
- [[ ! -S ${T}/mysqld.sock ]] && die "mysqld failed to start"
-
- einfo "Configuring test mysql instance ..."
- mysql \
- -u root \
- --socket="${T}/mysqld.sock" \
- -e "ALTER USER 'root'@'localhost' IDENTIFIED BY '${PYTEST_PASSWORD}'" \
- || die "Failed to change mysql user password"
-
- EPYTEST_IGNORE=(
- # Requires unpackaged llm
- test/test_llm_special.py
- # AssertionError: assert 8 in [4, 5, 6, 7]
- # Per upstream: "...it is a flaky test at best."
- # https://github.com/dbcli/mycli/commit/3d08910a366d4505a40e8a0fb36c210330723f18
- test/test_special_iocommands.py::test_watch_query_full
- )
-
- local failures=()
- if ! nonfatal distutils-r1_src_test ; then
- failures+=( pytest )
- fi
-
- if ! nonfatal edo behave \
- --jobs=$(get_makeopts_jobs) \
- --summary --verbose \
- --tags="not @gentoo_skip" \
- test/features ; then
- failures+=( behave )
- fi
-
- einfo "Stopping mysql test instance ..."
- pkill -F "${T}"/mysqld.pid || die
- # wait for it to stop
- local i
- for (( i = 0; i < 10; i++ )); do
- [[ -S ${T}/mysqld.sock ]] || break
- sleep 1
- done
-
- rm -rf "${T}"/mysql || die
-
- if [[ ${#failures[@]} -gt 0 ]]; then
- die "Tests failed: ${failures}"
- fi
-}
-
-pkg_postinst() {
- if use ssh && ver_replacing -lt 1.49; then
- elog "The built-in SSH functionality has been soft deprecated in mycli."
- elog "It may be removed upstream in a future release and even sooner"
- elog "downstream in the ebuild due to the pinned paramiko dependency."
- elog "See also https://github.com/dbcli/mycli/issues/1464"
- elog ""
- fi
- if ver_replacing -lt 1.50; then
- elog "Reading configuration from '.my.cnf' has been deprecated."
- elog "Configuration should be done in '.myclirc' from now on,"
- elog "and in the future '.my.cnf' will be ignored."
- elog "See also https://github.com/dbcli/mycli/issues/1490"
- elog ""
- fi
-}
diff --git a/dev-db/mycli/mycli-2.1.1.ebuild b/dev-db/mycli/mycli-2.1.1.ebuild
index 47d4a8cc0cc3..02f068debb69 100644
--- a/dev-db/mycli/mycli-2.1.1.ebuild
+++ b/dev-db/mycli/mycli-2.1.1.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="
LICENSE="BSD MIT"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm64"
# optional llm unpackaged
diff --git a/dev-db/mycli/mycli-2.0.0.ebuild b/dev-db/mycli/mycli-2.2.0.ebuild
index 47d4a8cc0cc3..02f068debb69 100644
--- a/dev-db/mycli/mycli-2.0.0.ebuild
+++ b/dev-db/mycli/mycli-2.2.0.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="
LICENSE="BSD MIT"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm64"
# optional llm unpackaged