From 612bcada5acc2349b940339c19ba4fc540a15ad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Sat, 27 Feb 2021 16:29:31 +0100 Subject: [PATCH] app-admin/s-tui: bump to 1.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Maciej Barć --- app-admin/s-tui/Manifest | 1 + app-admin/s-tui/s-tui-1.1.1.ebuild | 39 ++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 app-admin/s-tui/s-tui-1.1.1.ebuild diff --git a/app-admin/s-tui/Manifest b/app-admin/s-tui/Manifest index d3eef48d40..2ad3395aa3 100644 --- a/app-admin/s-tui/Manifest +++ b/app-admin/s-tui/Manifest @@ -1 +1,2 @@ DIST s-tui-1.0.2.tar.gz 2607552 BLAKE2B 8ed54c44aeab0ccf5806e8fa1cb566b23d9f27f82a281882b36de85c4800515385c558da59b1ba8f039da15d08696865d5ac201c85c1b74316a7757fc2f02125 SHA512 7b475a4be69b702bd0a916e5c4fbec2dc9976e5033d6afb24af0583eba62292d5f7ab26779e1b55d8adaa113c32984a15311d050e9457d791778734b9236d530 +DIST s-tui-1.1.1.tar.gz 2608558 BLAKE2B df3211e948acae7ad6b93bdd770cd0aae695da39e4746231f0aed7904dc35b480982ada249ab3dbc387b18dbf40029f2d8db23d71d764a141abe814c5c8117e6 SHA512 71de8fbdad7ebcf9e0ef84b35276315b6c23782c1e24cec1cabb5397e768aa2d5c3f0d3945e1693625b06c52dc1c4ceb7290f6262bf6cddca7afecdcff059bae diff --git a/app-admin/s-tui/s-tui-1.1.1.ebuild b/app-admin/s-tui/s-tui-1.1.1.ebuild new file mode 100644 index 0000000000..b218d46b9c --- /dev/null +++ b/app-admin/s-tui/s-tui-1.1.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 optfeature + +DESCRIPTION="Stress-Terminal UI monitoring tool" +HOMEPAGE="https://amanusk.github.io/s-tui/" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/amanusk/${PN}.git" + EGIT_SUBMODULES=() +else + # Pypi source doesn't include tests + SRC_URI="https://github.com/amanusk/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-2" +SLOT="0" + +RDEPEND=" + >=dev-python/psutil-5.6.0[${PYTHON_USEDEP}] + >=dev-python/urwid-2.0.1[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +pkg_postinst() { + elog "To get additional features, some optional runtime dependencies" + elog "may be installed:" + elog "" + optfeature "Stress options in program menu" app-benchmarks/stress +}