From 9b054232108f5fbd3084346ea8f488fd74d00ada Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 21 May 2020 12:36:55 -0500 Subject: [PATCH] sci-libs/dealii: fix QA warnings Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Matthias Maier --- 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 94009ead1838..d3dc212526bc 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 2d31d5890b97..14d898de7089 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 2d31d5890b97..14d898de7089 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+" -- 2.26.2