Gentoo Archives: gentoo-commits

From: Guilherme Amadio <amadio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/geant/
Date: Tue, 31 May 2022 06:53:56
Message-Id: 1653980012.dc3d2e806dc0dfeccd8fe410b3f42b6595fe4051.amadio@gentoo
1 commit: dc3d2e806dc0dfeccd8fe410b3f42b6595fe4051
2 Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 30 12:59:16 2022 +0000
4 Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
5 CommitDate: Tue May 31 06:53:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc3d2e80
7
8 sci-physics/geant: drop old
9
10 Note: keeping 4.10.7.3 as it's the only stable on x86.
11 Package-Manager: Portage-3.0.30, Repoman-3.0.3
12 Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
13
14 sci-physics/geant/Manifest | 1 -
15 sci-physics/geant/geant-4.11.0.0.ebuild | 132 --------------------------------
16 2 files changed, 133 deletions(-)
17
18 diff --git a/sci-physics/geant/Manifest b/sci-physics/geant/Manifest
19 index aaa545cb15e9..49cd42944d59 100644
20 --- a/sci-physics/geant/Manifest
21 +++ b/sci-physics/geant/Manifest
22 @@ -1,4 +1,3 @@
23 -DIST geant4-v11.0.0.tar.gz 35605817 BLAKE2B c34ded976b88946973a5ea9e81d91e0510318ae25f29c631f46b0ee60a9a97d682375ba18e429773930b1ba7808989b9b7ef6affb8f2f1f220ec1c7bd069590c SHA512 52631043e4f1bce6cb33d822bedca5a384c4c7c8997473a548b4df4f3b1702d45fe6ef64647225e573995c63518e4ba39f82afb645b7daa89591a3127799498a
24 DIST geant4-v11.0.1.tar.gz 35643646 BLAKE2B 52af009440d70aa1547d07e4367266a4e02561d0d5d509399db94ce8dcf41d491085b8de908efee7fbe3e7324963f57c9e36e1beeed9a6cef42d327b2f2201a0 SHA512 d189e6aca04dfa6a7a371f2273105d7fb80719c9e1cade7c170ff350d22db5cb33cbfece4c1f8c4d5a374a048bb95f6e9fcd37b03a3a7c2d946e046c4ea608fa
25 DIST geant4-v11.0.2.tar.gz 35636883 BLAKE2B f22c68cf4c4c9d68d24c98251198804d5790b500ed9077a06ffe5fcc7d84447befc15c93e57f725e68915ff97e7ce022c7f7f5678ceea593aacb231294affa3e SHA512 e7e98242787d1e37303dac54c763e659682adf5c86d30dcefb6c22a7360ba837591c11fb5787a56219461913db786e408f4a344e7ace8ca39cbb8b65b1e23ede
26 DIST geant4.10.07.p03.tar.gz 35756099 BLAKE2B 9e510d17173d280a24d2540d0e0f25f7337a410858c30e9281b937a8402cbc0acd022cc6f41cc3b88fec28b53fa8a266d79e90bfb6545f4ecffe0724e36183da SHA512 174e4f37ca977eff89bbd8f72f18ef5534db72d966665b9a837ed26acffa527d45741fd38fde460f0719c8962dc2ee33db1f3dfe065a7d0e74c148e4582c095c
27
28 diff --git a/sci-physics/geant/geant-4.11.0.0.ebuild b/sci-physics/geant/geant-4.11.0.0.ebuild
29 deleted file mode 100644
30 index e0a6cc6d6c5d..000000000000
31 --- a/sci-physics/geant/geant-4.11.0.0.ebuild
32 +++ /dev/null
33 @@ -1,132 +0,0 @@
34 -# Copyright 1999-2022 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -PYTHON_COMPAT=( python3_{8..10} )
40 -
41 -inherit cmake python-single-r1
42 -
43 -MY_P=${PN}$(ver_cut 1)-v$(ver_cut 2-4)
44 -
45 -case ${PV} in
46 -*_beta*)
47 - MY_P+=.b$(printf %02d $(ver_cut 5))
48 - DOCS="ReleaseNotes/Beta.$(ver_cut 2-3)-*.txt"
49 - ;;
50 -*)
51 - if [[ $(ver_cut 4) -gt 0 ]]; then
52 - MY_P+=.p$(printf %02d $(ver_cut 4))
53 - DOCS="ReleaseNotes/Patch.$(ver_cut 2-3)-*.txt"
54 - fi
55 - HTML_DOCS="ReleaseNotes/ReleaseNotes.$(ver_cut 2-3).html"
56 - ;;
57 -esac
58 -
59 -DESCRIPTION="Toolkit for simulation of passage of particles through matter"
60 -HOMEPAGE="https://geant4.web.cern.ch/"
61 -SRC_URI="https://geant4-data.web.cern.ch/geant4-data/releases/${MY_P}.tar.gz"
62 -
63 -LICENSE="geant4"
64 -SLOT="4"
65 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
66 -IUSE="+c++17 c++20 +data debug doc examples freetype gdml geant3 hdf5 inventor motif opengl
67 - python qt5 raytracerx static-libs tbb threads vtk"
68 -
69 -REQUIRED_USE="
70 - ^^ ( c++17 c++20 )
71 - inventor? ( opengl )
72 - motif? ( opengl )
73 - python? ( ${PYTHON_REQUIRED_USE} )
74 - qt5? ( opengl )
75 - tbb? ( threads )
76 - vtk? ( qt5 )
77 -"
78 -
79 -RDEPEND="
80 - dev-libs/expat
81 - >=sci-physics/clhep-2.4.5.1:2=[threads?]
82 - data? ( ~sci-physics/geant-data-${PV} )
83 - doc? ( app-doc/geant-docs )
84 - gdml? ( dev-libs/xerces-c )
85 - hdf5? ( sci-libs/hdf5[threads?] )
86 - inventor? ( media-libs/SoXt )
87 - motif? ( x11-libs/motif:0 )
88 - opengl? ( virtual/opengl )
89 - python? (
90 - ${PYTHON_DEPS}
91 - $(python_gen_cond_dep '
92 - dev-libs/boost:=[${PYTHON_USEDEP}]
93 - ')
94 - )
95 - qt5? (
96 - dev-qt/qt3d:5
97 - dev-qt/qtcore:5
98 - dev-qt/qtgui:5
99 - dev-qt/qtprintsupport:5
100 - dev-qt/qtwidgets:5
101 - opengl? ( dev-qt/qtopengl:5 )
102 - )
103 - raytracerx? (
104 - x11-libs/libX11
105 - x11-libs/libXmu
106 - )
107 - vtk? (
108 - sci-libs/vtk:=[qt5]
109 - )"
110 -
111 -S="${WORKDIR}/${MY_P}"
112 -
113 -src_configure() {
114 - local mycmakeargs=(
115 - -DCMAKE_INSTALL_DATADIR="${EPREFIX}/usr/share/geant4"
116 - -DCMAKE_CXX_STANDARD=$( (usev c++17 || usev c++20) | cut -c4-)
117 - -DGEANT4_BUILD_BUILTIN_BACKTRACE=$(usex debug)
118 - -DGEANT4_BUILD_MULTITHREADED=$(usex threads)
119 - -DGEANT4_BUILD_STORE_TRAJECTORY=OFF
120 - -DGEANT4_BUILD_TLS_MODEL=$(usex threads global-dynamic initial-exec)
121 - -DGEANT4_BUILD_VERBOSE_CODE=$(usex debug)
122 - -DGEANT4_INSTALL_DATA=OFF
123 - -DGEANT4_INSTALL_DATADIR="${EPREFIX}/usr/share/geant4/data"
124 - -DGEANT4_INSTALL_EXAMPLES=$(usex examples)
125 - -DGEANT4_INSTALL_PACKAGE_CACHE=OFF
126 - -DGEANT4_USE_FREETYPE=$(usex freetype)
127 - -DGEANT4_USE_G3TOG4=$(usex geant3)
128 - -DGEANT4_USE_GDML=$(usex gdml)
129 - -DGEANT4_USE_HDF5=$(usex hdf5)
130 - -DGEANT4_USE_INVENTOR=$(usex inventor)
131 - -DGEANT4_USE_OPENGL_X11=$(usex opengl)
132 - -DGEANT4_USE_PYTHON=$(usex python)
133 - -DGEANT4_USE_QT=$(usex qt5)
134 - -DGEANT4_USE_RAYTRACER_X11=$(usex raytracerx)
135 - -DGEANT4_USE_SYSTEM_CLHEP=ON
136 - -DGEANT4_USE_SYSTEM_EXPAT=ON
137 - -DGEANT4_USE_SYSTEM_ZLIB=ON
138 - -DGEANT4_USE_TBB=$(usex tbb)
139 - -DGEANT4_USE_XM=$(usex motif)
140 - -DGEANT4_USE_VTK=$(usex vtk)
141 - -DBUILD_STATIC_LIBS=$(usex static-libs)
142 - )
143 -
144 - if use python; then
145 - mycmakeargs+=(
146 - -DPYTHON_EXECUTABLE="${EPREFIX}/usr/bin/${EPYTHON}"
147 - -DCMAKE_INSTALL_PYTHONDIR="${EPREFIX}/usr/lib/${EPYTHON}/site-packages"
148 - )
149 - fi
150 -
151 - [ -v EXTRA_ECONF ] && mycmakeargs+=( ${EXTRA_ECONF} )
152 -
153 - cmake_src_configure
154 -}
155 -
156 -src_install() {
157 - # adjust clhep linking flags for system clhep
158 - # binmake.gmk is only useful for legacy build systems
159 - sed -i -e 's/-lG4clhep/-lCLHEP/' config/binmake.gmk || die
160 - cmake_src_install
161 - use python && python_optimize
162 - rm "${ED}"/usr/bin/*.{sh,csh} || die "failed to remove obsolete shell scripts"
163 -
164 - einstalldocs
165 -}