1 |
commit: 8f7e6fac8e9721761d7e7c73450028f54a8c2be1 |
2 |
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 21 13:39:54 2022 +0000 |
4 |
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 21 13:39:54 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f7e6fac |
7 |
|
8 |
dev-db/pg_activity: version bump to 3.0.0 |
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.0.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 519fe54ea21c..0fe9b195f6f9 100644 |
18 |
--- a/dev-db/pg_activity/Manifest |
19 |
+++ b/dev-db/pg_activity/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pg_activity-2.3.1.tar.gz 283216 BLAKE2B d8a7382f3343b0e339e69e31a19bdc628d3c79ff12b037500f67900c6875272dffec3fdda8f51e20dd05a2e4e917cdac1562a8e2a9e80362358ba43ba3bdf44f SHA512 26c29ec1701cd2eead8314d2a4df247557164231c53323fb3bed12fbf346e14247addfa508af94cee685a2f0084a26c26118896c4c3395e41fb0eee4a4da2d27 |
22 |
+DIST pg_activity-3.0.0.tar.gz 293891 BLAKE2B 59e96c56ad0d315440b7fb62f3c9cb1c5131f4cf0a9dc6b0ccb153c4047d31edd47bc1711e151c070eeb965331397aa5f11545ba3bcd8e57e34764ddb1117544 SHA512 33ac8f9f143701a80c014e8067c547f9a998ff2fa0576fac1728162762d8542593d18718c89d23655a3c8270475933193a46af3bbf5856a4990d8efae0cc0732 |
23 |
|
24 |
diff --git a/dev-db/pg_activity/pg_activity-3.0.0.ebuild b/dev-db/pg_activity/pg_activity-3.0.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..6389027fa3a9 |
27 |
--- /dev/null |
28 |
+++ b/dev-db/pg_activity/pg_activity-3.0.0.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 |
+} |