mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-admin/s-tui: 1.2.0, revbump, runtime fix
Comment out the failing import, it's not used anyway. Bug: https://github.com/amanusk/s-tui/issues/246 Signed-off-by: Joe Kappus <joe@wt.gd>
This commit is contained in:
13
app-admin/s-tui/files/s-tui-1.2.0-dropimport.patch
Normal file
13
app-admin/s-tui/files/s-tui-1.2.0-dropimport.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/s_tui/s_tui.py b/s_tui/s_tui.py
|
||||
index e39e6d9..c104e8f 100755
|
||||
--- a/s_tui/s_tui.py
|
||||
+++ b/s_tui/s_tui.py
|
||||
@@ -36,7 +36,7 @@ import sys
|
||||
|
||||
import psutil
|
||||
import urwid
|
||||
-import urwid.curses_display
|
||||
+#import urwid.curses_display
|
||||
|
||||
try:
|
||||
import configparser
|
||||
36
app-admin/s-tui/s-tui-1.2.0-r1.ebuild
Normal file
36
app-admin/s-tui/s-tui-1.2.0-r1.ebuild
Normal file
@@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
DESCRIPTION="Stress-Terminal UI monitoring tool"
|
||||
HOMEPAGE="https://amanusk.github.io/s-tui/"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-dropimport.patch" )
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/amanusk/${PN}.git"
|
||||
EGIT_SUBMODULES=()
|
||||
else
|
||||
SRC_URI="https://github.com/amanusk/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/psutil-7.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/urwid-3.0.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "Stress options in program menu" app-benchmarks/stress app-benchmarks/stress-ng
|
||||
}
|
||||
Reference in New Issue
Block a user