app-admin/s-tui: new package; add version 1.0.2 and live 9999

Package-Manager: Portage-3.0.5, Repoman-2.3.23
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
Maciej Barć
2020-09-06 05:27:02 +02:00
parent 11a7e82209
commit 4b24d666c5
4 changed files with 91 additions and 0 deletions

1
app-admin/s-tui/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST s-tui-1.0.2.tar.gz 2607552 BLAKE2B 8ed54c44aeab0ccf5806e8fa1cb566b23d9f27f82a281882b36de85c4800515385c558da59b1ba8f039da15d08696865d5ac201c85c1b74316a7757fc2f02125 SHA512 7b475a4be69b702bd0a916e5c4fbec2dc9976e5033d6afb24af0583eba62292d5f7ab26779e1b55d8adaa113c32984a15311d050e9457d791778734b9236d530

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>xgqt@protonmail.com</email>
<name>Maciej Barć</name>
</maintainer>
<upstream>
<remote-id type="github">PyCQA/redbaron</remote-id>
<remote-id type="pypi">redbaron</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,39 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit eutils distutils-r1
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/urwid-2.0.1[${PYTHON_USEDEP}]
>=dev-python/psutil-5.6.0[${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
}

View File

@@ -0,0 +1,39 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit eutils distutils-r1
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
}