1 |
commit: 2afee7cf96e4a568c1d96af5b6d52ab027f0017b |
2 |
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 8 13:59:49 2021 +0000 |
4 |
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 8 13:59:49 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2afee7cf |
7 |
|
8 |
dev-db/pg_activity: version bump t 2.2.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
11 |
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org> |
12 |
|
13 |
dev-db/pg_activity/Manifest | 1 + |
14 |
dev-db/pg_activity/pg_activity-2.2.1.ebuild | 42 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 43 insertions(+) |
16 |
|
17 |
diff --git a/dev-db/pg_activity/Manifest b/dev-db/pg_activity/Manifest |
18 |
index 069c648ac6c..9cc0e2b2f7d 100644 |
19 |
--- a/dev-db/pg_activity/Manifest |
20 |
+++ b/dev-db/pg_activity/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST pg_activity-2.1.5.tar.gz 277854 BLAKE2B 49dce244d553f516c5d52a061d36a7c51940566e9a13286d3913758eebdc4dbdfbeef9b6954f1c6f41a83647d255e50ea23c6597605571a4563b3cb02fdaec87 SHA512 78d6560ec15b435eeeeaa132851337f04822d42e4288425d85a78842f321ad2c426041cb953fabc8f3f406b9d68e4001a3df5ba2c9223bc0facc2a65619979e0 |
23 |
+DIST pg_activity-2.2.1.tar.gz 279973 BLAKE2B fda51751d2d6e83eac1f9a731c085b0f37258a5aaf38116f2a90008554d6c8ce48cc615ee9b9a34ab9631b315dba6a763f634754e36b7b5590e08e3077878bb7 SHA512 8128dab29465b1521801a0abdbe242c08ee33aba63b6a29b04293e83383a66a302d96a1980afdc5e92b44aebb784f5b093f48dd22e3d2e703247f4f3408120e5 |
24 |
|
25 |
diff --git a/dev-db/pg_activity/pg_activity-2.2.1.ebuild b/dev-db/pg_activity/pg_activity-2.2.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..76fc218aada |
28 |
--- /dev/null |
29 |
+++ b/dev-db/pg_activity/pg_activity-2.2.1.ebuild |
30 |
@@ -0,0 +1,42 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI="7" |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Realtime PostgreSQL database server monitoring tool" |
40 |
+HOMEPAGE="https://github.com/dalibo/pg_activity" |
41 |
+SRC_URI="https://github.com/dalibo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+KEYWORDS="~amd64" |
43 |
+SLOT="0" |
44 |
+LICENSE="POSTGRESQL" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ dev-python/attrs[${PYTHON_USEDEP}] |
48 |
+ dev-python/blessed[${PYTHON_USEDEP}] |
49 |
+ dev-python/humanize[${PYTHON_USEDEP}] |
50 |
+ dev-python/psutil[${PYTHON_USEDEP}] |
51 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
52 |
+" |
53 |
+ |
54 |
+BDEPEND=" |
55 |
+ dev-python/attrs[${PYTHON_USEDEP}] |
56 |
+ test? ( |
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 |
+} |