public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: "Michał Górny" <mgorny@gentoo.org>
Subject: [gentoo-dev] [PATCH 03/25] sys-apps/lm-sensors: Remove obsolete PN rewrite
Date: Wed, 11 Sep 2019 11:55:57 +0200	[thread overview]
Message-ID: <20190911095619.46317-4-mgorny@gentoo.org> (raw)
In-Reply-To: <20190911095619.46317-1-mgorny@gentoo.org>

Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
 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.23.0



  parent reply	other threads:[~2019-09-11  9:57 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-11  9:55 [gentoo-dev] [PATCH 00/25] pkgmove + USE rename: lm_sensors → lm-sensors Michał Górny
2019-09-11  9:55 ` [gentoo-dev] [PATCH 01/25] sys-apps/lm_sensors: Inline PN as appropriate before renaming Michał Górny
2019-09-11  9:55 ` [gentoo-dev] [PATCH 02/25] Rename sys-apps/{lm_sensors → lm-sensors}, to match upstream Michał Górny
2019-09-11  9:55 ` Michał Górny [this message]
2019-09-11  9:55 ` [gentoo-dev] [PATCH 04/25] use.desc: Rename lm_sensors → lm-sensors Michał Górny
2019-09-11  9:55 ` [gentoo-dev] [PATCH 05/25] profiles: Update USE={lm_sensors → lm-sensors} Michał Górny
2019-09-11  9:56 ` [gentoo-dev] [PATCH 06/25] app-admin/gkrellm: Update for lm_sensors → lm-sensors Michał Górny
2019-09-11  9:56 ` [gentoo-dev] [PATCH 07/25] app-admin/sysstat: " Michał Górny
2019-09-11  9:56 ` [gentoo-dev] [PATCH 08/25] app-leechcraft/lc-hotsensors: " Michał Górny
2019-09-11  9:56 ` [gentoo-dev] [PATCH 09/25] app-metrics/collectd: " Michał Górny
2019-09-11  9:56 ` [gentoo-dev] [PATCH 10/25] dev-python/PySensors: " Michał Górny
2019-09-11  9:56 ` [gentoo-dev] [PATCH 11/25] kde-plasma/ksysguard: " Michał Górny
2019-09-11  9:56 ` [gentoo-dev] [PATCH 12/25] lxqt-base/lxqt-panel: " Michał Górny
2019-09-11  9:56 ` [gentoo-dev] [PATCH 13/25] mate-extra/mate-sensors-applet: " Michał Górny
2019-09-11  9:56 ` [gentoo-dev] [PATCH 14/25] media-libs/mesa: " Michał Górny
2019-09-11  9:56 ` [gentoo-dev] [PATCH 15/25] media-plugins/vdr-systeminfo: " Michał Górny
2019-09-11  9:56 ` [gentoo-dev] [PATCH 16/25] net-analyzer/net-snmp: " Michał Górny
2019-09-11  9:56 ` [gentoo-dev] [PATCH 17/25] net-misc/bfgminer: " Michał Górny
2019-09-11  9:56 ` [gentoo-dev] [PATCH 18/25] net-wireless/kismet: " Michał Górny
2019-09-11  9:56 ` [gentoo-dev] [PATCH 19/25] sys-apps/i2c-tools: " Michał Górny
2019-09-11  9:56 ` [gentoo-dev] [PATCH 20/25] www-apps/phpsysinfo: " Michał Górny
2019-09-11  9:56 ` [gentoo-dev] [PATCH 21/25] www-misc/monitorix: " Michał Górny
2019-09-11  9:56 ` [gentoo-dev] [PATCH 22/25] x11-misc/i3blocks: " Michał Górny
2019-09-11  9:56 ` [gentoo-dev] [PATCH 23/25] x11-misc/xsensors: " Michał Górny
2019-09-11  9:56 ` [gentoo-dev] [PATCH 24/25] x11-plugins/wmgtemp: " Michał Górny
2019-09-11  9:56 ` [gentoo-dev] [PATCH 25/25] xfce-extra/xfce4-sensors-plugin: " Michał Górny

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=20190911095619.46317-4-mgorny@gentoo.org \
    --to=mgorny@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