From 5491ccb5d4301718dbb72396f80cb032de67a8c2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 11 Sep 2019 10:39:18 +0200 Subject: [PATCH] sys-apps/lm-sensors: Remove obsolete PN rewrite MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- sys-apps/lm-sensors/lm-sensors-3.5.0_p20190505.ebuild | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 index f84df9880d5c..e2d8209c6ad9 100644 --- a/sys-apps/lm-sensors/lm-sensors-3.5.0_p20190505.ebuild +++ b/sys-apps/lm-sensors/lm-sensors-3.5.0_p20190505.ebuild @@ -8,15 +8,13 @@ inherit linux-info systemd toolchain-funcs multilib-minimal DESCRIPTION="Hardware Monitoring user-space utilities" HOMEPAGE="https://hwmon.wiki.kernel.org/ https://github.com/lm-sensors/lm-sensors" -MY_PN="${PN/_/-}" - if [[ "${PV}" =~ .*_p[[:digit:]]{8}.* ]] ; then COMMIT="2c8cca3d6cd60121b401734c1a24cfec7daed4fc" - SRC_URI="https://github.com/lm-sensors/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${MY_PN}-${COMMIT}" + SRC_URI="https://github.com/lm-sensors/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" else SRC_URI="https://github.com/lm-sensors/lm-sensors/archive/V$(ver_rs 1- -).tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN/_/-}-$(ver_rs 1- -)" + S="${WORKDIR}/${PN}-$(ver_rs 1- -)" fi LICENSE="GPL-2+ LGPL-2.1" -- 2.26.2