public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: sys-power/ZenStates-Linux/
@ 2021-04-04 21:53 Alessandro Barbieri
  0 siblings, 0 replies; 2+ messages in thread
From: Alessandro Barbieri @ 2021-04-04 21:53 UTC (permalink / raw
  To: gentoo-commits

commit:     b41d9565e7072f7fb7e07b8ec04d01bf36de37c9
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Apr  4 21:33:28 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> 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 <lssndrbarbieri <AT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<use>
+		<flag name="togglecode">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)</flag>
+	</use>
+	<upstream>
+		<bugs-to>https://github.com/r4m0n/ZenStates-Linux/issues</bugs-to>
+		<maintainer>
+			<name>Thiago Ramon Gonçalves Montoya</name>
+			<email>thiagoramon@gmail.com</email>
+		</maintainer>
+		<remote-id type="github">r4m0n/ZenStates-Linux</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-power/ZenStates-Linux/
@ 2022-05-30 17:21 Alessandro Barbieri
  0 siblings, 0 replies; 2+ messages in thread
From: Alessandro Barbieri @ 2022-05-30 17:21 UTC (permalink / raw
  To: gentoo-commits

commit:     405f35347b4d59f10028200a7169386841d63247
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon May 30 17:11:50 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon May 30 17:12:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=405f3534

sys-power/ZenStates-Linux: add 0_pre20170507, drop 0_p20170507

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-power/ZenStates-Linux/Manifest                 |  2 +-
 ...ebuild => ZenStates-Linux-0_pre20170507.ebuild} | 22 +++++++++++-----------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/sys-power/ZenStates-Linux/Manifest b/sys-power/ZenStates-Linux/Manifest
index 44fd66b13..ee12c8714 100644
--- a/sys-power/ZenStates-Linux/Manifest
+++ b/sys-power/ZenStates-Linux/Manifest
@@ -1 +1 @@
-DIST ZenStates-Linux-0bc27f4740e382f2a2896dc1dabfec1d0ac96818.tar.gz 3475 BLAKE2B ccbe505bc0f80b051fe589fbb0fecb5eb0dfb6861bb75a53c586406e35d8b9676428067386b6c0d77c806e20969f997d13593b34ffaa1d605e8f32a27a2121fb SHA512 832d0ae65aa2dfc9b1ef14f04bf75c9861acb0d84e9038f9de7c027b8b26a9cb27d2af011377bd47372424e2f918906d3d8ed7266f140790faacc0a19f419ee9
+DIST ZenStates-Linux-0bc27f4740e382f2a2896dc1dabfec1d0ac96818.gh.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_pre20170507.ebuild
similarity index 72%
rename from sys-power/ZenStates-Linux/ZenStates-Linux-0_p20170507.ebuild
rename to sys-power/ZenStates-Linux/ZenStates-Linux-0_pre20170507.ebuild
index 19d37f7bf..bbf158242 100644
--- a/sys-power/ZenStates-Linux/ZenStates-Linux-0_p20170507.ebuild
+++ b/sys-power/ZenStates-Linux/ZenStates-Linux-0_pre20170507.ebuild
@@ -1,31 +1,31 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
-PYTHON_COMPAT=( python3_{8,9} pypy3 )
+EAPI=8
+
+COMMIT=0bc27f4740e382f2a2896dc1dabfec1d0ac96818
+PYTHON_COMPAT=( python3_{8..11} 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"
+SRC_URI="https://github.com/r4m0n/${PN}/archive/${COMMIT}.tar.gz -> ${PN}-${COMMIT}.gh.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="-* ~amd64"
 IUSE="togglecode"
+
 RDEPEND="
 	${PYTHON_DEPS}
-	togglecode? (
-		$(python_gen_cond_dep '
-			dev-python/portio[${PYTHON_USEDEP}]
-		')
-	)
+	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"
 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-30 17:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-04 21:53 [gentoo-commits] repo/proj/guru:dev commit in: sys-power/ZenStates-Linux/ Alessandro Barbieri
  -- strict thread matches above, loose matches on Subject: below --
2022-05-30 17:21 Alessandro Barbieri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox