sci-physics/vgm: Adapt SRC_URI and drop *-linux keywords
authorOliver Freyermuth <o.freyermuth@googlemail.com>
Sun, 19 Apr 2020 15:41:26 +0000 (17:41 +0200)
committerGuilherme Amadio <amadio@gentoo.org>
Wed, 20 May 2020 12:37:26 +0000 (14:37 +0200)
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 <o.freyermuth@googlemail.com>
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
sci-physics/vgm/Manifest
sci-physics/vgm/vgm-4.5.ebuild
sci-physics/vgm/vgm-9999.ebuild

index e08e8e8df2d87d67f8524fd8bf40c87d365e4165..4f6a20815ad1c5d4c8694d7ae65f2f116e01f698 100644 (file)
@@ -1 +1 @@
-DIST vgm.4.5.tar.gz 9602541 BLAKE2B 183c8ed91546e5421c4f1a873a48285e9d2ab6bf4bb6a7bb7b46ab2c3c80a5dfc50cd5f97890c3994ada67014067349726e9f4d65cda1e1e4f1ae9484a4249ef SHA512 a873e24ed2c6cfc09d1828b60af9059a0bee341410e5cb77c9312aa72f1650a913779a0ff929d98910f01fcc5a3e6a04b352dd1a780a8bf60b1fa925b1985491
+DIST vgm-4.5.tar.gz 3474063 BLAKE2B 70c4fe0bd5eb9bc94607553ad30ffb625e66ef4e6f8a965b1289c1c7ad6f71d7eba035d2825ba8cd94705a0c223aa56408d3285748b068045eee3a29f556e3b2 SHA512 541fde12e12cc51ba065900788dbceb8e5b9a4e4615a4e4e0bbd2ba199b8a203b6927dbe23ead7bc183bd61f6b641e3e954fe7b78451c2d423d3a2b737f00572
index 66433421fc477d9a0f688b0764c78678e6780f8f..df15b5bdb7d1b8169c18e23f1dffdac1c3795cbf 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
@@ -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"
index 675c07b071b1e0b06ba1b5ab4202c683b6ac39e1..a6a93af9078e5367b921507f5a5fd7253fca3536 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
@@ -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"