dev-db/pg_activity: remove old

Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
This commit is contained in:
Agostino Sarubbo 2025-09-04 10:09:42 +02:00
parent e204b01996
commit 678f99096c
No known key found for this signature in database
GPG Key ID: EC7C8D80008F261A

View File

@ -1,45 +0,0 @@
# 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"
KEYWORDS="~amd64"
SLOT="0"
LICENSE="POSTGRESQL"
RDEPEND="
dev-python/attrs[${PYTHON_USEDEP}]
dev-python/blessed[${PYTHON_USEDEP}]
dev-python/humanize[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/attrs[${PYTHON_USEDEP}]
test? (
dev-python/psycopg:0[${PYTHON_USEDEP}]
dev-python/psycopg:2[${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
}