From: | "Michał Górny" <mgorny@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] repo/gentoo:master commit in: sys-apps/lm-sensors/ |
Date: | Thu, 12 Sep 2019 14:29:01 |
Message-Id: | 1568298510.5491ccb5d4301718dbb72396f80cb032de67a8c2.mgorny@gentoo |
1 | commit: 5491ccb5d4301718dbb72396f80cb032de67a8c2 |
2 | Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 | AuthorDate: Wed Sep 11 08:39:18 2019 +0000 |
4 | Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 | CommitDate: Thu Sep 12 14:28:30 2019 +0000 |
6 | URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5491ccb5 |
7 | |
8 | sys-apps/lm-sensors: Remove obsolete PN rewrite |
9 | |
10 | Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 | |
12 | sys-apps/lm-sensors/lm-sensors-3.5.0_p20190505.ebuild | 8 +++----- |
13 | 1 file changed, 3 insertions(+), 5 deletions(-) |
14 | |
15 | diff --git a/sys-apps/lm-sensors/lm-sensors-3.5.0_p20190505.ebuild b/sys-apps/lm-sensors/lm-sensors-3.5.0_p20190505.ebuild |
16 | index f84df9880d5..e2d8209c6ad 100644 |
17 | --- a/sys-apps/lm-sensors/lm-sensors-3.5.0_p20190505.ebuild |
18 | +++ b/sys-apps/lm-sensors/lm-sensors-3.5.0_p20190505.ebuild |
19 | @@ -8,15 +8,13 @@ inherit linux-info systemd toolchain-funcs multilib-minimal |
20 | DESCRIPTION="Hardware Monitoring user-space utilities" |
21 | HOMEPAGE="https://hwmon.wiki.kernel.org/ https://github.com/lm-sensors/lm-sensors" |
22 | |
23 | -MY_PN="${PN/_/-}" |
24 | - |
25 | if [[ "${PV}" =~ .*_p[[:digit:]]{8}.* ]] ; then |
26 | COMMIT="2c8cca3d6cd60121b401734c1a24cfec7daed4fc" |
27 | - SRC_URI="https://github.com/lm-sensors/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
28 | - S="${WORKDIR}/${MY_PN}-${COMMIT}" |
29 | + SRC_URI="https://github.com/lm-sensors/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
30 | + S="${WORKDIR}/${PN}-${COMMIT}" |
31 | else |
32 | SRC_URI="https://github.com/lm-sensors/lm-sensors/archive/V$(ver_rs 1- -).tar.gz -> ${P}.tar.gz" |
33 | - S="${WORKDIR}/${PN/_/-}-$(ver_rs 1- -)" |
34 | + S="${WORKDIR}/${PN}-$(ver_rs 1- -)" |
35 | fi |
36 | |
37 | LICENSE="GPL-2+ LGPL-2.1" |