From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 41AE1138359 for ; Sun, 6 Sep 2020 03:27:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76158E088F; Sun, 6 Sep 2020 03:27:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 31D50E088F for ; Sun, 6 Sep 2020 03:27:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D6B14340DAD for ; Sun, 6 Sep 2020 03:27:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3DBFD31C for ; Sun, 6 Sep 2020 03:27:52 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1599362833.4b24d666c5dc6e6c0913c836d580a59e7b33bdf2.xgqt@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-admin/s-tui/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-admin/s-tui/Manifest app-admin/s-tui/metadata.xml app-admin/s-tui/s-tui-1.0.2.ebuild app-admin/s-tui/s-tui-9999.ebuild X-VCS-Directories: app-admin/s-tui/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 4b24d666c5dc6e6c0913c836d580a59e7b33bdf2 X-VCS-Branch: dev Date: Sun, 6 Sep 2020 03:27:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1bde6432-8eaa-4d3b-b94c-bed35a388687 X-Archives-Hash: 8319d98a07d09dc032637286c52e2f00 commit: 4b24d666c5dc6e6c0913c836d580a59e7b33bdf2 Author: Maciej Barć protonmail com> AuthorDate: Sun Sep 6 03:27:02 2020 +0000 Commit: Maciej Barć protonmail com> CommitDate: Sun Sep 6 03:27:13 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4b24d666 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ć protonmail.com> app-admin/s-tui/Manifest | 1 + app-admin/s-tui/metadata.xml | 12 ++++++++++++ app-admin/s-tui/s-tui-1.0.2.ebuild | 39 ++++++++++++++++++++++++++++++++++++++ app-admin/s-tui/s-tui-9999.ebuild | 39 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 91 insertions(+) diff --git a/app-admin/s-tui/Manifest b/app-admin/s-tui/Manifest new file mode 100644 index 0000000..d3eef48 --- /dev/null +++ b/app-admin/s-tui/Manifest @@ -0,0 +1 @@ +DIST s-tui-1.0.2.tar.gz 2607552 BLAKE2B 8ed54c44aeab0ccf5806e8fa1cb566b23d9f27f82a281882b36de85c4800515385c558da59b1ba8f039da15d08696865d5ac201c85c1b74316a7757fc2f02125 SHA512 7b475a4be69b702bd0a916e5c4fbec2dc9976e5033d6afb24af0583eba62292d5f7ab26779e1b55d8adaa113c32984a15311d050e9457d791778734b9236d530 diff --git a/app-admin/s-tui/metadata.xml b/app-admin/s-tui/metadata.xml new file mode 100644 index 0000000..4345ad7 --- /dev/null +++ b/app-admin/s-tui/metadata.xml @@ -0,0 +1,12 @@ + + + + + xgqt@protonmail.com + Maciej Barć + + + PyCQA/redbaron + redbaron + + diff --git a/app-admin/s-tui/s-tui-1.0.2.ebuild b/app-admin/s-tui/s-tui-1.0.2.ebuild new file mode 100644 index 0000000..b9e969a --- /dev/null +++ b/app-admin/s-tui/s-tui-1.0.2.ebuild @@ -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 +} diff --git a/app-admin/s-tui/s-tui-9999.ebuild b/app-admin/s-tui/s-tui-9999.ebuild new file mode 100644 index 0000000..69e4e74 --- /dev/null +++ b/app-admin/s-tui/s-tui-9999.ebuild @@ -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 +}