1 |
commit: b30cd2728c53d5d23ee5066381c5d6592503afce |
2 |
Author: Sebastian Hamann <code <AT> ares-macrotechnology <DOT> com> |
3 |
AuthorDate: Tue Dec 22 08:43:57 2020 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 31 20:17:37 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b30cd272 |
7 |
|
8 |
sys-process/bpytop: Install themes |
9 |
|
10 |
Closes: https://bugs.gentoo.org/761223 |
11 |
Signed-off-by: Sebastian Hamann <code <AT> ares-macrotechnology.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/18760 |
13 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
14 |
|
15 |
sys-process/bpytop/bpytop-1.0.52-r1.ebuild | 33 ++++++++++++++++++++++++++++++ |
16 |
1 file changed, 33 insertions(+) |
17 |
|
18 |
diff --git a/sys-process/bpytop/bpytop-1.0.52-r1.ebuild b/sys-process/bpytop/bpytop-1.0.52-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..518430e585a |
21 |
--- /dev/null |
22 |
+++ b/sys-process/bpytop/bpytop-1.0.52-r1.ebuild |
23 |
@@ -0,0 +1,33 @@ |
24 |
+# Copyright 2020 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=7 |
28 |
+ |
29 |
+PYTHON_COMPAT=( python3_{6..9} ) |
30 |
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml |
31 |
+inherit distutils-r1 |
32 |
+ |
33 |
+DESCRIPTION="Linux/OSX/FreeBSD resource monitor" |
34 |
+HOMEPAGE="https://github.com/aristocratos/bpytop" |
35 |
+SRC_URI="https://github.com/aristocratos/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
36 |
+ |
37 |
+LICENSE="Apache-2.0" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64 ~x86" |
40 |
+IUSE="test" |
41 |
+ |
42 |
+RDEPEND=" |
43 |
+ >=dev-python/psutil-5.7.1[${PYTHON_USEDEP}] |
44 |
+" |
45 |
+ |
46 |
+distutils_enable_tests pytest |
47 |
+ |
48 |
+PATCHES=( |
49 |
+ "${FILESDIR}/bpytop-1.0.51-tests.patch" |
50 |
+) |
51 |
+ |
52 |
+src_install() { |
53 |
+ insinto "/usr/share/${PN}/themes" |
54 |
+ doins bpytop-themes/*.theme |
55 |
+ distutils-r1_src_install |
56 |
+} |