public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Viorel Munteanu" <ceamac@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-firmware/lenovolegionlinux/
Date: Wed, 30 Aug 2023 05:36:18 +0000 (UTC)	[thread overview]
Message-ID: <1693302766.6cdcee796e337d2450a630165b63f634ef43f511.ceamac@gentoo> (raw)

commit:     6cdcee796e337d2450a630165b63f634ef43f511
Author:     Gonçalo Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Tue Aug 29 09:49:04 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Tue Aug 29 09:52:46 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6cdcee79

sys-firmware/lenovolegionlinux: fix python build error (upstream change)

Signed-off-by: Gonçalo Duarte <gonegrier.duarte <AT> gmail.com>

 sys-firmware/lenovolegionlinux/lenovolegionlinux-9999.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/sys-firmware/lenovolegionlinux/lenovolegionlinux-9999.ebuild b/sys-firmware/lenovolegionlinux/lenovolegionlinux-9999.ebuild
index 4b0098d1dc..8eed68df1d 100644
--- a/sys-firmware/lenovolegionlinux/lenovolegionlinux-9999.ebuild
+++ b/sys-firmware/lenovolegionlinux/lenovolegionlinux-9999.ebuild
@@ -13,9 +13,13 @@ EGIT_REPO_URI="https://github.com/johnfanv2/LenovoLegionLinux.git"
 DESCRIPTION="Lenovo Legion Linux kernel module"
 HOMEPAGE="https://github.com/johnfanv2/LenovoLegionLinux"
 
-RDEPEND="sys-kernel/linux-headers
+BDEPEND="sys-kernel/linux-headers
 	sys-apps/lm-sensors
 	sys-apps/dmidecode
+	sys-apps/sed
+"
+
+RDEPEND="
 	legion-tools? ( dev-python/PyQt5 dev-python/pyyaml dev-python/argcomplete dev-python/darkdetect )
 	downgrade-nvidia? ( <=x11-drivers/nvidia-drivers-525 )
 	legion-acpi? ( sys-power/acpid )
@@ -39,6 +43,8 @@ src_compile() {
 	)
 	KERNELVERSION=${KV_FULL} linux-mod-r1_src_compile
 	if use legion-tools; then
+		#fix python package version
+		sed -i "s/version = _VERSION/version = 1.0.0/g" "${WORKDIR}/${P}/python/legion_linux/setup.cfg"
 		#Define build dir (fix sandboxed)
 		cd "${WORKDIR}/${P}/python/legion_linux"
 		distutils-r1_src_compile --build-dir "${WORKDIR}/${P}/python/legion_linux/build"


             reply	other threads:[~2023-08-30  5:36 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-30  5:36 Viorel Munteanu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-30 15:30 [gentoo-commits] repo/proj/guru:master commit in: sys-firmware/lenovolegionlinux/ Julien Roy
2024-11-25  1:37 Haelwenn Monnier
2024-08-23  0:18 David Roman
2024-04-02 22:48 Julien Roy
2024-03-29 14:15 Julien Roy
2024-03-17 22:50 Julien Roy
2024-03-17 15:12 Julien Roy
2024-03-17 15:12 Julien Roy
2024-03-14 10:19 David Roman
2024-03-14 10:19 David Roman
2024-03-10 21:26 Haelwenn Monnier
2023-11-29 22:47 David Roman
2023-08-24 22:41 David Roman
2023-08-01 14:17 [gentoo-commits] repo/proj/guru:master commit in: sys-firmware/LenovoLegionLinux/ David Roman
2023-07-29 14:06 Florian Schmaus
2023-07-27 12:04 David Roman
2023-07-27 12:04 David Roman
2023-07-16  6:18 Haelwenn Monnier
2023-07-08  2:43 [gentoo-commits] repo/proj/guru:master commit in: sys-firmware/lenovolegionlinux/ Haelwenn Monnier
2023-07-08  2:43 Haelwenn Monnier

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=1693302766.6cdcee796e337d2450a630165b63f634ef43f511.ceamac@gentoo \
    --to=ceamac@gentoo.org \
    --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