From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1440679-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 53085158095
	for <garchives@archives.gentoo.org>; Thu, 29 Sep 2022 14:16:39 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 70CD0E096F;
	Thu, 29 Sep 2022 14:16:38 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 55D15E096F
	for <gentoo-commits@lists.gentoo.org>; Thu, 29 Sep 2022 14:16:38 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 3D74E340E33
	for <gentoo-commits@lists.gentoo.org>; Thu, 29 Sep 2022 14:16:37 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 7F9C65E6
	for <gentoo-commits@lists.gentoo.org>; Thu, 29 Sep 2022 14:16:35 +0000 (UTC)
From: "Agostino Sarubbo" <ago@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Agostino Sarubbo" <ago@gentoo.org>
Message-ID: <1664460963.d91fa40bc777293ee53ecfdc032cbee3be1272b1.ago@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/pg_activity/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-db/pg_activity/Manifest dev-db/pg_activity/pg_activity-3.0.1.ebuild
X-VCS-Directories: dev-db/pg_activity/
X-VCS-Committer: ago
X-VCS-Committer-Name: Agostino Sarubbo
X-VCS-Revision: d91fa40bc777293ee53ecfdc032cbee3be1272b1
X-VCS-Branch: master
Date: Thu, 29 Sep 2022 14:16:35 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: eb758e73-fafc-48d3-b7e6-4e3cfe174b72
X-Archives-Hash: daebce97c502ae826bae08391b61b6be

commit:     d91fa40bc777293ee53ecfdc032cbee3be1272b1
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 29 14:16:03 2022 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Sep 29 14:16:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d91fa40b

dev-db/pg_activity: version bump to 3.0.1

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

 dev-db/pg_activity/Manifest                 |  1 +
 dev-db/pg_activity/pg_activity-3.0.1.ebuild | 43 +++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/dev-db/pg_activity/Manifest b/dev-db/pg_activity/Manifest
index 2ad2e0710308..60f3e428cc6d 100644
--- a/dev-db/pg_activity/Manifest
+++ b/dev-db/pg_activity/Manifest
@@ -1 +1,2 @@
 DIST pg_activity-3.0.0.tar.gz 293891 BLAKE2B 59e96c56ad0d315440b7fb62f3c9cb1c5131f4cf0a9dc6b0ccb153c4047d31edd47bc1711e151c070eeb965331397aa5f11545ba3bcd8e57e34764ddb1117544 SHA512 33ac8f9f143701a80c014e8067c547f9a998ff2fa0576fac1728162762d8542593d18718c89d23655a3c8270475933193a46af3bbf5856a4990d8efae0cc0732
+DIST pg_activity-3.0.1.tar.gz 421148 BLAKE2B cd6c97878671ca3881363b5ee7a67f3c6ed8f50ce36b57e087f818609e557f2d12e0405268b3c297939c31b254b0a6bce98d270954a8743645a04b86587ec778 SHA512 2a57d26090d862731b62494231005fdb13c7a132f7425a74f57c57dc004e4da61e39342d86386df4a08e5780c1f0fc170ccf962faa0872799586129e96743e30

diff --git a/dev-db/pg_activity/pg_activity-3.0.1.ebuild b/dev-db/pg_activity/pg_activity-3.0.1.ebuild
new file mode 100644
index 000000000000..6389027fa3a9
--- /dev/null
+++ b/dev-db/pg_activity/pg_activity-3.0.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+PYTHON_COMPAT=( python3_{9..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: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
+}