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 C205F13835A for ; Sun, 4 Apr 2021 21:53:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 086C1E0826; Sun, 4 Apr 2021 21:53:32 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 D9D98E0826 for ; Sun, 4 Apr 2021 21:53:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 B94DD33BF54 for ; Sun, 4 Apr 2021 21:53:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2AB024EE for ; Sun, 4 Apr 2021 21:53:29 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1617573207.b41d9565e7072f7fb7e07b8ec04d01bf36de37c9.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-power/ZenStates-Linux/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-power/ZenStates-Linux/Manifest sys-power/ZenStates-Linux/ZenStates-Linux-0_p20170507.ebuild sys-power/ZenStates-Linux/metadata.xml X-VCS-Directories: sys-power/ZenStates-Linux/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: b41d9565e7072f7fb7e07b8ec04d01bf36de37c9 X-VCS-Branch: dev Date: Sun, 4 Apr 2021 21:53:29 +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: a6381e8a-9f4e-4656-9556-56ed9cdd90f3 X-Archives-Hash: 94aa29cfffe2a15fedbdfbf314208c63 commit: b41d9565e7072f7fb7e07b8ec04d01bf36de37c9 Author: Alessandro Barbieri gmail com> AuthorDate: Sun Apr 4 21:33:28 2021 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Sun Apr 4 21:53:27 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b41d9565 sys-power/ZenStates-Linux: new package Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri gmail.com> sys-power/ZenStates-Linux/Manifest | 1 + .../ZenStates-Linux-0_p20170507.ebuild | 40 ++++++++++++++++++++++ sys-power/ZenStates-Linux/metadata.xml | 15 ++++++++ 3 files changed, 56 insertions(+) diff --git a/sys-power/ZenStates-Linux/Manifest b/sys-power/ZenStates-Linux/Manifest new file mode 100644 index 000000000..44fd66b13 --- /dev/null +++ b/sys-power/ZenStates-Linux/Manifest @@ -0,0 +1 @@ +DIST ZenStates-Linux-0bc27f4740e382f2a2896dc1dabfec1d0ac96818.tar.gz 3475 BLAKE2B ccbe505bc0f80b051fe589fbb0fecb5eb0dfb6861bb75a53c586406e35d8b9676428067386b6c0d77c806e20969f997d13593b34ffaa1d605e8f32a27a2121fb SHA512 832d0ae65aa2dfc9b1ef14f04bf75c9861acb0d84e9038f9de7c027b8b26a9cb27d2af011377bd47372424e2f918906d3d8ed7266f140790faacc0a19f419ee9 diff --git a/sys-power/ZenStates-Linux/ZenStates-Linux-0_p20170507.ebuild b/sys-power/ZenStates-Linux/ZenStates-Linux-0_p20170507.ebuild new file mode 100644 index 000000000..733455b11 --- /dev/null +++ b/sys-power/ZenStates-Linux/ZenStates-Linux-0_p20170507.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) + +inherit linux-info python-single-r1 + +DESCRIPTION="Dynamically edit AMD Ryzen processor P-States" +HOMEPAGE="https://github.com/r4m0n/ZenStates-Linux" +COMMIT=0bc27f4740e382f2a2896dc1dabfec1d0ac96818 +SRC_URI="https://github.com/r4m0n/ZenStates-Linux/archive/${COMMIT}.tar.gz -> ${PN}-${COMMIT}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="togglecode" +RDEPEND=" + ${PYTHON_DEPS} + togglecode? ( + $(python_gen_cond_dep ' + dev-python/portio[${PYTHON_USEDEP}] + ') + ) +" +DEPEND="${PYTHON_DEPS}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +DOCS=( README.md ) +S="${WORKDIR}/${PN}-${COMMIT}" + +CONFIG_CHECK="X86_MSR" + +src_install() { + newsbin zenstates.py zenstates + python_fix_shebang "${ED}/usr/sbin/zenstates" + if use togglecode ; then + newsbin togglecode.py togglecode + python_fix_shebang "${ED}/usr/sbin/togglecode" + fi + einstalldocs +} diff --git a/sys-power/ZenStates-Linux/metadata.xml b/sys-power/ZenStates-Linux/metadata.xml new file mode 100644 index 000000000..d24fb3d0b --- /dev/null +++ b/sys-power/ZenStates-Linux/metadata.xml @@ -0,0 +1,15 @@ + + + + + Install the togglecode utility to turn on/off the Q-Code display on ASUS Crosshair VI Hero motherboards (and other boards with a compatible Super I/O chip) + + + https://github.com/r4m0n/ZenStates-Linux/issues + + Thiago Ramon Gonçalves Montoya + thiagoramon@gmail.com + + r4m0n/ZenStates-Linux + +