commit:     f33dcb66200ec2b3c7034dc87a981a2e4db779c1
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  2 13:58:09 2024 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Apr  2 13:58:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f33dcb66

dev-db/pg_activity: version bump to 3.5.0

Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-db/pg_activity/Manifest                 |  1 +
 dev-db/pg_activity/pg_activity-3.5.0.ebuild | 45 +++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/dev-db/pg_activity/Manifest b/dev-db/pg_activity/Manifest
index 7815c6858608..a3c2b73b5921 100644
--- a/dev-db/pg_activity/Manifest
+++ b/dev-db/pg_activity/Manifest
@@ -1 +1,2 @@
 DIST pg_activity-3.4.2.tar.gz 432160 BLAKE2B 
3f9a54a9f58c2d107e01e15aad1e8bb58c2df589cb8f0d58288636c16adfad2156f2c140506dc15bd6eb26a75a441afbf9db8a2db0766a17867fd5b8ed50b9bc
 SHA512 
adcc12277341c60a8959103c30d38bdc76d2315130f1bb92239e5c2c8d20f8fc4a786be3fe1f97e3c142e6c74303a631017e1a3e6feaf18266b7fd42c2e155f3
+DIST pg_activity-3.5.0.tar.gz 436670 BLAKE2B 
16b19d269684fd059a1fcf22bb2a5a6eafda9295b5c95df936d7af7bce83d0480e90ab1893087b4a6f47f212081b308c1c82a5b059b912545b82eb82b99ba13b
 SHA512 
f635edc9a3595651d9990a3493c2fb5e5f17b3981a2075fbd1c67d0536cee94d374005cc8c1ad5cb75b5e7add3f4168b67f6c37b21491f71364583f7885afcbf

diff --git a/dev-db/pg_activity/pg_activity-3.5.0.ebuild 
b/dev-db/pg_activity/pg_activity-3.5.0.ebuild
new file mode 100644
index 000000000000..778d01d26dde
--- /dev/null
+++ b/dev-db/pg_activity/pg_activity-3.5.0.ebuild
@@ -0,0 +1,45 @@
+# 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="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
+}

Reply via email to