commit:     72495953995a4a71f74f6aeaf1ae91eb6067779b
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 27 23:56:51 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Jun 27 23:57:08 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72495953

net-nntp/sabnzbd: fix MY_P

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 net-nntp/sabnzbd/sabnzbd-3.0.0_rc1_pre0.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/net-nntp/sabnzbd/sabnzbd-3.0.0_rc1_pre0.ebuild 
b/net-nntp/sabnzbd/sabnzbd-3.0.0_rc1_pre0.ebuild
index 634f3717c4f..2a8fb3992d6 100644
--- a/net-nntp/sabnzbd/sabnzbd-3.0.0_rc1_pre0.ebuild
+++ b/net-nntp/sabnzbd/sabnzbd-3.0.0_rc1_pre0.ebuild
@@ -9,11 +9,10 @@ PYTHON_REQ_USE="sqlite"
 
 inherit python-single-r1 user systemd
 
-MY_P="${P/sab/SAB}"
-MY_P="${MY_P/_rc/RC}"
-MY_P="${MY_P//_pre*}"
-
 MY_PV="${PV/_rc/RC}"
+MY_PV="${MY_PV//_pre*}"
+
+MY_P="${PN/sab/SAB}-${MY_PV}"
 
 DESCRIPTION="Binary newsgrabber with web-interface"
 HOMEPAGE="https://sabnzbd.org/";

Reply via email to