1 |
commit: d91fa40bc777293ee53ecfdc032cbee3be1272b1 |
2 |
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 29 14:16:03 2022 +0000 |
4 |
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 29 14:16:03 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d91fa40b |
7 |
|
8 |
dev-db/pg_activity: version bump to 3.0.1 |
9 |
|
10 |
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org> |
11 |
|
12 |
dev-db/pg_activity/Manifest | 1 + |
13 |
dev-db/pg_activity/pg_activity-3.0.1.ebuild | 43 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/dev-db/pg_activity/Manifest b/dev-db/pg_activity/Manifest |
17 |
index 2ad2e0710308..60f3e428cc6d 100644 |
18 |
--- a/dev-db/pg_activity/Manifest |
19 |
+++ b/dev-db/pg_activity/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pg_activity-3.0.0.tar.gz 293891 BLAKE2B 59e96c56ad0d315440b7fb62f3c9cb1c5131f4cf0a9dc6b0ccb153c4047d31edd47bc1711e151c070eeb965331397aa5f11545ba3bcd8e57e34764ddb1117544 SHA512 33ac8f9f143701a80c014e8067c547f9a998ff2fa0576fac1728162762d8542593d18718c89d23655a3c8270475933193a46af3bbf5856a4990d8efae0cc0732 |
22 |
+DIST pg_activity-3.0.1.tar.gz 421148 BLAKE2B cd6c97878671ca3881363b5ee7a67f3c6ed8f50ce36b57e087f818609e557f2d12e0405268b3c297939c31b254b0a6bce98d270954a8743645a04b86587ec778 SHA512 2a57d26090d862731b62494231005fdb13c7a132f7425a74f57c57dc004e4da61e39342d86386df4a08e5780c1f0fc170ccf962faa0872799586129e96743e30 |
23 |
|
24 |
diff --git a/dev-db/pg_activity/pg_activity-3.0.1.ebuild b/dev-db/pg_activity/pg_activity-3.0.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..6389027fa3a9 |
27 |
--- /dev/null |
28 |
+++ b/dev-db/pg_activity/pg_activity-3.0.1.ebuild |
29 |
@@ -0,0 +1,43 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI="8" |
34 |
+PYTHON_COMPAT=( python3_{9..10} ) |
35 |
+ |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Realtime PostgreSQL database server monitoring tool" |
39 |
+HOMEPAGE="https://github.com/dalibo/pg_activity" |
40 |
+SRC_URI="https://github.com/dalibo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+KEYWORDS="~amd64" |
42 |
+SLOT="0" |
43 |
+LICENSE="POSTGRESQL" |
44 |
+ |
45 |
+RDEPEND=" |
46 |
+ dev-python/attrs[${PYTHON_USEDEP}] |
47 |
+ dev-python/blessed[${PYTHON_USEDEP}] |
48 |
+ dev-python/humanize[${PYTHON_USEDEP}] |
49 |
+ dev-python/psutil[${PYTHON_USEDEP}] |
50 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
51 |
+" |
52 |
+ |
53 |
+BDEPEND=" |
54 |
+ dev-python/attrs[${PYTHON_USEDEP}] |
55 |
+ test? ( |
56 |
+ dev-python/psycopg:0[${PYTHON_USEDEP}] |
57 |
+ dev-python/psycopg:2[${PYTHON_USEDEP}] |
58 |
+ ) |
59 |
+" |
60 |
+ |
61 |
+distutils_enable_tests pytest |
62 |
+ |
63 |
+python_test() { |
64 |
+ # https://github.com/dalibo/pg_activity/issues/201 |
65 |
+ export COLUMNS="80" |
66 |
+ epytest -k 'not test_ui.txt and not test_data.py' |
67 |
+} |
68 |
+ |
69 |
+src_install() { |
70 |
+ distutils-r1_src_install |
71 |
+ doman docs/man/${PN}.1 |
72 |
+} |