commit:     9b054232108f5fbd3084346ea8f488fd74d00ada
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu May 21 17:36:55 2020 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu May 21 17:47:48 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b054232

sci-libs/dealii: fix QA warnings

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-libs/dealii/dealii-9.1.1.ebuild | 12 +++---------
 sci-libs/dealii/dealii-9.2.0.ebuild |  8 ++------
 sci-libs/dealii/dealii-9999.ebuild  |  8 ++------
 3 files changed, 7 insertions(+), 21 deletions(-)

diff --git a/sci-libs/dealii/dealii-9.1.1.ebuild 
b/sci-libs/dealii/dealii-9.1.1.ebuild
index 94009ead183..d3dc212526b 100644
--- a/sci-libs/dealii/dealii-9.1.1.ebuild
+++ b/sci-libs/dealii/dealii-9.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -19,15 +19,9 @@ if [[ ${PV} = *9999* ]]; then
        SRC_URI=""
        KEYWORDS=""
 else
-       MY_PV="${PV//0_rc/rc}"
-       MY_P="${PN}-${MY_PV}"
-       
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}.tar.gz
 -> ${P}.tar.gz
-               doc? (
-                       
https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}-offline_documentation.tar.gz
-                       -> ${P}-offline_documentation.tar.gz
-                       )"
+       
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz
+               doc? ( 
https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}-offline_documentation.tar.gz
 )"
        KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-       S="${WORKDIR}/${PN}-${MY_PV}"
 fi
 
 LICENSE="LGPL-2.1+"

diff --git a/sci-libs/dealii/dealii-9.2.0.ebuild 
b/sci-libs/dealii/dealii-9.2.0.ebuild
index 2d31d5890b9..14d898de708 100644
--- a/sci-libs/dealii/dealii-9.2.0.ebuild
+++ b/sci-libs/dealii/dealii-9.2.0.ebuild
@@ -19,15 +19,11 @@ if [[ ${PV} = *9999* ]]; then
        SRC_URI=""
        KEYWORDS=""
 else
-       MY_PV="${PV//0_rc/rc}"
-       MY_P="${PN}-${MY_PV}"
-       
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}.tar.gz
 -> ${P}.tar.gz
+       
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz
                doc? (
-                       
https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}-offline_documentation.tar.gz
-                       -> ${P}-offline_documentation.tar.gz
+                       
https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}-offline_documentation.tar.gz
                        )"
        KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-       S="${WORKDIR}/${PN}-${MY_PV}"
 fi
 
 LICENSE="LGPL-2.1+"

diff --git a/sci-libs/dealii/dealii-9999.ebuild 
b/sci-libs/dealii/dealii-9999.ebuild
index 2d31d5890b9..14d898de708 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -19,15 +19,11 @@ if [[ ${PV} = *9999* ]]; then
        SRC_URI=""
        KEYWORDS=""
 else
-       MY_PV="${PV//0_rc/rc}"
-       MY_P="${PN}-${MY_PV}"
-       
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}.tar.gz
 -> ${P}.tar.gz
+       
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz
                doc? (
-                       
https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}-offline_documentation.tar.gz
-                       -> ${P}-offline_documentation.tar.gz
+                       
https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}-offline_documentation.tar.gz
                        )"
        KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-       S="${WORKDIR}/${PN}-${MY_PV}"
 fi
 
 LICENSE="LGPL-2.1+"

Reply via email to