diff options
author | Agostino Sarubbo <ago@gentoo.org> | 2023-04-21 11:38:33 +0200 |
---|---|---|
committer | Agostino Sarubbo <ago@gentoo.org> | 2023-04-21 11:38:33 +0200 |
commit | 848dd0971ac36537ae2f0fb5f80839c894cfdf50 (patch) | |
tree | 8ae2695ca9e4a4ffec6ebb4f88cd0c877f79d85b /dev-db | |
parent | app-emacs/jinx: add 0.7, drop 0.6 (diff) | |
download | gentoo-848dd0971ac36537ae2f0fb5f80839c894cfdf50.tar.gz gentoo-848dd0971ac36537ae2f0fb5f80839c894cfdf50.tar.bz2 gentoo-848dd0971ac36537ae2f0fb5f80839c894cfdf50.zip |
dev-db/pg_activity: version bump to 3.3.0
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/pg_activity/Manifest | 1 | ||||
-rw-r--r-- | dev-db/pg_activity/pg_activity-3.3.0.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-db/pg_activity/Manifest b/dev-db/pg_activity/Manifest index 74e7e874d1b7..91c98ed63da9 100644 --- a/dev-db/pg_activity/Manifest +++ b/dev-db/pg_activity/Manifest @@ -1 +1,2 @@ DIST pg_activity-3.1.1.tar.gz 427382 BLAKE2B a46090bca01f5b2bc73770df82acddeff17acab36b416f21b2a761cd1dc1631211bbac35a78ce94572824a6c269ad542c513f6a260f569adc21ae64150c767d3 SHA512 c8cd7812109d8237e4183e410723d978f219e5adf6e3fa6e3cc0dddf4bf6065df64b72a036004a1c59b96ff8eadfe96b06833b699177b29defccd47ddb55c8ff +DIST pg_activity-3.3.0.tar.gz 429012 BLAKE2B cc7a985c49713822ca0a250d6843820033e0ddac95429b5fbbb72e8beb6a6994020e6f2bdc0890341e72ad615d7da795e7411a817f5c25d275413852175f32b0 SHA512 94ffb48c5989fd47420c65c564a12fa0c2df7527e56c2832d00b04ed7fa75de77f3fce2c45e17435a4eecfd942665fa837147962fe695308455efb28c75cb5fc diff --git a/dev-db/pg_activity/pg_activity-3.3.0.ebuild b/dev-db/pg_activity/pg_activity-3.3.0.ebuild new file mode 100644 index 000000000000..987d27b7f245 --- /dev/null +++ b/dev-db/pg_activity/pg_activity-3.3.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +PYTHON_COMPAT=( python3_{9..11} ) + +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' +} + +src_install() { + distutils-r1_src_install + doman docs/man/${PN}.1 +} |