From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9750B158089 for ; Wed, 13 Sep 2023 08:10:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D6C6E2BC014; Wed, 13 Sep 2023 08:10:52 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BA9792BC014 for ; Wed, 13 Sep 2023 08:10:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F3A8C335CD2 for ; Wed, 13 Sep 2023 08:10:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4E3B61191 for ; Wed, 13 Sep 2023 08:10:50 +0000 (UTC) From: "Guilherme Amadio" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Guilherme Amadio" Message-ID: <1694592638.d8e482acf4cf06993192eec9fdbc8cbe3b74c730.amadio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/geant4_vmc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-physics/geant4_vmc/Manifest sci-physics/geant4_vmc/geant4_vmc-6.1_p8.ebuild sci-physics/geant4_vmc/geant4_vmc-6.3_p2.ebuild X-VCS-Directories: sci-physics/geant4_vmc/ X-VCS-Committer: amadio X-VCS-Committer-Name: Guilherme Amadio X-VCS-Revision: d8e482acf4cf06993192eec9fdbc8cbe3b74c730 X-VCS-Branch: master Date: Wed, 13 Sep 2023 08:10:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e378c587-8769-4802-86ae-eabbba1e9b52 X-Archives-Hash: ba012a1981fefb4b9035dc3653125ea4 commit: d8e482acf4cf06993192eec9fdbc8cbe3b74c730 Author: Oliver Freyermuth googlemail com> AuthorDate: Mon Sep 4 19:44:51 2023 +0000 Commit: Guilherme Amadio gentoo org> CommitDate: Wed Sep 13 08:10:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8e482ac sci-physics/geant4_vmc: add 6.1_p8, 6.3_p2 Signed-off-by: Oliver Freyermuth googlemail.com> Signed-off-by: Guilherme Amadio gentoo.org> sci-physics/geant4_vmc/Manifest | 2 + sci-physics/geant4_vmc/geant4_vmc-6.1_p8.ebuild | 81 +++++++++++++++++++++++++ sci-physics/geant4_vmc/geant4_vmc-6.3_p2.ebuild | 80 ++++++++++++++++++++++++ 3 files changed, 163 insertions(+) diff --git a/sci-physics/geant4_vmc/Manifest b/sci-physics/geant4_vmc/Manifest index 546cb6dddd9b..2c552aa342eb 100644 --- a/sci-physics/geant4_vmc/Manifest +++ b/sci-physics/geant4_vmc/Manifest @@ -1,6 +1,8 @@ DIST geant4_vmc-6.1_p3.tar.gz 5605174 BLAKE2B 80d7936534d4102b545a4285b8ddba4eb7c9ec31b1343194da922a6c79730c1f779cc9719b1d2e5b4bcf02a681c371157057d727c5fa86633e6c7497d64206e0 SHA512 ccb568c2ce004300c7c6ad908aa8d97319f3c0d4add0da3ace418231906cf91ef9f73b5c774fbadd6e4473dcc1b49071023d7fa159b5864f03b28dae407074c6 DIST geant4_vmc-6.1_p4.tar.gz 5606731 BLAKE2B 441a3398b472db13c5cb5219004c4d32c8ff07041e0c6335d40e6db8df23bc35d67ca2e6920a1b575f0fcb224b2d47ffa573dc5f9d23dac771ddf579b5bd9a2a SHA512 8751899e2db863017b6c14fc87fc172492dbcf26c089c4cea4b262b75e22ae7767d47e3019a3676315c0eb6052e99b6acd10a39135cd51e3ce0f9ea816c09ce6 DIST geant4_vmc-6.1_p5.tar.gz 5606990 BLAKE2B 27f1071f72816ade025ba955432cdc931350388450902993468466c9860d8213e31b5e749bc6ae01d09832682ac836b477fae18d0600de33eda35c4ad4e616b4 SHA512 e769151751cf3f81fdfe9e6d0b8c33117dffbaa893c686fd3f68474dfd1adc299a7cf1c1fb14fd66bc909d34e7a66cf37308e697d32874fc4425834f9cef6d56 +DIST geant4_vmc-6.1_p8.tar.gz 5606161 BLAKE2B 70f98534789d47466859cc7494644aca6808c9a96b8d9daf98be71dfaa14b99b3eae50223762709904bb4147c0b283920331cd5bcbde3ee4f1f351b78ee27031 SHA512 6e7cdc612bee11b61ace387550cb83043ec02db0f05591414c0158bec436568d2e7dbb17a50be7b431ab7c41a0d7757cb1ff607cecb7dc10e7be2c0d2790863f DIST geant4_vmc-6.2.tar.gz 5743487 BLAKE2B 062fece07714f255eddd13c6bda660ea6737772fe7a43413df07c9ed221c0f80a872fe72614e5e4ad18396c72aae2c2000cdf6e3b1c2436f9419933ac32704bb SHA512 72651ab5261a398feb6f37271a41a5770334a20dc61be2046b19ca8ff4780cf7649136314e4a8597023d14782996d7ee0d047579b33a983c4dea9c21b32b4551 DIST geant4_vmc-6.3.tar.gz 5737268 BLAKE2B 0de8b6eabd7aceebb8047daa2642bb5d41945abbbe751709fa7a8f4063dd1049676f5243eae17c2d572d232a28bf2f268d64fae72183d886a64af8a761679203 SHA512 4ca9d4593a10a25947eadc27de4460e2522077c499c73a59824f363b75922ae1d2695365fc941c60a7aa83f9b0ec030ac435926a729e764b88c768668b3c5671 DIST geant4_vmc-6.3_p1.tar.gz 5737383 BLAKE2B 9f99f8367da47b15e195fd94463d2131babd268e4297e85f496c7f34dac60fe720259692d41e0ed54bd7452ece564900211edd7ef87d3d9a8acfa950c016ffbd SHA512 d2ac7881b343e7ecf0d5db42df79fbb26df6331da40db9513afa4b5b093571fd4e4f9ba22cc023d6f9f6827c3120d7d5a182cb88a0978e6aff6501b2c7abd0c6 +DIST geant4_vmc-6.3_p2.tar.gz 5737615 BLAKE2B db6b27e2ff81d37f61c75f39b4bdc775fa2eeded4916b82de7a6e717b206f9648eb295058547d0eaf8bc30bb8f28dddd1b00dea334aeccf6c2cb53da25cee90a SHA512 d9994a291fd195737b94101cafeadbb18aa14a71046cf8c637ea42c8560f290edd7fa524056c472b164fbff8f07afe01b4f5c6b86eeecfa1cfd564e55839052f diff --git a/sci-physics/geant4_vmc/geant4_vmc-6.1_p8.ebuild b/sci-physics/geant4_vmc/geant4_vmc-6.1_p8.ebuild new file mode 100644 index 000000000000..17ef687237da --- /dev/null +++ b/sci-physics/geant4_vmc/geant4_vmc-6.1_p8.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake virtualx + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/vmc-project/${PN}.git" +else + 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" +fi + +DESCRIPTION="Virtual Monte Carlo Geant4 implementation" +HOMEPAGE="https://github.com/vmc-project/geant4_vmc" + +LICENSE="GPL-3" +SLOT="4" +IUSE="doc examples geant3 +g4root vgm test" + +RDEPEND=" + sci-physics/clhep:= + >=sci-physics/geant-4.11[c++17,opengl,geant3?] + sci-physics/root:=[c++17,-vmc(-)] + >=sci-physics/vmc-2.0:=[c++17] + vgm? ( <=sci-physics/vgm-5.0:= )" +DEPEND="${RDEPEND} + test? ( >=sci-physics/geant-4.11[gdml] )" +BDEPEND="doc? ( app-doc/doxygen[dot] )" +RESTRICT=" + !examples? ( test ) + !geant3? ( test ) + !g4root? ( test ) + !test? ( test ) + !vgm? ( test )" + +DOCS=(history README.md) + +src_configure() { + local mycmakeargs=( + -DGeant4VMC_USE_VGM="$(usex vgm)" + -DGeant4VMC_USE_GEANT4_G3TOG4="$(usex geant3)" + -DGeant4VMC_USE_G4Root="$(usex g4root)" + -DGeant4VMC_BUILD_EXAMPLES="$(usex test)" + -DGeant4VMC_INSTALL_EXAMPLES="$(usex examples)" + -DGeant4VMC_BUILD_G4Root_TEST="$(usex test)" + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + if use doc ; then + local dirs=( + source + $(usev g4root) + $(usev examples) + ) + local d + for d in "${dirs[@]}"; do + doxygen "${d}"/Doxyfile || die + done + fi +} + +src_test() { + export QT_DEBUG_PLUGINS=1 + cd examples || die + virtx ./test_suite.sh --debug --g3=off --garfield=off --builddir="${BUILD_DIR}" || die + virtx ./test_suite_exe.sh --g3=off --garfield=off --garfield=off --builddir="${BUILD_DIR}" || die +} + +src_install() { + cmake_src_install + use doc && local HTML_DOCS=(doc/.) + einstalldocs +} diff --git a/sci-physics/geant4_vmc/geant4_vmc-6.3_p2.ebuild b/sci-physics/geant4_vmc/geant4_vmc-6.3_p2.ebuild new file mode 100644 index 000000000000..9a117b1ee171 --- /dev/null +++ b/sci-physics/geant4_vmc/geant4_vmc-6.3_p2.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake virtualx + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/vmc-project/${PN}.git" +else + 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" +fi + +DESCRIPTION="Virtual Monte Carlo Geant4 implementation" +HOMEPAGE="https://github.com/vmc-project/geant4_vmc" + +LICENSE="GPL-3" +SLOT="4" +IUSE="doc examples geant3 +g4root vgm test" + +RDEPEND=" + sci-physics/clhep:= + >=sci-physics/geant-4.11.1:=[c++17,opengl,geant3?] + sci-physics/root:=[c++17,-vmc(-)] + >=sci-physics/vmc-2.0:=[c++17] + vgm? ( >=sci-physics/vgm-5.1:= )" +DEPEND="${RDEPEND} + test? ( >=sci-physics/geant-4.11.1:=[gdml] )" +BDEPEND="doc? ( app-doc/doxygen[dot] )" +RESTRICT=" + !examples? ( test ) + !geant3? ( test ) + !g4root? ( test ) + !test? ( test ) + !vgm? ( test )" + +DOCS=(history README.md) + +src_configure() { + local mycmakeargs=( + -DGeant4VMC_USE_VGM="$(usex vgm)" + -DGeant4VMC_USE_GEANT4_G3TOG4="$(usex geant3)" + -DGeant4VMC_USE_G4Root="$(usex g4root)" + -DGeant4VMC_BUILD_EXAMPLES="$(usex test)" + -DGeant4VMC_INSTALL_EXAMPLES="$(usex examples)" + -DGeant4VMC_BUILD_G4Root_TEST="$(usex test)" + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + if use doc ; then + local dirs=( + source + $(usev g4root) + $(usev examples) + ) + local d + for d in "${dirs[@]}"; do + doxygen "${d}"/Doxyfile || die + done + fi +} + +src_test() { + cd examples || die + virtx ./test_suite.sh --debug --g3=off --garfield=off --builddir="${BUILD_DIR}" || die + virtx ./test_suite_exe.sh --g3=off --garfield=off --garfield=off --builddir="${BUILD_DIR}" || die +} + +src_install() { + cmake_src_install + use doc && local HTML_DOCS=(doc/.) + einstalldocs +}