commit: e204b019962d76dd9465f4538c51f906621a5be3 Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org> AuthorDate: Thu Sep 4 08:09:21 2025 +0000 Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org> CommitDate: Thu Sep 4 08:09:21 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e204b019
dev-db/pg_activity: update RDEPEND - fix VariableOrderWrong Closes: https://bugs.gentoo.org/962178 Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org> dev-db/pg_activity/pg_activity-3.6.1-r1.ebuild | 43 ++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/dev-db/pg_activity/pg_activity-3.6.1-r1.ebuild b/dev-db/pg_activity/pg_activity-3.6.1-r1.ebuild new file mode 100644 index 000000000000..7bea724a1ecf --- /dev/null +++ b/dev-db/pg_activity/pg_activity-3.6.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 + +DESCRIPTION="Realtime PostgreSQL database server monitoring tool" +HOMEPAGE="https://github.com/dalibo/pg_activity" +SRC_URI="https://github.com/dalibo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="POSTGRESQL" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/blessed[${PYTHON_USEDEP}] + dev-python/humanize[${PYTHON_USEDEP}] + dev-python/psycopg:0[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] +" + +DEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + test? ( dev-python/psycopg:0[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests pytest + +python_test() { + # https://github.com/dalibo/pg_activity/issues/201 + export COLUMNS="80" + epytest -k 'not test_ui.txt and not test_data.py and not test_cli_help.txt and not test_cli_help_py312.txt' +} + +src_install() { + distutils-r1_src_install + doman docs/man/${PN}.1 +}
