From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 C747B15800D for ; Thu, 6 Jul 2023 13:14:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F1F50E0855; Thu, 6 Jul 2023 13:14:51 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 D69C0E0855 for ; Thu, 6 Jul 2023 13:14:51 +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 D84A4335D49 for ; Thu, 6 Jul 2023 13:14:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0E08FAC3 for ; Thu, 6 Jul 2023 13:14:49 +0000 (UTC) From: "Agostino Sarubbo" 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" Message-ID: <1688649244.f3701e401d3efa7e5ee49fc59bcc002141928c44.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.4.2.ebuild X-VCS-Directories: dev-db/pg_activity/ X-VCS-Committer: ago X-VCS-Committer-Name: Agostino Sarubbo X-VCS-Revision: f3701e401d3efa7e5ee49fc59bcc002141928c44 X-VCS-Branch: master Date: Thu, 6 Jul 2023 13:14:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3bed5853-3766-4b4f-9ef0-599f309d8f24 X-Archives-Hash: bf1a53913c78869ef6cc84747fdbe18f commit: f3701e401d3efa7e5ee49fc59bcc002141928c44 Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Jul 6 13:14:04 2023 +0000 Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Jul 6 13:14:04 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3701e40 dev-db/pg_activity: version bump to 3.4.2 Signed-off-by: Agostino Sarubbo gentoo.org> dev-db/pg_activity/Manifest | 1 + dev-db/pg_activity/pg_activity-3.4.2.ebuild | 45 +++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-db/pg_activity/Manifest b/dev-db/pg_activity/Manifest index a3d5b0d51ca8..c5b1c42e92d8 100644 --- a/dev-db/pg_activity/Manifest +++ b/dev-db/pg_activity/Manifest @@ -1 +1,2 @@ DIST pg_activity-3.3.0.tar.gz 429012 BLAKE2B cc7a985c49713822ca0a250d6843820033e0ddac95429b5fbbb72e8beb6a6994020e6f2bdc0890341e72ad615d7da795e7411a817f5c25d275413852175f32b0 SHA512 94ffb48c5989fd47420c65c564a12fa0c2df7527e56c2832d00b04ed7fa75de77f3fce2c45e17435a4eecfd942665fa837147962fe695308455efb28c75cb5fc +DIST pg_activity-3.4.2.tar.gz 432160 BLAKE2B 3f9a54a9f58c2d107e01e15aad1e8bb58c2df589cb8f0d58288636c16adfad2156f2c140506dc15bd6eb26a75a441afbf9db8a2db0766a17867fd5b8ed50b9bc SHA512 adcc12277341c60a8959103c30d38bdc76d2315130f1bb92239e5c2c8d20f8fc4a786be3fe1f97e3c142e6c74303a631017e1a3e6feaf18266b7fd42c2e155f3 diff --git a/dev-db/pg_activity/pg_activity-3.4.2.ebuild b/dev-db/pg_activity/pg_activity-3.4.2.ebuild new file mode 100644 index 000000000000..bb4c7b32493d --- /dev/null +++ b/dev-db/pg_activity/pg_activity-3.4.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +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 +}