From ed2604a78b1cfd52db71439f0cc84b557dec11ee Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Sun, 19 Apr 2020 17:41:26 +0200 Subject: [PATCH] sci-physics/vgm: Adapt SRC_URI and drop *-linux keywords Upstream has moved to GitHub and sci-physics/root has dropped *-linux from keywords. Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Oliver Freyermuth Signed-off-by: Guilherme Amadio --- sci-physics/vgm/Manifest | 2 +- sci-physics/vgm/vgm-4.5.ebuild | 9 +++++---- sci-physics/vgm/vgm-9999.ebuild | 9 +++++---- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/sci-physics/vgm/Manifest b/sci-physics/vgm/Manifest index e08e8e8df2d8..4f6a20815ad1 100644 --- a/sci-physics/vgm/Manifest +++ b/sci-physics/vgm/Manifest @@ -1 +1 @@ -DIST vgm.4.5.tar.gz 9602541 BLAKE2B 183c8ed91546e5421c4f1a873a48285e9d2ab6bf4bb6a7bb7b46ab2c3c80a5dfc50cd5f97890c3994ada67014067349726e9f4d65cda1e1e4f1ae9484a4249ef SHA512 a873e24ed2c6cfc09d1828b60af9059a0bee341410e5cb77c9312aa72f1650a913779a0ff929d98910f01fcc5a3e6a04b352dd1a780a8bf60b1fa925b1985491 +DIST vgm-4.5.tar.gz 3474063 BLAKE2B 70c4fe0bd5eb9bc94607553ad30ffb625e66ef4e6f8a965b1289c1c7ad6f71d7eba035d2825ba8cd94705a0c223aa56408d3285748b068045eee3a29f556e3b2 SHA512 541fde12e12cc51ba065900788dbceb8e5b9a4e4615a4e4e0bbd2ba199b8a203b6927dbe23ead7bc183bd61f6b641e3e954fe7b78451c2d423d3a2b737f00572 diff --git a/sci-physics/vgm/vgm-4.5.ebuild b/sci-physics/vgm/vgm-4.5.ebuild index 66433421fc47..df15b5bdb7d1 100644 --- a/sci-physics/vgm/vgm-4.5.ebuild +++ b/sci-physics/vgm/vgm-4.5.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 @@ -9,9 +9,10 @@ if [[ ${PV} == *9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/vmc-project/${PN}.git" else - SRC_URI="http://ivana.home.cern.ch/ivana/${PN}.${PV}.tar.gz" - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - S="${WORKDIR}/${PN}" + MY_PV=$(ver_rs 1- -) + SRC_URI="https://github.com/vmc-project/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-${MY_PV}" fi DESCRIPTION="Virtual Geometry Model for High Energy Physics Experiments" diff --git a/sci-physics/vgm/vgm-9999.ebuild b/sci-physics/vgm/vgm-9999.ebuild index 675c07b071b1..a6a93af9078e 100644 --- a/sci-physics/vgm/vgm-9999.ebuild +++ b/sci-physics/vgm/vgm-9999.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 @@ -9,9 +9,10 @@ if [[ ${PV} == *9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/vmc-project/${PN}.git" else - SRC_URI="http://ivana.home.cern.ch/ivana/${PN}.${PV}.tar.gz" - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - S="${WORKDIR}/${PN}.${PV}" + MY_PV=$(ver_rs 1- -) + SRC_URI="https://github.com/vmc-project/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-${MY_PV}" fi DESCRIPTION="Virtual Geometry Model for High Energy Physics Experiments" -- 2.26.2