summaryrefslogtreecommitdiff
path: root/sys-process/bpytop
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-29 18:03:51 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-29 18:03:51 +0000
commitd7ed2b01311f15ba54fe8ea872aab7d59ab2b193 (patch)
tree1814dd2b5bbf2e7639fdafbeef48d228cfaf5e9b /sys-process/bpytop
parentabaa75b10f899ada8dd05b23cc03205064394bc6 (diff)
gentoo resync : 29.01.2021
Diffstat (limited to 'sys-process/bpytop')
-rw-r--r--sys-process/bpytop/Manifest5
-rw-r--r--sys-process/bpytop/bpytop-1.0.61.ebuild (renamed from sys-process/bpytop/bpytop-1.0.54.ebuild)12
-rw-r--r--sys-process/bpytop/files/bpytop-1.0.61-tests.patch20
3 files changed, 26 insertions, 11 deletions
diff --git a/sys-process/bpytop/Manifest b/sys-process/bpytop/Manifest
index 872b13797710..4b14ce61fed4 100644
--- a/sys-process/bpytop/Manifest
+++ b/sys-process/bpytop/Manifest
@@ -1,6 +1,7 @@
AUX bpytop-1.0.51-tests.patch 1376 BLAKE2B a66b87bd725b699bbf603215abda7e4fe30d043784666206c7e73b4304d2cc73bbacae4194ec1a09f7393ee1a02291db39d72e87384dab25a5270545dfb5132d SHA512 d045a28c577a06b851dd3fdb8619bb831ebe9a9b9c70ed1398879873516254817f29db385fb112fbd2626b23d48ad860996fe1845ef991b8f993e8c017748a78
+AUX bpytop-1.0.61-tests.patch 768 BLAKE2B 9b5628081b134310dc0bddfc6bbc2c378ab0d28199434a816475b7db6f0a0aac32f8861b48fbfc56ae338b1d25882a06dbc9c3de233fe0b105bab711c251b2a8 SHA512 b024e338b81034d3c10ccb6fda5a6e942fbf3481caeb4384111f12cfec40ff3a28f009d45854f0daf04c2945256de8b6a77bcb9c0d3424e69fea056508c5c074
DIST bpytop-1.0.52.tar.gz 616111 BLAKE2B f586189f1ae2067b1873a41235ac05f116aae5a6a965372d0ee778d714f80e6a41c163288ad1829313c0bef68f0f07235989d11351c48f4c78b953ceb4a4cb81 SHA512 68189c87890b637b9b3ff40ec4b0518a45023d3af0966cf0556c9dcc884d28660c42af37c69c06bbd03b514e198e5313fce143974ef11b67b95132070a77bfd4
-DIST bpytop-1.0.54.tar.gz 616658 BLAKE2B 0c639012ff69bb01f60943d63b179ea53a74affdfc0158ec0ce3e18a7c0ff855246450661fdef36f10fcb2f0de9e623d014cc41f19da375dddaac57f4b755e32 SHA512 4d47c00e6c642eaa48e7aa2d1df74050578f30cf5e40cda016b196e288f64819649e65090c3150a31889fea24e1859215d7fc06f419abad2d11f52efbb0ac7eb
+DIST bpytop-1.0.61.tar.gz 626468 BLAKE2B 84a9bbaec6af27b06af53acbe2e735421de3bc4567fcf7fb29d05f801f7414b4e035e67a2fecb27a45d4d91c1d6ef527a16775f44c2e5620ecf797794969a2d2 SHA512 639e0d94bd500477b8288400c6fa1769f1b7327733bec8292e72eb3024e26f6242901970dfc539d9fb309f69299ea934e02ab93226f907ddbbefb670bffb027c
EBUILD bpytop-1.0.52.ebuild 596 BLAKE2B c2ee81820f150f7c9ab9011cb7cb7f1a2f9feae156a44d1b5a96b395786ead328003b7f8931b4cd3a3a3de439e2aa345bf33551c0047fd75021398b618637c39 SHA512 e36c4f4c35ca76f94eb3491c09c3e880e29f40dce5b6ab3ab256a67a2dc5fe327f7a59c71ae1afc6cb0b6ddf7ad060f1baca8e5d441b835c90c4bb75a75267ff
-EBUILD bpytop-1.0.54.ebuild 711 BLAKE2B 599eff98cf7adf189f05e6e551cf8a8f4651e93f6efbf7d35e4f15dce488f18206417a851eea12bec620d33c4329ccea4efd2897af5b91cfa13564a6009df7a2 SHA512 5c5bf8589dfaa637bf62459c7a3c184162e0fd0b72b378633b02898ccab5381899079a9e490d9d8e7e84b616eae400ce434a391cb6a5131f234db62632bb86e6
+EBUILD bpytop-1.0.61.ebuild 601 BLAKE2B 5e24fac8e2a9dc761efff0b00b88acba14d0d9d6f2926e70ab76fdbf27a8e1dc6cecae3d94afdfa0a48a7a4b9553ccff4a099951b809adec28e203b14a0bb335 SHA512 3ce8d1b47c75b57c7923c000cb34e24c0ed39782aad81fe6f2966d9ac76c9b0b275595594594676b5ade2622ed1a2114bf12fb5986ab72c2861905e1eff27670
MISC metadata.xml 249 BLAKE2B 9e4529cdac0a55f14c36fde3fa54e30645a61a73d58e83ce460edf84d729bb3cd4cdc3e52d588690945508bc7d253b1edfb7734ebee94a88b75fee249a043c84 SHA512 ecad16da7f98e9b1cb1882147e6d8b7d541e4839d92fc26f3db1bea69ed633637da9259947b2b78d204a11d0edd3daa84f173613b6dc19110b5406c6fddfa7f0
diff --git a/sys-process/bpytop/bpytop-1.0.54.ebuild b/sys-process/bpytop/bpytop-1.0.61.ebuild
index 46708db1ebab..0dd9a9cadf0b 100644
--- a/sys-process/bpytop/bpytop-1.0.54.ebuild
+++ b/sys-process/bpytop/bpytop-1.0.61.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{6..9} pypy3 )
+PYTHON_COMPAT=( python3_{6..9} )
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
inherit distutils-r1
@@ -23,11 +23,5 @@ RDEPEND="
distutils_enable_tests pytest
PATCHES=(
- "${FILESDIR}/bpytop-1.0.51-tests.patch"
+ "${FILESDIR}/bpytop-1.0.61-tests.patch"
)
-
-src_install() {
- insinto "/usr/share/${PN}/themes"
- doins bpytop-themes/*.theme
- distutils-r1_src_install
-}
diff --git a/sys-process/bpytop/files/bpytop-1.0.61-tests.patch b/sys-process/bpytop/files/bpytop-1.0.61-tests.patch
new file mode 100644
index 000000000000..51cef1ce6394
--- /dev/null
+++ b/sys-process/bpytop/files/bpytop-1.0.61-tests.patch
@@ -0,0 +1,20 @@
+diff --git a/bpytop.py b/bpytop.py
+index 38d6e8b..12e4853 100755
+--- a/bpytop.py
++++ b/bpytop.py
+@@ -65,10 +65,11 @@ args.add_argument("-v", "--version", action="store_true", help = "show versio
+ args.add_argument("--debug", action="store_true", help = "start with loglevel set to DEBUG overriding value set in config")
+ stdargs = args.parse_args()
+
+-if stdargs.version:
+- print(f'bpytop version: {VERSION}\n'
+- f'psutil version: {".".join(str(x) for x in psutil.version_info)}')
+- raise SystemExit(0)
++if __name__ == "__main__":
++ if stdargs.version:
++ print(f'bpytop version: {VERSION}\n'
++ f'psutil version: {".".join(str(x) for x in psutil.version_info)}')
++ raise SystemExit(0)
+
+ ARG_BOXES: str = stdargs.boxes
+ LOW_COLOR: bool = stdargs.low_color