Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/bpytop/files/, sys-process/bpytop/
Date: Fri, 29 Jan 2021 18:54:24
Message-Id: 1611946456.35351dba4127c200cfc7d3c21be146a43c3f2fd6.chutzpah@gentoo
1 commit: 35351dba4127c200cfc7d3c21be146a43c3f2fd6
2 Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
3 AuthorDate: Fri Jan 29 18:54:16 2021 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 29 18:54:16 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35351dba
7
8 sys-process/bpytop: Remove old
9
10 Copyright: Sony Interactive Entertainment Inc.
11 Package-Manager: Portage-3.0.14, Repoman-3.0.2
12 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
13
14 sys-process/bpytop/Manifest | 1 -
15 sys-process/bpytop/bpytop-1.0.52.ebuild | 27 -------------
16 sys-process/bpytop/files/bpytop-1.0.51-tests.patch | 45 ----------------------
17 3 files changed, 73 deletions(-)
18
19 diff --git a/sys-process/bpytop/Manifest b/sys-process/bpytop/Manifest
20 index e75ecda8a44..8e28c20d086 100644
21 --- a/sys-process/bpytop/Manifest
22 +++ b/sys-process/bpytop/Manifest
23 @@ -1,2 +1 @@
24 -DIST bpytop-1.0.52.tar.gz 616111 BLAKE2B f586189f1ae2067b1873a41235ac05f116aae5a6a965372d0ee778d714f80e6a41c163288ad1829313c0bef68f0f07235989d11351c48f4c78b953ceb4a4cb81 SHA512 68189c87890b637b9b3ff40ec4b0518a45023d3af0966cf0556c9dcc884d28660c42af37c69c06bbd03b514e198e5313fce143974ef11b67b95132070a77bfd4
25 DIST bpytop-1.0.61.tar.gz 626468 BLAKE2B 84a9bbaec6af27b06af53acbe2e735421de3bc4567fcf7fb29d05f801f7414b4e035e67a2fecb27a45d4d91c1d6ef527a16775f44c2e5620ecf797794969a2d2 SHA512 639e0d94bd500477b8288400c6fa1769f1b7327733bec8292e72eb3024e26f6242901970dfc539d9fb309f69299ea934e02ab93226f907ddbbefb670bffb027c
26
27 diff --git a/sys-process/bpytop/bpytop-1.0.52.ebuild b/sys-process/bpytop/bpytop-1.0.52.ebuild
28 deleted file mode 100644
29 index 0621a07dc62..00000000000
30 --- a/sys-process/bpytop/bpytop-1.0.52.ebuild
31 +++ /dev/null
32 @@ -1,27 +0,0 @@
33 -# Copyright 2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -PYTHON_COMPAT=( python3_{6..9} )
39 -DISTUTILS_USE_SETUPTOOLS=pyproject.toml
40 -inherit distutils-r1
41 -
42 -DESCRIPTION="Linux/OSX/FreeBSD resource monitor"
43 -HOMEPAGE="https://github.com/aristocratos/bpytop"
44 -SRC_URI="https://github.com/aristocratos/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 -
46 -LICENSE="Apache-2.0"
47 -SLOT="0"
48 -KEYWORDS="~amd64 ~x86"
49 -IUSE="test"
50 -
51 -RDEPEND="
52 - >=dev-python/psutil-5.7.1[${PYTHON_USEDEP}]
53 -"
54 -
55 -distutils_enable_tests pytest
56 -
57 -PATCHES=(
58 - "${FILESDIR}/bpytop-1.0.51-tests.patch"
59 -)
60
61 diff --git a/sys-process/bpytop/files/bpytop-1.0.51-tests.patch b/sys-process/bpytop/files/bpytop-1.0.51-tests.patch
62 deleted file mode 100644
63 index 3e5de4751fd..00000000000
64 --- a/sys-process/bpytop/files/bpytop-1.0.51-tests.patch
65 +++ /dev/null
66 @@ -1,45 +0,0 @@
67 -diff --git a/bpytop.py b/bpytop.py
68 -index a1c2b3a..b1cc28e 100755
69 ---- a/bpytop.py
70 -+++ b/bpytop.py
71 -@@ -64,23 +64,27 @@ args.add_argument("-p" , "--proc" ,action="store_true" ,help ="Start in minimal
72 - args.add_argument("-s" , "--stat" ,action="store_true" ,help ="Start in minimal mode without process box")
73 - args.add_argument("-v" , "--version" ,action="store_true" ,help ="Show version info and exit")
74 - args.add_argument("--debug" ,action="store_true" ,help ="Start with loglevel set to DEBUG overriding value set in config")
75 --stdargs = args.parse_args()
76 --
77 --if stdargs.version:
78 -- print(f'bpytop version: {VERSION}\n'
79 -- f'psutil version: {".".join(str(x) for x in psutil.version_info)}')
80 -- raise SystemExit(0)
81 -
82 - ARG_MODE: str = ""
83 -
84 --if stdargs.full:
85 -- ARG_MODE = "full"
86 --elif stdargs.proc:
87 -- ARG_MODE = "proc"
88 --elif stdargs.stat:
89 -- ARG_MODE = "stat"
90 -+if __name__ == "__main__":
91 -+ stdargs = args.parse_args()
92 -+
93 -+ if stdargs.version:
94 -+ print(f'bpytop version: {VERSION}\n'
95 -+ f'psutil version: {".".join(str(x) for x in psutil.version_info)}')
96 -+ raise SystemExit(0)
97 -
98 --DEBUG = stdargs.debug
99 -+ if stdargs.full:
100 -+ ARG_MODE = "full"
101 -+ elif stdargs.proc:
102 -+ ARG_MODE = "proc"
103 -+ elif stdargs.stat:
104 -+ ARG_MODE = "stat"
105 -+
106 -+ DEBUG = stdargs.debug
107 -+else:
108 -+ DEBUG = False
109 -
110 - #? Variables ------------------------------------------------------------------------------------->
111 -