commit:     c0b5f50173d2e972c19b6dec5ea2e6a6fb1064cf
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Tue Oct  4 21:22:29 2022 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Oct 10 14:18:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0b5f501

sci-physics/geant4_vmc: add 6.1_p2

Closes: https://github.com/gentoo/gentoo/pull/27627

Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>

 sci-physics/geant4_vmc/Manifest                                     | 1 +
 .../geant4_vmc/{geant4_vmc-9999.ebuild => geant4_vmc-6.1_p2.ebuild} | 6 +++---
 sci-physics/geant4_vmc/geant4_vmc-9999.ebuild                       | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/sci-physics/geant4_vmc/Manifest b/sci-physics/geant4_vmc/Manifest
index 06d2dda7d99e..b0c2f3acdede 100644
--- a/sci-physics/geant4_vmc/Manifest
+++ b/sci-physics/geant4_vmc/Manifest
@@ -1,3 +1,4 @@
 DIST geant4_vmc-5.4.tar.gz 7363185 BLAKE2B 
3f1738a6d99d7cad1df1249a086b5257ff1d9c5c23657e12720b2d75ed61a96d6e45f2c964c471ba093d1c70fffb5b3df5a0d15fd7bdd54ab78a8f225649f0a1
 SHA512 
26b53c4b3a10943b9a5aa970dfc8c09b4086a385c6fea2a914bf8b020044032f9b73df7fd054185eba86f66ba50cd86372d0e874c0642bb3e357fba499fd7675
 DIST geant4_vmc-6.0.tar.gz 5649857 BLAKE2B 
905ee76a579e25ee6259aafe978b0f202313ae6ce7f62e424c663e5a22f3c77e9a2eb3a4d807515267087c9e95aebb962927728da8110248136d69bcb8b1fc56
 SHA512 
ee21ec2d493d4ef227b294818ca0e6940c437e069197009f4bfab0fa1c282b4ad0dc5744157077ccb3b8953c4a167492571a56f68def2152730bcb79892f56fc
 DIST geant4_vmc-6.1.tar.gz 5604048 BLAKE2B 
74d8e7fd20f9abd0205ccb3913180380b8862fef604b563ffde036a27f387887e1bf9ddf1c33fcb530e328c0dc5db42c51eac16097d94861326ec1a4c4ad3eed
 SHA512 
6a9fd1c2b74e57ca5552c2bdb02a568916568da662eba29947f746c27c07a779e69b24315afd9cb9e8eda83b14eb53d351f3494cbe6fefb951eaf85888b0b1be
+DIST geant4_vmc-6.1_p2.tar.gz 5606450 BLAKE2B 
943398e4cf9a8f4d6e44687f89eff6e6f09e4904b8a57684e202719162d861d5b370c1fc9bcf40de43aa607cfa89db1d1a740046a1ad9744ba2c538dbc8103f8
 SHA512 
97f825a32958d7da8d4086e87397c358b0331ac8f6630b83c1a8142f02be21093bed65c0841a24c0db5548adb611f52f2c5e05e92f39a67f13c70d76f901d47e

diff --git a/sci-physics/geant4_vmc/geant4_vmc-9999.ebuild 
b/sci-physics/geant4_vmc/geant4_vmc-6.1_p2.ebuild
similarity index 94%
copy from sci-physics/geant4_vmc/geant4_vmc-9999.ebuild
copy to sci-physics/geant4_vmc/geant4_vmc-6.1_p2.ebuild
index 13017563cf1f..69faaa95b781 100644
--- a/sci-physics/geant4_vmc/geant4_vmc-9999.ebuild
+++ b/sci-physics/geant4_vmc/geant4_vmc-6.1_p2.ebuild
@@ -9,7 +9,7 @@ if [[ ${PV} == *9999* ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/vmc-project/${PN}.git";
 else
-       MY_PV=$(ver_rs 1- -)
+       MY_PV=$(ver_rs 1-2 -)
        SRC_URI="https://github.com/vmc-project/${PN}/archive/v${MY_PV}.tar.gz 
-> ${P}.tar.gz"
        S="${WORKDIR}/${PN}-${MY_PV}"
        KEYWORDS="~amd64 ~x86"
@@ -23,9 +23,9 @@ SLOT="4"
 IUSE="doc examples geant3 +g4root vgm test"
 
 RDEPEND="
-       sci-physics/geant[c++17,opengl,geant3?]
+       >=sci-physics/geant-4.11[c++17,opengl,geant3?]
        sci-physics/root:=[c++17,-vmc(-)]
-       sci-physics/vmc:=[c++17]
+       >=sci-physics/vmc-2.0:=[c++17]
        vgm? ( sci-physics/vgm:= )"
 DEPEND="${RDEPEND}
        test? ( >=sci-physics/geant-4.11[gdml] )"

diff --git a/sci-physics/geant4_vmc/geant4_vmc-9999.ebuild 
b/sci-physics/geant4_vmc/geant4_vmc-9999.ebuild
index 13017563cf1f..2bc5b7595a6d 100644
--- a/sci-physics/geant4_vmc/geant4_vmc-9999.ebuild
+++ b/sci-physics/geant4_vmc/geant4_vmc-9999.ebuild
@@ -9,7 +9,7 @@ if [[ ${PV} == *9999* ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/vmc-project/${PN}.git";
 else
-       MY_PV=$(ver_rs 1- -)
+       MY_PV=$(ver_rs 1-2 -)
        SRC_URI="https://github.com/vmc-project/${PN}/archive/v${MY_PV}.tar.gz 
-> ${P}.tar.gz"
        S="${WORKDIR}/${PN}-${MY_PV}"
        KEYWORDS="~amd64 ~x86"

Reply via email to