From: "Gonçalo Negrier Duarte" <gonegrier.duarte@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-power/nvidia-exec/
Date: Thu, 23 May 2024 08:01:34 +0000 (UTC) [thread overview]
Message-ID: <1716451289.cf4b270f81e07c77e859c2674a341e7c1b586baa.gonegrier.duarte@gentoo> (raw)
commit: cf4b270f81e07c77e859c2674a341e7c1b586baa
Author: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Thu May 23 08:01:00 2024 +0000
Commit: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Thu May 23 08:01:29 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cf4b270f
sys-power/nvidia-exec: add 0.2.7, drop 0.2.7
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>
sys-power/nvidia-exec/Manifest | 2 +-
.../{nvidia-exec-0.2.1.ebuild => nvidia-exec-0.2.7.ebuild} | 14 +++-----------
sys-power/nvidia-exec/nvidia-exec-9999.ebuild | 14 +++-----------
3 files changed, 7 insertions(+), 23 deletions(-)
diff --git a/sys-power/nvidia-exec/Manifest b/sys-power/nvidia-exec/Manifest
index 6bd3acf47..865494e23 100644
--- a/sys-power/nvidia-exec/Manifest
+++ b/sys-power/nvidia-exec/Manifest
@@ -1 +1 @@
-DIST nvidia-exec-0.2.1.tar.gz 17932 BLAKE2B ca66d51e37671f1ff834e3b6088fc599dd9bf63690c4e0dbd7e9cb6e63ef717d70bdd2e4de9560152e48694047ed418dab80377833b47c8e8f9b4e887cb7f3e6 SHA512 dc1b5aa0229550bfb2703b8308be960323f509d1765c45e7b0ef760d6f691e56dd98a929e140e72accda5f1e690273d901a422a5c9d442a484988ed3aafafaee
+DIST nvidia-exec-0.2.7.tar.gz 19024 BLAKE2B d7efb69bdadde9a60482e79c9d6e6595d4b89e27635d78d4f63976b328a8d2361a1cd4fb18cfc1ac02990a1c460fc83b778258b49f913ef10b5c1b0fe0c8aba5 SHA512 a7d1f4bca5b0e103952f7e06babf85896f68a04357dd0a8c0dc551d09ca3045d382cd5412900d832ba21373c0cc519614575668e58334bebe8032b1fb3fa803d
diff --git a/sys-power/nvidia-exec/nvidia-exec-0.2.1.ebuild b/sys-power/nvidia-exec/nvidia-exec-0.2.7.ebuild
similarity index 84%
rename from sys-power/nvidia-exec/nvidia-exec-0.2.1.ebuild
rename to sys-power/nvidia-exec/nvidia-exec-0.2.7.ebuild
index b0fff053c..39f2bd3a1 100644
--- a/sys-power/nvidia-exec/nvidia-exec-0.2.1.ebuild
+++ b/sys-power/nvidia-exec/nvidia-exec-0.2.7.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..12} )
-inherit systemd # udev future use
+inherit distutils-r1 systemd
if [[ ${PV} == 9999 ]]; then
inherit git-r3
@@ -29,25 +29,17 @@ RDEPEND="
x11-drivers/nvidia-drivers
"
-#src_configure() {
-# econf --with-rulesdir="$(get_udevdir)"/rules.d
-#}
-
src_install() {
newbin "${WORKDIR}/${P}/nvx.py" nvx
systemd_dounit "${WORKDIR}/${P}/nvx.service"
insinto /usr/lib/modprobe.d
newins "${WORKDIR}/${P}/nvx-modprobe.conf" nvx.conf
- #udev_newrules "${WORKDIR}/${P}/nvx-udev.rules" 99-nvx
+ insinto /etc/
+ newins "${WORKDIR}/${P}/nvx-options.conf" nvx.conf
}
pkg_postinst() {
- #udev_reload
ewarn "Don't forget to enable the nvx service:\nsystemctl enable --now nvx\n"
ewarn "\nThe nvx.service prevents nvidia modules from loading and turn off the graphics card during boot.\n"
ewarn "It is not necessary to handle files, configurations, PCI buses, etc, all that is done automatically.\n"
}
-
-#pkg_postrm() {
- #udev_reload
-#}
diff --git a/sys-power/nvidia-exec/nvidia-exec-9999.ebuild b/sys-power/nvidia-exec/nvidia-exec-9999.ebuild
index b0fff053c..39f2bd3a1 100644
--- a/sys-power/nvidia-exec/nvidia-exec-9999.ebuild
+++ b/sys-power/nvidia-exec/nvidia-exec-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..12} )
-inherit systemd # udev future use
+inherit distutils-r1 systemd
if [[ ${PV} == 9999 ]]; then
inherit git-r3
@@ -29,25 +29,17 @@ RDEPEND="
x11-drivers/nvidia-drivers
"
-#src_configure() {
-# econf --with-rulesdir="$(get_udevdir)"/rules.d
-#}
-
src_install() {
newbin "${WORKDIR}/${P}/nvx.py" nvx
systemd_dounit "${WORKDIR}/${P}/nvx.service"
insinto /usr/lib/modprobe.d
newins "${WORKDIR}/${P}/nvx-modprobe.conf" nvx.conf
- #udev_newrules "${WORKDIR}/${P}/nvx-udev.rules" 99-nvx
+ insinto /etc/
+ newins "${WORKDIR}/${P}/nvx-options.conf" nvx.conf
}
pkg_postinst() {
- #udev_reload
ewarn "Don't forget to enable the nvx service:\nsystemctl enable --now nvx\n"
ewarn "\nThe nvx.service prevents nvidia modules from loading and turn off the graphics card during boot.\n"
ewarn "It is not necessary to handle files, configurations, PCI buses, etc, all that is done automatically.\n"
}
-
-#pkg_postrm() {
- #udev_reload
-#}
next reply other threads:[~2024-05-23 8:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-23 8:01 Gonçalo Negrier Duarte [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-24 22:09 [gentoo-commits] repo/proj/guru:dev commit in: sys-power/nvidia-exec/ Gonçalo Negrier Duarte
2024-05-21 21:20 Quincy Fleming
2024-05-21 21:20 Quincy Fleming
2024-05-21 15:59 Gonçalo Negrier Duarte
2024-02-14 16:50 Gonçalo Negrier Duarte
2024-02-14 16:46 Gonçalo Negrier Duarte
2024-02-09 21:36 Gonçalo Negrier Duarte
2023-08-05 12:02 Gonçalo Negrier Duarte
2023-07-16 6:18 Haelwenn Monnier
2023-07-13 20:34 Gonçalo Negrier Duarte
2023-07-13 20:34 Gonçalo Negrier Duarte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1716451289.cf4b270f81e07c77e859c2674a341e7c1b586baa.gonegrier.duarte@gentoo \
--to=gonegrier.duarte@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox