1 |
commit: 4b24d666c5dc6e6c0913c836d580a59e7b33bdf2 |
2 |
Author: Maciej Barć <xgqt <AT> protonmail <DOT> com> |
3 |
AuthorDate: Sun Sep 6 03:27:02 2020 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Sun Sep 6 03:27:13 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4b24d666 |
7 |
|
8 |
app-admin/s-tui: new package; add version 1.0.2 and live 9999 |
9 |
|
10 |
Package-Manager: Portage-3.0.5, Repoman-2.3.23 |
11 |
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com> |
12 |
|
13 |
app-admin/s-tui/Manifest | 1 + |
14 |
app-admin/s-tui/metadata.xml | 12 ++++++++++++ |
15 |
app-admin/s-tui/s-tui-1.0.2.ebuild | 39 ++++++++++++++++++++++++++++++++++++++ |
16 |
app-admin/s-tui/s-tui-9999.ebuild | 39 ++++++++++++++++++++++++++++++++++++++ |
17 |
4 files changed, 91 insertions(+) |
18 |
|
19 |
diff --git a/app-admin/s-tui/Manifest b/app-admin/s-tui/Manifest |
20 |
new file mode 100644 |
21 |
index 0000000..d3eef48 |
22 |
--- /dev/null |
23 |
+++ b/app-admin/s-tui/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST s-tui-1.0.2.tar.gz 2607552 BLAKE2B 8ed54c44aeab0ccf5806e8fa1cb566b23d9f27f82a281882b36de85c4800515385c558da59b1ba8f039da15d08696865d5ac201c85c1b74316a7757fc2f02125 SHA512 7b475a4be69b702bd0a916e5c4fbec2dc9976e5033d6afb24af0583eba62292d5f7ab26779e1b55d8adaa113c32984a15311d050e9457d791778734b9236d530 |
26 |
|
27 |
diff --git a/app-admin/s-tui/metadata.xml b/app-admin/s-tui/metadata.xml |
28 |
new file mode 100644 |
29 |
index 0000000..4345ad7 |
30 |
--- /dev/null |
31 |
+++ b/app-admin/s-tui/metadata.xml |
32 |
@@ -0,0 +1,12 @@ |
33 |
+<?xml version="1.0" encoding="UTF-8"?> |
34 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
35 |
+<pkgmetadata> |
36 |
+ <maintainer type="person"> |
37 |
+ <email>xgqt@××××××××××.com</email> |
38 |
+ <name>Maciej Barć</name> |
39 |
+ </maintainer> |
40 |
+ <upstream> |
41 |
+ <remote-id type="github">PyCQA/redbaron</remote-id> |
42 |
+ <remote-id type="pypi">redbaron</remote-id> |
43 |
+ </upstream> |
44 |
+</pkgmetadata> |
45 |
|
46 |
diff --git a/app-admin/s-tui/s-tui-1.0.2.ebuild b/app-admin/s-tui/s-tui-1.0.2.ebuild |
47 |
new file mode 100644 |
48 |
index 0000000..b9e969a |
49 |
--- /dev/null |
50 |
+++ b/app-admin/s-tui/s-tui-1.0.2.ebuild |
51 |
@@ -0,0 +1,39 @@ |
52 |
+# Copyright 1999-2020 Gentoo Authors |
53 |
+# Distributed under the terms of the GNU General Public License v2 |
54 |
+ |
55 |
+EAPI=7 |
56 |
+ |
57 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
58 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
59 |
+ |
60 |
+inherit eutils distutils-r1 |
61 |
+ |
62 |
+DESCRIPTION="Stress-Terminal UI monitoring tool" |
63 |
+HOMEPAGE="https://amanusk.github.io/s-tui/" |
64 |
+ |
65 |
+if [[ ${PV} == *9999* ]]; then |
66 |
+ inherit git-r3 |
67 |
+ EGIT_REPO_URI="https://github.com/amanusk/${PN}.git" |
68 |
+ EGIT_SUBMODULES=() |
69 |
+else |
70 |
+ # Pypi source doesn't include tests |
71 |
+ SRC_URI="https://github.com/amanusk/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
72 |
+ KEYWORDS="~amd64" |
73 |
+fi |
74 |
+ |
75 |
+LICENSE="GPL-2" |
76 |
+SLOT="0" |
77 |
+ |
78 |
+RDEPEND=" |
79 |
+ >=dev-python/urwid-2.0.1[${PYTHON_USEDEP}] |
80 |
+ >=dev-python/psutil-5.6.0[${PYTHON_USEDEP}] |
81 |
+" |
82 |
+ |
83 |
+distutils_enable_tests unittest |
84 |
+ |
85 |
+pkg_postinst() { |
86 |
+ elog "To get additional features, some optional runtime dependencies" |
87 |
+ elog "may be installed:" |
88 |
+ elog "" |
89 |
+ optfeature "Stress options in program menu" app-benchmarks/stress |
90 |
+} |
91 |
|
92 |
diff --git a/app-admin/s-tui/s-tui-9999.ebuild b/app-admin/s-tui/s-tui-9999.ebuild |
93 |
new file mode 100644 |
94 |
index 0000000..69e4e74 |
95 |
--- /dev/null |
96 |
+++ b/app-admin/s-tui/s-tui-9999.ebuild |
97 |
@@ -0,0 +1,39 @@ |
98 |
+# Copyright 1999-2020 Gentoo Authors |
99 |
+# Distributed under the terms of the GNU General Public License v2 |
100 |
+ |
101 |
+EAPI=7 |
102 |
+ |
103 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
104 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
105 |
+ |
106 |
+inherit eutils distutils-r1 |
107 |
+ |
108 |
+DESCRIPTION="Stress-Terminal UI monitoring tool" |
109 |
+HOMEPAGE="https://amanusk.github.io/s-tui/" |
110 |
+ |
111 |
+if [[ ${PV} == *9999* ]]; then |
112 |
+ inherit git-r3 |
113 |
+ EGIT_REPO_URI="https://github.com/amanusk/${PN}.git" |
114 |
+ EGIT_SUBMODULES=() |
115 |
+else |
116 |
+ # Pypi source doesn't include tests |
117 |
+ SRC_URI="https://github.com/amanusk/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
118 |
+ KEYWORDS="~amd64" |
119 |
+fi |
120 |
+ |
121 |
+LICENSE="GPL-2" |
122 |
+SLOT="0" |
123 |
+ |
124 |
+RDEPEND=" |
125 |
+ >=dev-python/psutil-5.6.0[${PYTHON_USEDEP}] |
126 |
+ >=dev-python/urwid-2.0.1[${PYTHON_USEDEP}] |
127 |
+" |
128 |
+ |
129 |
+distutils_enable_tests unittest |
130 |
+ |
131 |
+pkg_postinst() { |
132 |
+ elog "To get additional features, some optional runtime dependencies" |
133 |
+ elog "may be installed:" |
134 |
+ elog "" |
135 |
+ optfeature "Stress options in program menu" app-benchmarks/stress |
136 |
+} |