commit:     354d520135f968f6b3dcfdcd168773e26419f95a
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Sat Aug 21 13:07:00 2021 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Sep  2 09:28:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=354d5201

Move sci-physics/{geant-vmc → geant4_vmc}

This follows the new consistent naming of the upstream project,
collapsing the first version number into the package name.

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

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

 profiles/updates/3Q-2021                                          | 1 +
 sci-physics/geant-vmc/Manifest                                    | 1 -
 sci-physics/geant4_vmc/Manifest                                   | 1 +
 .../geant4_vmc-5.3-r1.ebuild}                                     | 8 ++++----
 .../geant-vmc-9999.ebuild => geant4_vmc/geant4_vmc-9999.ebuild}   | 8 ++++----
 sci-physics/{geant-vmc => geant4_vmc}/metadata.xml                | 0
 sci-physics/vgm/vgm-4.8-r1.ebuild                                 | 2 +-
 sci-physics/vgm/vgm-4.9-r1.ebuild                                 | 2 +-
 sci-physics/vgm/vgm-9999.ebuild                                   | 2 +-
 9 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/profiles/updates/3Q-2021 b/profiles/updates/3Q-2021
index 0e75a5958bb..59da6b5d43f 100644
--- a/profiles/updates/3Q-2021
+++ b/profiles/updates/3Q-2021
@@ -8,3 +8,4 @@ move dev-python/python-backoff dev-python/backoff
 move dev-python/python-musicbrainz-ngs dev-python/python-musicbrainzngs
 move dev-python/python-podman dev-python/podman-py
 move dev-python/u-msgpack dev-python/u-msgpack-python
+move sci-physics/geant-vmc sci-physics/geant4_vmc

diff --git a/sci-physics/geant-vmc/Manifest b/sci-physics/geant-vmc/Manifest
deleted file mode 100644
index f28791df07e..00000000000
--- a/sci-physics/geant-vmc/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST geant-vmc-4.5.3.tar.gz 7411643 BLAKE2B 
31a486aa32f879093753aab09798eabf1a936f0aa246bb97c7f055eefb789c9c5a5097c14ce47b05a99f3cc2b46bea6edeba2af80ee362bb8fee039ee711eddc
 SHA512 
918ce3ca4a4fb329f00000fce00dae3d4a4c9f348553f31bf474f727c1e67242b5ff28fe7dc5d3ab12d1174663b1dd96b654b5baf7edfa662ab3f66687792e94

diff --git a/sci-physics/geant4_vmc/Manifest b/sci-physics/geant4_vmc/Manifest
new file mode 100644
index 00000000000..ddfb4b445a2
--- /dev/null
+++ b/sci-physics/geant4_vmc/Manifest
@@ -0,0 +1 @@
+DIST geant4_vmc-5.3.tar.gz 7411643 BLAKE2B 
31a486aa32f879093753aab09798eabf1a936f0aa246bb97c7f055eefb789c9c5a5097c14ce47b05a99f3cc2b46bea6edeba2af80ee362bb8fee039ee711eddc
 SHA512 
918ce3ca4a4fb329f00000fce00dae3d4a4c9f348553f31bf474f727c1e67242b5ff28fe7dc5d3ab12d1174663b1dd96b654b5baf7edfa662ab3f66687792e94

diff --git a/sci-physics/geant-vmc/geant-vmc-4.5.3-r1.ebuild 
b/sci-physics/geant4_vmc/geant4_vmc-5.3-r1.ebuild
similarity index 87%
rename from sci-physics/geant-vmc/geant-vmc-4.5.3-r1.ebuild
rename to sci-physics/geant4_vmc/geant4_vmc-5.3-r1.ebuild
index cafdbf75e09..503e3d2f17a 100644
--- a/sci-physics/geant-vmc/geant-vmc-4.5.3-r1.ebuild
+++ b/sci-physics/geant4_vmc/geant4_vmc-5.3-r1.ebuild
@@ -7,11 +7,11 @@ inherit cmake
 
 if [[ ${PV} == *9999* ]]; then
        inherit git-r3
-       EGIT_REPO_URI="https://github.com/vmc-project/geant4_vmc.git";
+       EGIT_REPO_URI="https://github.com/vmc-project/${PN}.git";
 else
-       MY_PV=$(ver_rs 1-2 - $(ver_cut 2-))
-       
SRC_URI="https://github.com/vmc-project/geant4_vmc/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-       S="${WORKDIR}/geant4_vmc-${MY_PV}"
+       MY_PV=$(ver_rs 1- -)
+       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"
 fi
 

diff --git a/sci-physics/geant-vmc/geant-vmc-9999.ebuild 
b/sci-physics/geant4_vmc/geant4_vmc-9999.ebuild
similarity index 87%
rename from sci-physics/geant-vmc/geant-vmc-9999.ebuild
rename to sci-physics/geant4_vmc/geant4_vmc-9999.ebuild
index b22fc0afcbf..e5a8d12edb2 100644
--- a/sci-physics/geant-vmc/geant-vmc-9999.ebuild
+++ b/sci-physics/geant4_vmc/geant4_vmc-9999.ebuild
@@ -7,11 +7,11 @@ inherit cmake
 
 if [[ ${PV} == *9999* ]]; then
        inherit git-r3
-       EGIT_REPO_URI="https://github.com/vmc-project/geant4_vmc.git";
+       EGIT_REPO_URI="https://github.com/vmc-project/${PN}.git";
 else
-       MY_PV=$(ver_rs 1-2 - $(ver_cut 2-))
-       
SRC_URI="https://github.com/vmc-project/geant4_vmc/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-       S="${WORKDIR}/geant4_vmc-${MY_PV}"
+       MY_PV=$(ver_rs 1- -)
+       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"
 fi
 

diff --git a/sci-physics/geant-vmc/metadata.xml 
b/sci-physics/geant4_vmc/metadata.xml
similarity index 100%
rename from sci-physics/geant-vmc/metadata.xml
rename to sci-physics/geant4_vmc/metadata.xml

diff --git a/sci-physics/vgm/vgm-4.8-r1.ebuild 
b/sci-physics/vgm/vgm-4.8-r1.ebuild
index 2719bc7a350..0b5ee6471a3 100644
--- a/sci-physics/vgm/vgm-4.8-r1.ebuild
+++ b/sci-physics/vgm/vgm-4.8-r1.ebuild
@@ -30,7 +30,7 @@ DEPEND="${RDEPEND}
        doc? ( app-doc/doxygen[dot] )
        test? (
                sci-physics/geant[gdml]
-               sci-physics/geant-vmc[g4root]
+               sci-physics/geant4_vmc[g4root]
        )"
 RESTRICT="
        !geant4? ( test )

diff --git a/sci-physics/vgm/vgm-4.9-r1.ebuild 
b/sci-physics/vgm/vgm-4.9-r1.ebuild
index b7b9482e355..b9d0ad2bcca 100644
--- a/sci-physics/vgm/vgm-4.9-r1.ebuild
+++ b/sci-physics/vgm/vgm-4.9-r1.ebuild
@@ -30,7 +30,7 @@ DEPEND="${RDEPEND}
        doc? ( app-doc/doxygen[dot] )
        test? (
                sci-physics/geant[gdml]
-               sci-physics/geant-vmc[g4root]
+               sci-physics/geant4_vmc[g4root]
        )"
 RESTRICT="
        !geant4? ( test )

diff --git a/sci-physics/vgm/vgm-9999.ebuild b/sci-physics/vgm/vgm-9999.ebuild
index bd7c83ff458..a2b21203209 100644
--- a/sci-physics/vgm/vgm-9999.ebuild
+++ b/sci-physics/vgm/vgm-9999.ebuild
@@ -30,7 +30,7 @@ DEPEND="${RDEPEND}
        doc? ( app-doc/doxygen[dot] )
        test? (
                sci-physics/geant[gdml]
-               sci-physics/geant-vmc[g4root]
+               sci-physics/geant4_vmc[g4root]
        )"
 RESTRICT="
        !geant4? ( test )

Reply via email to