mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
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:
1
app-admin/s-tui/Manifest
Normal file
1
app-admin/s-tui/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST s-tui-1.0.2.tar.gz 2607552 BLAKE2B 8ed54c44aeab0ccf5806e8fa1cb566b23d9f27f82a281882b36de85c4800515385c558da59b1ba8f039da15d08696865d5ac201c85c1b74316a7757fc2f02125 SHA512 7b475a4be69b702bd0a916e5c4fbec2dc9976e5033d6afb24af0583eba62292d5f7ab26779e1b55d8adaa113c32984a15311d050e9457d791778734b9236d530
|
||||
12
app-admin/s-tui/metadata.xml
Normal file
12
app-admin/s-tui/metadata.xml
Normal 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>
|
||||
39
app-admin/s-tui/s-tui-1.0.2.ebuild
Normal file
39
app-admin/s-tui/s-tui-1.0.2.ebuild
Normal 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
|
||||
}
|
||||
39
app-admin/s-tui/s-tui-9999.ebuild
Normal file
39
app-admin/s-tui/s-tui-9999.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user