sci-libs/dealii: fix QA warnings
authorMatthias Maier <tamiko@gentoo.org>
Thu, 21 May 2020 17:36:55 +0000 (12:36 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Thu, 21 May 2020 17:47:48 +0000 (12:47 -0500)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
sci-libs/dealii/dealii-9.1.1.ebuild
sci-libs/dealii/dealii-9.2.0.ebuild
sci-libs/dealii/dealii-9999.ebuild

index 94009ead1838db46c9ee6142515170155fd069c5..d3dc212526bccbb878182c379f02a648a6d5b0f1 100644 (file)
@@ -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+"
index 2d31d5890b97819f1f01801a4df64af1b44fae27..14d898de7089d04b21e720f1757ebf7376ff7651 100644 (file)
@@ -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+"
index 2d31d5890b97819f1f01801a4df64af1b44fae27..14d898de7089d04b21e720f1757ebf7376ff7651 100644 (file)
@@ -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+"