summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2024-04-03 14:57:13 +0200
committerAgostino Sarubbo <ago@gentoo.org>2024-04-03 14:57:13 +0200
commitaabe3d4a31ac085c1f30728aa408cffa5516d767 (patch)
tree55762f84a473ef403cb0520ee2887deacbdd1c3b
parentdev-util/maturin: ensure -march is passed for s390x (diff)
downloadgentoo-aabe3d4a31ac085c1f30728aa408cffa5516d767.tar.gz
gentoo-aabe3d4a31ac085c1f30728aa408cffa5516d767.tar.bz2
gentoo-aabe3d4a31ac085c1f30728aa408cffa5516d767.zip
dev-db/pg_activity: version bump to 3.5.1
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
-rw-r--r--dev-db/pg_activity/Manifest1
-rw-r--r--dev-db/pg_activity/pg_activity-3.5.1.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-db/pg_activity/Manifest b/dev-db/pg_activity/Manifest
index a3c2b73b5921..880488b72bc5 100644
--- a/dev-db/pg_activity/Manifest
+++ b/dev-db/pg_activity/Manifest
@@ -1,2 +1,3 @@
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
+DIST pg_activity-3.5.1.tar.gz 436863 BLAKE2B 8312b2145ba89b807fb5e4e76f8eb57ad1f33079735e1be4a6ef7614034bbfbbb428567e90d7b8a6bc16dd65af186a3f6742e09584cef6136a7f8b3763724806 SHA512 f44f1ca08a250e35c056441f11c19e3618fba82a36f367df211ceb5787983ff76d2637a155de80c998680f9c0f79d66fcb38873d1b04368e73b5a06e650789c5
diff --git a/dev-db/pg_activity/pg_activity-3.5.1.ebuild b/dev-db/pg_activity/pg_activity-3.5.1.ebuild
new file mode 100644
index 000000000000..778d01d26dde
--- /dev/null
+++ b/dev-db/pg_activity/pg_activity-3.5.1.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
+}