* [gentoo-commits] repo/gentoo:master commit in: sys-process/bpytop/files/, sys-process/bpytop/
@ 2021-01-29 3:10 Patrick McLean
0 siblings, 0 replies; 3+ messages in thread
From: Patrick McLean @ 2021-01-29 3:10 UTC (permalink / raw
To: gentoo-commits
commit: 4e681e56df20722f7f313d51168a8bacf13909cc
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Fri Jan 29 03:10:25 2021 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Jan 29 03:10:25 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e681e56
sys-process/bpytop-1.0.61: Fix patch
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
sys-process/bpytop/bpytop-1.0.61.ebuild | 10 ++--------
sys-process/bpytop/files/bpytop-1.0.61-tests.patch | 20 ++++++++++++++++++++
2 files changed, 22 insertions(+), 8 deletions(-)
diff --git a/sys-process/bpytop/bpytop-1.0.61.ebuild b/sys-process/bpytop/bpytop-1.0.61.ebuild
index 3d2f869c509..0dd9a9cadf0 100644
--- a/sys-process/bpytop/bpytop-1.0.61.ebuild
+++ b/sys-process/bpytop/bpytop-1.0.61.ebuild
@@ -3,7 +3,7 @@
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 00000000000..51cef1ce639
--- /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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-process/bpytop/files/, sys-process/bpytop/
@ 2021-01-29 18:54 Patrick McLean
0 siblings, 0 replies; 3+ messages in thread
From: Patrick McLean @ 2021-01-29 18:54 UTC (permalink / raw
To: gentoo-commits
commit: 35351dba4127c200cfc7d3c21be146a43c3f2fd6
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Fri Jan 29 18:54:16 2021 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Jan 29 18:54:16 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35351dba
sys-process/bpytop: Remove old
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
sys-process/bpytop/Manifest | 1 -
sys-process/bpytop/bpytop-1.0.52.ebuild | 27 -------------
sys-process/bpytop/files/bpytop-1.0.51-tests.patch | 45 ----------------------
3 files changed, 73 deletions(-)
diff --git a/sys-process/bpytop/Manifest b/sys-process/bpytop/Manifest
index e75ecda8a44..8e28c20d086 100644
--- a/sys-process/bpytop/Manifest
+++ b/sys-process/bpytop/Manifest
@@ -1,2 +1 @@
-DIST bpytop-1.0.52.tar.gz 616111 BLAKE2B f586189f1ae2067b1873a41235ac05f116aae5a6a965372d0ee778d714f80e6a41c163288ad1829313c0bef68f0f07235989d11351c48f4c78b953ceb4a4cb81 SHA512 68189c87890b637b9b3ff40ec4b0518a45023d3af0966cf0556c9dcc884d28660c42af37c69c06bbd03b514e198e5313fce143974ef11b67b95132070a77bfd4
DIST bpytop-1.0.61.tar.gz 626468 BLAKE2B 84a9bbaec6af27b06af53acbe2e735421de3bc4567fcf7fb29d05f801f7414b4e035e67a2fecb27a45d4d91c1d6ef527a16775f44c2e5620ecf797794969a2d2 SHA512 639e0d94bd500477b8288400c6fa1769f1b7327733bec8292e72eb3024e26f6242901970dfc539d9fb309f69299ea934e02ab93226f907ddbbefb670bffb027c
diff --git a/sys-process/bpytop/bpytop-1.0.52.ebuild b/sys-process/bpytop/bpytop-1.0.52.ebuild
deleted file mode 100644
index 0621a07dc62..00000000000
--- a/sys-process/bpytop/bpytop-1.0.52.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# 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"
-)
diff --git a/sys-process/bpytop/files/bpytop-1.0.51-tests.patch b/sys-process/bpytop/files/bpytop-1.0.51-tests.patch
deleted file mode 100644
index 3e5de4751fd..00000000000
--- a/sys-process/bpytop/files/bpytop-1.0.51-tests.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-diff --git a/bpytop.py b/bpytop.py
-index a1c2b3a..b1cc28e 100755
---- a/bpytop.py
-+++ b/bpytop.py
-@@ -64,23 +64,27 @@ args.add_argument("-p" , "--proc" ,action="store_true" ,help ="Start in minimal
- args.add_argument("-s" , "--stat" ,action="store_true" ,help ="Start in minimal mode without process box")
- args.add_argument("-v" , "--version" ,action="store_true" ,help ="Show version info and exit")
- 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)
-
- ARG_MODE: str = ""
-
--if stdargs.full:
-- ARG_MODE = "full"
--elif stdargs.proc:
-- ARG_MODE = "proc"
--elif stdargs.stat:
-- ARG_MODE = "stat"
-+if __name__ == "__main__":
-+ 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)
-
--DEBUG = stdargs.debug
-+ if stdargs.full:
-+ ARG_MODE = "full"
-+ elif stdargs.proc:
-+ ARG_MODE = "proc"
-+ elif stdargs.stat:
-+ ARG_MODE = "stat"
-+
-+ DEBUG = stdargs.debug
-+else:
-+ DEBUG = False
-
- #? Variables ------------------------------------------------------------------------------------->
-
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-process/bpytop/files/, sys-process/bpytop/
@ 2021-03-21 1:54 Patrick McLean
0 siblings, 0 replies; 3+ messages in thread
From: Patrick McLean @ 2021-03-21 1:54 UTC (permalink / raw
To: gentoo-commits
commit: c1a4f6fdf5931b099fb442d966fe0234bf3dc102
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 21 01:53:41 2021 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Sun Mar 21 01:54:00 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1a4f6fd
sys-process/bpytop-1.0.63: Version bump
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
sys-process/bpytop/Manifest | 1 +
sys-process/bpytop/bpytop-1.0.63.ebuild | 33 ++++++++++++++++++++
sys-process/bpytop/files/bpytop-1.0.63-tests.patch | 35 ++++++++++++++++++++++
3 files changed, 69 insertions(+)
diff --git a/sys-process/bpytop/Manifest b/sys-process/bpytop/Manifest
index 8e28c20d086..a3bb080533f 100644
--- a/sys-process/bpytop/Manifest
+++ b/sys-process/bpytop/Manifest
@@ -1 +1,2 @@
DIST bpytop-1.0.61.tar.gz 626468 BLAKE2B 84a9bbaec6af27b06af53acbe2e735421de3bc4567fcf7fb29d05f801f7414b4e035e67a2fecb27a45d4d91c1d6ef527a16775f44c2e5620ecf797794969a2d2 SHA512 639e0d94bd500477b8288400c6fa1769f1b7327733bec8292e72eb3024e26f6242901970dfc539d9fb309f69299ea934e02ab93226f907ddbbefb670bffb027c
+DIST bpytop-1.0.63.tar.gz 627729 BLAKE2B a61d7c101c05d8e706b5c89f3c52dd02cf99e126d73f4cdb58adf8e474774e618abce7184a6fcf1c1b69f4c491b088c4c715d7b803c56933e1a8eeb8efa77fec SHA512 85334a43137466992fe3003f7f29b6a66b41732d1953fd5653ce277d35735127eef97607599906c0d0cfc7323852da75541b2ae79db22f843892097a2d3398e4
diff --git a/sys-process/bpytop/bpytop-1.0.63.ebuild b/sys-process/bpytop/bpytop-1.0.63.ebuild
new file mode 100644
index 00000000000..5b1ac4dd6d6
--- /dev/null
+++ b/sys-process/bpytop/bpytop-1.0.63.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..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.63-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.63-tests.patch b/sys-process/bpytop/files/bpytop-1.0.63-tests.patch
new file mode 100644
index 00000000000..3085c3e19ef
--- /dev/null
+++ b/sys-process/bpytop/files/bpytop-1.0.63-tests.patch
@@ -0,0 +1,35 @@
+diff --git a/bpytop.py b/bpytop.py
+index 16482c0..a2b18d6 100755
+--- a/bpytop.py
++++ b/bpytop.py
+@@ -63,16 +63,21 @@ args.add_argument("-b", "--boxes", action="store", dest="boxes", help = "which
+ args.add_argument("-lc", "--low-color", action="store_true", help = "disable truecolor, converts 24-bit colors to 256-color")
+ args.add_argument("-v", "--version", action="store_true", help = "show version info and exit")
+ 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)
+-
+-ARG_BOXES: str = stdargs.boxes
+-LOW_COLOR: bool = stdargs.low_color
+-DEBUG: bool = stdargs.debug
++if __name__ == "__main__":
++ 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)
++
++ ARG_BOXES: str = stdargs.boxes
++ LOW_COLOR: bool = stdargs.low_color
++ DEBUG: bool = stdargs.debug
++else:
++ ARG_BOXES = None
++ LOW_COLOR = False
++ DEBUG = False
+
+ #? Variables ------------------------------------------------------------------------------------->
+
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-21 1:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-21 1:54 [gentoo-commits] repo/gentoo:master commit in: sys-process/bpytop/files/, sys-process/bpytop/ Patrick McLean
-- strict thread matches above, loose matches on Subject: below --
2021-01-29 18:54 Patrick McLean
2021-01-29 3:10 Patrick McLean
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox