commit:     b30cd2728c53d5d23ee5066381c5d6592503afce
Author:     Sebastian Hamann <code <AT> ares-macrotechnology <DOT> com>
AuthorDate: Tue Dec 22 08:43:57 2020 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Thu Dec 31 20:17:37 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b30cd272

sys-process/bpytop: Install themes

Closes: https://bugs.gentoo.org/761223
Signed-off-by: Sebastian Hamann <code <AT> ares-macrotechnology.com>
Closes: https://github.com/gentoo/gentoo/pull/18760
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 sys-process/bpytop/bpytop-1.0.52-r1.ebuild | 33 ++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/sys-process/bpytop/bpytop-1.0.52-r1.ebuild 
b/sys-process/bpytop/bpytop-1.0.52-r1.ebuild
new file mode 100644
index 00000000000..518430e585a
--- /dev/null
+++ b/sys-process/bpytop/bpytop-1.0.52-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+inherit distutils-r1
+
+DESCRIPTION="Linux/OSX/FreeBSD resource monitor"
+HOMEPAGE="https://github.com/aristocratos/bpytop";
+SRC_URI="https://github.com/aristocratos/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+       >=dev-python/psutil-5.7.1[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+PATCHES=(
+       "${FILESDIR}/bpytop-1.0.51-tests.patch"
+)
+
+src_install() {
+       insinto "/usr/share/${PN}/themes"
+       doins bpytop-themes/*.theme
+       distutils-r1_src_install
+}

Reply via email to