From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D5CA8158042 for ; Thu, 17 Oct 2024 13:08:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 197C0E07A5; Thu, 17 Oct 2024 13:08:55 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 046DCE07A5 for ; Thu, 17 Oct 2024 13:08:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4649F3408DD for ; Thu, 17 Oct 2024 13:08:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A79581293 for ; Thu, 17 Oct 2024 13:08:52 +0000 (UTC) From: "Patrick Lauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Lauer" Message-ID: <1729170526.aa3ece6427a76e1bb428d5ca0e95ec71b8a4135d.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/pgcli/Manifest dev-db/pgcli/pgcli-4.1.0.ebuild X-VCS-Directories: dev-db/pgcli/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: aa3ece6427a76e1bb428d5ca0e95ec71b8a4135d X-VCS-Branch: master Date: Thu, 17 Oct 2024 13:08:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a6f3975c-c4ae-42a5-bf1d-37b02384753c X-Archives-Hash: f58780fa307b614b5428ee46bd0f2592 commit: aa3ece6427a76e1bb428d5ca0e95ec71b8a4135d Author: Patrick Lauer gentoo org> AuthorDate: Thu Oct 17 13:08:32 2024 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Thu Oct 17 13:08:46 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa3ece64 dev-db/pgcli: add 4.1.0 Signed-off-by: Patrick Lauer gentoo.org> dev-db/pgcli/Manifest | 1 + dev-db/pgcli/pgcli-4.1.0.ebuild | 49 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-db/pgcli/Manifest b/dev-db/pgcli/Manifest index e446d14d1e52..ed4bf472ab0d 100644 --- a/dev-db/pgcli/Manifest +++ b/dev-db/pgcli/Manifest @@ -1 +1,2 @@ DIST pgcli-4.0.1.tar.gz 646421 BLAKE2B ceb0537344d1fc4c22fc424b7d1df809515778e9d1e492aead517c904ed6274f8c330e1f9bd73da377543e0d078acc8c385951a6717784205dbff0ab427b2d49 SHA512 eba490b979d7b1120eda817c3fe2afc2f2a8e4608e67e41be9b73597dc51027fbe013d5f72f8a6f2853c85395fb51f622dcf6b30c8d2185e5d9a9c1aada378ba +DIST pgcli-4.1.0.tar.gz 651048 BLAKE2B d5fd9dcce5ebaaa2ece556891a6a7d0e6fc9a82d20490a3a0a0a6f9eb445305a965057bfff8cdbed88e5a8494a647d566f8754f67194ce674173f949382b710d SHA512 77e19e953d8793527352efdd145742de8eba09f5ebfbf054fd53e06286b0411a3e11d9fe7b3d1f1d0f8ce275eba8f7148c6f271326fe7e912ce261c2a25e890c diff --git a/dev-db/pgcli/pgcli-4.1.0.ebuild b/dev-db/pgcli/pgcli-4.1.0.ebuild new file mode 100644 index 000000000000..992a27446914 --- /dev/null +++ b/dev-db/pgcli/pgcli-4.1.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +inherit distutils-r1 + +DESCRIPTION="CLI for Postgres with auto-completion and syntax highlighting" +HOMEPAGE="https://www.pgcli.com https://github.com/dbcli/pgcli" +SRC_URI="https://github.com/dbcli/pgcli/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD MIT" +SLOT="0" +KEYWORDS="amd64 ~x86" + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] + >=dev-python/cli-helpers-2.2.1[${PYTHON_USEDEP}] + dev-python/configobj[${PYTHON_USEDEP}] + dev-python/pgspecial[${PYTHON_USEDEP}] + dev-python/prompt-toolkit[${PYTHON_USEDEP}] + dev-python/psycopg:0[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/setproctitle[${PYTHON_USEDEP}] + dev-python/sqlparse[${PYTHON_USEDEP}] + dev-python/sshtunnel[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-db/postgresql + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # hang while trying to create a keyring + # https://bugs.gentoo.org/925085 + tests/test_main.py::test_pg_service_file + tests/test_ssh_tunnel.py::test_ssh_tunnel + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}