diff options
| author | root <root@alpha.trunkmasters.com> | 2026-08-10 03:04:52 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-08-10 03:04:52 -0500 |
| commit | 1160c54c5acbfd332d8757e926627ae58c982459 (patch) | |
| tree | 1b77233142ee428a8bb175ab467fc16086f9d41c /dev-db | |
| parent | 92f6d12bf21434879bac739a9c4c7d9924ce3bad (diff) | |
| download | baldeagleos-repo-1160c54c5acbfd332d8757e926627ae58c982459.tar.gz baldeagleos-repo-1160c54c5acbfd332d8757e926627ae58c982459.tar.xz baldeagleos-repo-1160c54c5acbfd332d8757e926627ae58c982459.zip | |
Adding metadata
Diffstat (limited to 'dev-db')
| -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.76.0.ebuild | 195 | ||||
| -rw-r--r-- | dev-db/mycli/mycli-2.9.0.ebuild (renamed from dev-db/mycli/mycli-2.2.0.ebuild) | 82 | ||||
| -rw-r--r-- | dev-db/sqlite/sqlite-3.53.3.ebuild | 2 |
5 files changed, 48 insertions, 240 deletions
diff --git a/dev-db/mycli/Manifest b/dev-db/mycli/Manifest index 77fcd097bd26..c2e6b937e181 100644 --- a/dev-db/mycli/Manifest +++ b/dev-db/mycli/Manifest @@ -1,6 +1,4 @@ -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.2.0.tar.gz 487684 BLAKE2B 373a5758486f62229d57b1f8157a47543f9c4e636d529f4811a678eb53ae51cfa988ce59255f21de6b4280537087f860e5030d3b1ee89ae0b201177086387ca1 SHA512 1f6b5d6b139937d118b978b3baa75cb528a5f2829b26456f6c7975c37d40302abc45b3caaa3c328e02736eab04cbde39f335345b7a9d46ebd477430360825655 -DIST mycli-2.2.0.tar.gz.provenance 9330 BLAKE2B 6494ca80f99a46e2eaa1a8b6f6c582b22ad007ca125041f896a8a605a4c8bc542a61483b19f909186f1540f93e8d6dfaa529fe331250a8b1a9eb7a7333ac0440 SHA512 1ef1af85bf25316e2b094d8daf9cede98f630d68242c359ded10f4a8da4f88d8594d78bbcad6615c95d929a1c244a4ce4b9393648d636a215bba68d6fb7c6008 DIST mycli-2.3.0.tar.gz 493571 BLAKE2B 98ce539d8aec52328032d6e8c056aba92271e09d92be672aca3d19ff7bfd6e57865b0933561505eddf1ff616181799e584150c28e1820a899046cee3d6281256 SHA512 65ef25aef60e90b8df8ab56d4a1841d0372785dffce01cbe0ee1403637b7717da9c8a1db7e5fdb2375131fbdb662eb39da9493513f1941a8c92f44e312944e64 DIST mycli-2.3.0.tar.gz.provenance 9847 BLAKE2B adb1b523c7f61be808f00c0bc0258d2cb58eba6a62acda5a9ac96a3a9bfb30cad3dbbcaead460c2996416705210e6c5bba105ab90cc0bd6b45d40e7e1859276e SHA512 cbaa3597f80e9d03ec68cb091b86bebe93dbec0a40f08a996d8eeaf9357d0f9fc9afdab085c8d30dfb9359831fdb263a06b2879d53c73d60b1e16457c6e69bb9 +DIST mycli-2.9.0.tar.gz 564998 BLAKE2B 108d9e242071f72580908bc0cb70ad3062be6f11b94a341fbffff1ba52f4d0ba1bed8971fe0e81e5e9ada2eee7f2278f2731f1b8a86f9a56206440c7542e7ef6 SHA512 06a6cbc86b73da73ca9955f7be7a86547dab3a590fb732f0d2b19516e784e39b1b293d131580c2c9fa0d2c7994a17084eae24ae606dd07e386cae47613d38b05 +DIST mycli-2.9.0.tar.gz.provenance 9522 BLAKE2B 6b7e5f76ac781148147f84816983d8689478b1303d14573326130006c17f1d3b5a98342b8a7d0d1b118dc9bd4928da84aa9d653c6985ef93f2092901781dd6c8 SHA512 7503b3e70e0b9936279766faf39cc1c558fb8de477894ca83efe624f82be97f459879c14fa477cc02e71acedf3ad6ea03ba8c890b8e02996db1b6fb5a4acf83a diff --git a/dev-db/mycli/metadata.xml b/dev-db/mycli/metadata.xml index e9a159c44fac..0771eb730d92 100644 --- a/dev-db/mycli/metadata.xml +++ b/dev-db/mycli/metadata.xml @@ -10,8 +10,5 @@ <name>Proxy Maintainers</name> </maintainer> <stabilize-allarches /> - <use> - <flag name="ssh">Add support for connection over SSH tunnel</flag> - </use> <origin>baldeagleos-repo</origin> </pkgmetadata> diff --git a/dev-db/mycli/mycli-1.76.0.ebuild b/dev-db/mycli/mycli-1.76.0.ebuild deleted file mode 100644 index 55f5ca7823c4..000000000000 --- a/dev-db/mycli/mycli-1.76.0.ebuild +++ /dev/null @@ -1,195 +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" - -# optional llm unpackaged -IUSE="ssh" - -# <pymysql-1.2: Upstream pins per version and test failures with -# test_ssl_mode_off and test_ssl_mode_overrides_ssl - -# ~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.15.0[${PYTHON_USEDEP}] - >=dev-python/click-8.3.1[${PYTHON_USEDEP}] - >=dev-python/clickdc-0.1.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.41[${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.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-30.8.0[${PYTHON_USEDEP}] - <dev-python/sqlparse-0.6.0[${PYTHON_USEDEP}] - >=dev-python/sqlparse-0.3.0[${PYTHON_USEDEP}] - >=dev-python/yaspin-3.4.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 - - # avoid unpackaged pytest-random-order - sed -e "/^addopts =/ s/, '--random-order'//" -i pyproject.toml || 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/pytests/test_special_llm.py - ) - - 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 with ${EPYTHON}: ${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.2.0.ebuild b/dev-db/mycli/mycli-2.9.0.ebuild index 02f068debb69..a2b5a71f4eee 100644 --- a/dev-db/mycli/mycli-2.2.0.ebuild +++ b/dev-db/mycli/mycli-2.9.0.ebuild @@ -3,11 +3,10 @@ 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 multiprocessing pypi +inherit distutils-r1 edo multiprocessing pypi shell-completion DESCRIPTION="CLI for MySQL Database with auto-completion and syntax highlighting" HOMEPAGE=" @@ -20,44 +19,37 @@ LICENSE="BSD MIT" SLOT="0" KEYWORDS="~amd64 ~arm64" +# optional dataframe packages (altair and polars) unpackaged # optional llm unpackaged -# <pymysql-1.2: Upstream pins per version and test failures with -# test_ssl_mode_off and test_ssl_mode_overrides_ssl - RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/cli-helpers-2.15.0[${PYTHON_USEDEP}] - >=dev-python/click-8.3.1[${PYTHON_USEDEP}] - >=dev-python/clickdc-0.1.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.41[${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.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-30.8.0[${PYTHON_USEDEP}] - <dev-python/sqlparse-0.6.0[${PYTHON_USEDEP}] - >=dev-python/sqlparse-0.3.0[${PYTHON_USEDEP}] - >=dev-python/yaspin-3.4.0[${PYTHON_USEDEP}] - >=dev-python/wcwidth-0.6.0[${PYTHON_USEDEP}] - ') + >=dev-python/cli-helpers-2.15.1[${PYTHON_USEDEP}] + >=dev-python/click-8.4.2[${PYTHON_USEDEP}] + >=dev-python/clickdc-0.1.1[${PYTHON_USEDEP}] + >=dev-python/configobj-5.0.9[${PYTHON_USEDEP}] + >=dev-python/cryptography-49.0.0[${PYTHON_USEDEP}] + >=dev-python/keyring-25.7.0[${PYTHON_USEDEP}] + <dev-python/prompt-toolkit-4.0.0[${PYTHON_USEDEP}] + >=dev-python/prompt-toolkit-3.0.41[${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-30.12.0[${PYTHON_USEDEP}] + <dev-python/sqlparse-0.6.0[${PYTHON_USEDEP}] + >=dev-python/sqlparse-0.3.0[${PYTHON_USEDEP}] + >=dev-python/yaspin-3.4.0[${PYTHON_USEDEP}] + >=dev-python/wcwidth-0.8.2[${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/pexpect-4.9.0[${PYTHON_USEDEP}] - ) - ') + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-db/mysql[server] + >=dev-python/behave-1.3.3[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.9.0[${PYTHON_USEDEP}] + ) " EPYTEST_PLUGINS=() @@ -91,7 +83,7 @@ python_prepare_all() { distutils-r1_python_prepare_all } -src_test() { +python_test() { # test/utils.py local -x PYTEST_PASSWORD="notsecure" local -x PYTEST_HOST="127.0.0.1" @@ -130,9 +122,17 @@ src_test() { -e "ALTER USER 'root'@'localhost' IDENTIFIED BY '${PYTEST_PASSWORD}'" \ || die "Failed to change mysql user password" + EPYTEST_DESELECT=( + # PyMysql 1.2 uses ssl if the server supports it + "test/pytests/test_main.py::test_ssl_mode_off" + # FIXME + "test/pytests/test_zsh_completion.py::test_zsh_completion_lists_dsn_aliases_in_supported_contexts" + ) EPYTEST_IGNORE=( # Requires unpackaged llm - test/pytests/test_special_llm.py + "test/pytests/test_special_llm.py" + # Requires unpackaged altairs and polars + "test/pytests/test_polars_transform.py" ) local failures=() @@ -163,3 +163,11 @@ src_test() { die "Tests failed with ${EPYTHON}: ${failures}" fi } + +python_install_all() { + distutils-r1_python_install_all + + dobashcomp mycli/resources/completions/bash/mycli + dofishcomp mycli/resources/completions/fish/mycli.fish + dozshcomp mycli/resources/completions/zsh/_mycli +} diff --git a/dev-db/sqlite/sqlite-3.53.3.ebuild b/dev-db/sqlite/sqlite-3.53.3.ebuild index df3d92095b64..5e495f59f662 100644 --- a/dev-db/sqlite/sqlite-3.53.3.ebuild +++ b/dev-db/sqlite/sqlite-3.53.3.ebuild @@ -24,7 +24,7 @@ else " S="${WORKDIR}/${PN}-src-${SRC_PV}" - KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" fi LICENSE="public-domain" |
