commit: 608bd6c267a6b1928d8a5fb0823cfe6d3aa35858
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 17 11:00:05 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Feb 17 11:00:36 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=608bd6c2
dev-db/pg_activity: version bump to 2.3.0
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-db/pg_activity/Manifest | 1 +
dev-db/pg_activity/pg_activity-2.3.0.ebuild | 42 +++++++++++++++++++++++++++++
2 files changed, 43 insertions(+)
diff --git a/dev-db/pg_activity/Manifest b/dev-db/pg_activity/Manifest
index 98a2e3fac95c..03d686373ecc 100644
--- a/dev-db/pg_activity/Manifest
+++ b/dev-db/pg_activity/Manifest
@@ -1 +1,2 @@
DIST pg_activity-2.2.1.tar.gz 279973 BLAKE2B
fda51751d2d6e83eac1f9a731c085b0f37258a5aaf38116f2a90008554d6c8ce48cc615ee9b9a34ab9631b315dba6a763f634754e36b7b5590e08e3077878bb7
SHA512
8128dab29465b1521801a0abdbe242c08ee33aba63b6a29b04293e83383a66a302d96a1980afdc5e92b44aebb784f5b093f48dd22e3d2e703247f4f3408120e5
+DIST pg_activity-2.3.0.tar.gz 283467 BLAKE2B
2f480ebd8b628718a33a772a942e2abfdd91a20cbde2c4aad41d150414bf8cec4478bab475702cd0a31f66af535b373ea706f9b05f948637410a6ad1ef6dcfd4
SHA512
972abddb1871bf4d0b74778ea988f024f33f38335597543d30a2d7549165269a4e5269b1cb649449ff92491501a70b7e3b6b930a154a7ff377e62f7231abb9a7
diff --git a/dev-db/pg_activity/pg_activity-2.3.0.ebuild
b/dev-db/pg_activity/pg_activity-2.3.0.ebuild
new file mode 100644
index 000000000000..bfd352359e1d
--- /dev/null
+++ b/dev-db/pg_activity/pg_activity-2.3.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+PYTHON_COMPAT=( python3_{8..10} )
+
+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: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
+}