Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/geant-python/, profiles/, sci-physics/geant-python/files/
Date: Sun, 18 Feb 2018 12:17:10
Message-Id: 1518956186.deef8f3131b9ae29fe2136b9f784f6f3c0682388.asturm@gentoo
1 commit: deef8f3131b9ae29fe2136b9f784f6f3c0682388
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 18 12:16:26 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 18 12:16:26 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deef8f31
7
8 profiles: Remove last-rited sci-physics/geant-python
9
10 Closes: https://bugs.gentoo.org/513564
11
12 profiles/package.mask | 5 -
13 sci-physics/geant-python/Manifest | 2 -
14 .../files/geant-python-4.10.0-config.patch | 27 -----
15 .../files/geant-python-4.10.0-polycone.patch | 15 ---
16 .../files/geant-python-4.9.5-visverbose.patch | 13 ---
17 .../geant-python/geant-python-4.10.00.ebuild | 122 ---------------------
18 .../geant-python/geant-python-4.9.6_p02.ebuild | 120 --------------------
19 sci-physics/geant-python/metadata.xml | 11 --
20 8 files changed, 315 deletions(-)
21
22 diff --git a/profiles/package.mask b/profiles/package.mask
23 index 91fe04cef23..bdf1e7223f7 100644
24 --- a/profiles/package.mask
25 +++ b/profiles/package.mask
26 @@ -236,11 +236,6 @@ net-p2p/dogecoin-qt
27 net-p2p/primecoin-qt
28 net-p2p/primecoind
29
30 -# Andreas Sturmlechner <asturm@g.o> (19 Jan 2018)
31 -# Outdated and broken for a long time, holding up several cleanups.
32 -# Masked for removal in 30 days. Bug #513564
33 -sci-physics/geant-python
34 -
35 # Patrice Clement <monsieurp@g.o> (18 Jan 2018)
36 # mpv >= 0.28.0 requires changes currently only available in ffmpeg-9999.
37 >=media-video/mpv-0.28.0
38
39 diff --git a/sci-physics/geant-python/Manifest b/sci-physics/geant-python/Manifest
40 deleted file mode 100644
41 index f52c92d6d18..00000000000
42 --- a/sci-physics/geant-python/Manifest
43 +++ /dev/null
44 @@ -1,2 +0,0 @@
45 -DIST geant4.10.00.tar.gz 30780131 BLAKE2B 22702e73f3e2f973e3251dc650f4cfd38c905edabc27f2d09d40bb9a518ea46fafc55be9f91b35eb4bcc7a35a442905347b652a1388055eebb856e998184d8f2 SHA512 c9288b26df8b858622e728158b687cd7bc257c49f26a21b93d1b9fa4619c22dfea2a7604689118ac493b407888690db42d1ec9c8048aa1f45bf8beeb6a657e87
46 -DIST geant4.9.6.p02.tar.gz 25480383 BLAKE2B db0e1a8997d91a4e989bf3d038fd0898a2612fa79d6ad195ea3280b49e1290712926ac04de2501d2f75f99de54868f1214284db70de47bd3661345b9bb7503e1 SHA512 dab5f31568074869adecbbfb8855be0c0a2e92e5ba3119dbeb9cd414878721df3052198a05e5e3c19d0e2942a22602c6618dc0628b05134d3403a50c2bc2032c
47
48 diff --git a/sci-physics/geant-python/files/geant-python-4.10.0-config.patch b/sci-physics/geant-python/files/geant-python-4.10.0-config.patch
49 deleted file mode 100644
50 index 50f4dabb43c..00000000000
51 --- a/sci-physics/geant-python/files/geant-python-4.10.0-config.patch
52 +++ /dev/null
53 @@ -1,27 +0,0 @@
54 -do not hard code PATH; QGSP.hh is renamed to G4QGSParticipants.hh in geant-4.10
55 -
56 -http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1545
57 -http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1546
58 -Index: g4py/configure
59 -===================================================================
60 ---- g4py.orig/configure
61 -+++ g4py/configure
62 -@@ -4,9 +4,6 @@
63 - # ======================================================================
64 - export LANG=C
65 -
66 --PATH=/bin:/usr/bin
67 --export PATH
68 --
69 - # ======================================================================
70 - # testing the echo features
71 - # ======================================================================
72 -@@ -377,7 +374,7 @@ fi
73 -
74 - # ---
75 - echo $ac_n "Checking for physics list support ...$ac_c"
76 --if [ -f "$g4_incdir"/QGSP.hh ]; then
77 -+if [ -f "$g4_incdir"/G4QGSParticipants.hh ]; then
78 - enable_physicslist=1
79 - fi
80 - if [ $enable_physicslist = 0 ]; then
81
82 diff --git a/sci-physics/geant-python/files/geant-python-4.10.0-polycone.patch b/sci-physics/geant-python/files/geant-python-4.10.0-polycone.patch
83 deleted file mode 100644
84 index 492e4700ac4..00000000000
85 --- a/sci-physics/geant-python/files/geant-python-4.10.0-polycone.patch
86 +++ /dev/null
87 @@ -1,15 +0,0 @@
88 -polycone API has been changed.
89 -
90 -http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1544
91 -Index: g4py/source/geometry/pyG4Polycone.cc
92 -===================================================================
93 ---- g4py.orig/source/geometry/pyG4Polycone.cc
94 -+++ g4py/source/geometry/pyG4Polycone.cc
95 -@@ -96,7 +96,6 @@ void export_G4Polycone()
96 - .def("GetStartPhi", &G4Polycone::GetStartPhi)
97 - .def("GetEndPhi", &G4Polycone::GetEndPhi)
98 - .def("IsOpen", &G4Polycone::IsOpen)
99 -- .def("IsGeneric", &G4Polycone::IsGeneric)
100 - .def("GetNumRZCorner", &G4Polycone::GetNumRZCorner)
101 -
102 - // operators
103
104 diff --git a/sci-physics/geant-python/files/geant-python-4.9.5-visverbose.patch b/sci-physics/geant-python/files/geant-python-4.9.5-visverbose.patch
105 deleted file mode 100644
106 index 0508f28b6fa..00000000000
107 --- a/sci-physics/geant-python/files/geant-python-4.9.5-visverbose.patch
108 +++ /dev/null
109 @@ -1,13 +0,0 @@
110 -diff --git a/source/visualization/pyG4VisManager.cc b/source/visualization/pyG4VisManager.cc
111 -index 33bb0d4..00f86a5 100644
112 ---- a/source/visualization/pyG4VisManager.cc
113 -+++ b/source/visualization/pyG4VisManager.cc
114 -@@ -41,7 +41,7 @@ using namespace boost::python;
115 - // ====================================================================
116 - class PyG4VisManager : public G4VisManager {
117 - public:
118 -- PyG4VisManager() { SetVerboseLevel(quiet); }
119 -+ PyG4VisManager() { SetVerboseLevel(all); }
120 - ~PyG4VisManager() { }
121 -
122 - virtual void RegisterGraphicsSystems() { }
123
124 diff --git a/sci-physics/geant-python/geant-python-4.10.00.ebuild b/sci-physics/geant-python/geant-python-4.10.00.ebuild
125 deleted file mode 100644
126 index 160244ef9e4..00000000000
127 --- a/sci-physics/geant-python/geant-python-4.10.00.ebuild
128 +++ /dev/null
129 @@ -1,122 +0,0 @@
130 -# Copyright 1999-2017 Gentoo Foundation
131 -# Distributed under the terms of the GNU General Public License v2
132 -
133 -EAPI=5
134 -
135 -PYTHON_COMPAT=( python2_7 )
136 -
137 -inherit python-r1 versionator multilib eutils
138 -
139 -MYP="geant$(replace_version_separator 3 .)"
140 -
141 -DESCRIPTION="Python bindings for Geant4"
142 -HOMEPAGE="http://geant4.cern.ch/"
143 -SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz"
144 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
145 -
146 -LICENSE="geant4"
147 -SLOT="0"
148 -IUSE="examples"
149 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
150 -
151 -RDEPEND="
152 - ${PYTHON_DEPS}
153 - dev-libs/boost:=[python,${PYTHON_USEDEP}]
154 - dev-libs/xerces-c
155 - =sci-physics/geant-${PV}*"
156 -DEPEND="${RDEPEND}"
157 -
158 -S="${WORKDIR}/${MYP}/environments/g4py"
159 -
160 -pkg_setup() {
161 - if use amd64; then
162 - ARG=linux64
163 - elif use x86; then
164 - ARG=linux
165 - else
166 - die "platform unknown"
167 - fi
168 -}
169 -
170 -src_prepare() {
171 - epatch "${FILESDIR}"/${PN}-4.9.5-visverbose.patch
172 - epatch "${FILESDIR}"/${PN}-4.10.0-config.patch
173 - epatch "${FILESDIR}"/${PN}-4.10.0-polycone.patch
174 - sed -i -e "s/lib64/$(get_libdir)/g" configure || die
175 - sed -i -e 's/-lG4clhep/-lCLHEP/g' config/g4py.gmk || die
176 - # respect user toolchain and flags
177 - sed -i \
178 - -e '/^CXX.*:=/d' \
179 - -e '/CXXFLAGS/s/-f\(template-depth-255\|inline-functions\|permissive\)//g' \
180 - -e "/CXXFLAGS/s/-O2/${CXXFLAGS}/g" \
181 - -e '/^rpathflag/s|:\($(rpath.)\)| -Wl,-rpath,\1 |g' \
182 - -e "s/\$(rpathflag)/\$(LDFLAGS) \$(rpathflag)/g" \
183 - config/sys/linux* || die
184 - python_copy_sources
185 -
186 - run_sed() {
187 - sed -i -e "s/\(python_exe=\)python/\1${EPYTHON}/" configure || die
188 - [[ ${EPYTHON} == python3* ]] && sed -i -e "s/with_python3=0/with_python3=1/" configure
189 - # let Geant4 module installed into python sitedir instead of default
190 - sed -i \
191 - -e "/G4PY_LIBDIR :=/cG4PY_LIBDIR := $\(DESTDIR\)$(python_get_sitedir)/Geant4" \
192 - config/install.gmk || die "sed failed on config/install.gmk"
193 -
194 - local mfile
195 - for mfile in source/python{3,}/GNUmakefile
196 - do
197 - sed -i \
198 - -e "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/Geant4" \
199 - "${mfile}" || die "sed failed on ${mfile}"
200 - done
201 -
202 - # let g4py module installed into python sitedir instead of default
203 - sed -i \
204 - -e "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/g4py" \
205 - config/site-install.gmk || die "sed failed on config/site-install.gmk"
206 - for mfile in {processes/emcalculator,utils/MCScore}/{python3/,}GNUmakefile python/GNUmakefile
207 - do
208 - sed -i \
209 - -e "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/g4py" \
210 - "site-modules/${mfile}" || die "sed failed on site-modules/${mfile}"
211 - done
212 -
213 - }
214 - python_foreach_impl run_in_build_dir run_sed
215 -}
216 -
217 -src_configure() {
218 - run_configure() {
219 - # not the autotools configure
220 - ./configure ${ARG} \
221 - --prefix="${EPREFIX}/usr" \
222 - --with-g4install-dir="${EPREFIX}/usr" \
223 - --with-python-incdir="$(python_get_includedir)" \
224 - --with-python-libdir="${EPREFIX}/usr/$(get_libdir)" \
225 - --with-boost-incdir="${EPREFIX}/usr/include" \
226 - --with-boost-libdir="${EPREFIX}/usr/$(get_libdir)" \
227 - --with-boost-python-lib="boost_python-${EPYTHON#python}" \
228 - --with-xercesc-incdir="${EPREFIX}/usr/include" \
229 - --with-xercesc-libdir="${EPREFIX}/usr/$(get_libdir)" \
230 - || die "configure failed"
231 - }
232 - python_foreach_impl run_in_build_dir run_configure
233 -}
234 -
235 -src_compile() {
236 - python_foreach_impl run_in_build_dir emake CPPVERBOSE=1
237 -}
238 -
239 -src_test() {
240 - run_test() {
241 - emake -C tests
242 - }
243 - python_foreach_impl run_in_build_dir run_test
244 -}
245 -
246 -src_install() {
247 - python_foreach_impl run_in_build_dir emake DESTDIR="${D}" install
248 - dodoc README.md History
249 - insinto /usr/share/doc/${PF}
250 - use examples && doins -r examples
251 -}
252
253 diff --git a/sci-physics/geant-python/geant-python-4.9.6_p02.ebuild b/sci-physics/geant-python/geant-python-4.9.6_p02.ebuild
254 deleted file mode 100644
255 index f590877fada..00000000000
256 --- a/sci-physics/geant-python/geant-python-4.9.6_p02.ebuild
257 +++ /dev/null
258 @@ -1,120 +0,0 @@
259 -# Copyright 1999-2017 Gentoo Foundation
260 -# Distributed under the terms of the GNU General Public License v2
261 -
262 -EAPI=5
263 -
264 -PYTHON_COMPAT=( python2_7 )
265 -
266 -inherit python-r1 versionator multilib eutils
267 -
268 -MYP="geant$(replace_version_separator 3 .)"
269 -
270 -DESCRIPTION="Python bindings for Geant4"
271 -HOMEPAGE="http://geant4.cern.ch/"
272 -SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz"
273 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
274 -
275 -LICENSE="geant4"
276 -SLOT="0"
277 -IUSE="examples"
278 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
279 -
280 -RDEPEND="
281 - ${PYTHON_DEPS}
282 - dev-libs/boost:=[python,${PYTHON_USEDEP}]
283 - dev-libs/xerces-c
284 - =sci-physics/geant-${PV}*"
285 -DEPEND="${RDEPEND}"
286 -
287 -S="${WORKDIR}/${MYP}/environments/g4py"
288 -
289 -pkg_setup() {
290 - if use amd64; then
291 - ARG=linux64
292 - elif use x86; then
293 - ARG=linux
294 - else
295 - die "platform unknown"
296 - fi
297 -}
298 -
299 -src_prepare() {
300 - epatch "${FILESDIR}"/${PN}-4.9.5-visverbose.patch
301 - sed -i -e "s/lib64/$(get_libdir)/g" configure || die
302 - sed -i -e 's/-lG4clhep/-lCLHEP/g' config/g4py.gmk || die
303 - # respect user toolchain and flags
304 - sed -i \
305 - -e '/^CXX.*:=/d' \
306 - -e '/CXXFLAGS/s/-f\(template-depth-255\|inline-functions\|permissive\)//g' \
307 - -e "/CXXFLAGS/s/-O2/${CXXFLAGS}/g" \
308 - -e '/^rpathflag/s|:\($(rpath.)\)| -Wl,-rpath,\1 |g' \
309 - -e "s/\$(rpathflag)/\$(LDFLAGS) \$(rpathflag)/g" \
310 - config/sys/linux* || die
311 - python_copy_sources
312 -
313 - run_sed() {
314 - sed -i -e "s/\(python_exe=\)python/\1${EPYTHON}/" configure || die
315 - [[ ${EPYTHON} == python3* ]] && sed -i -e "s/with_python3=0/with_python3=1/" configure
316 - # let Geant4 module installed into python sitedir instead of default
317 - sed -i \
318 - -e "/G4PY_LIBDIR :=/cG4PY_LIBDIR := $\(DESTDIR\)$(python_get_sitedir)/Geant4" \
319 - config/install.gmk || die "sed failed on config/install.gmk"
320 -
321 - local mfile
322 - for mfile in source/python{3,}/GNUmakefile
323 - do
324 - sed -i \
325 - -e "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/Geant4" \
326 - "${mfile}" || die "sed failed on ${mfile}"
327 - done
328 -
329 - # let g4py module installed into python sitedir instead of default
330 - sed -i \
331 - -e "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/g4py" \
332 - config/site-install.gmk || die "sed failed on config/site-install.gmk"
333 - for mfile in {processes/emcalculator,utils/MCScore}/{python3/,}GNUmakefile python/GNUmakefile
334 - do
335 - sed -i \
336 - -e "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/g4py" \
337 - "site-modules/${mfile}" || die "sed failed on site-modules/${mfile}"
338 - done
339 -
340 - }
341 - python_foreach_impl run_in_build_dir run_sed
342 -}
343 -
344 -src_configure() {
345 - run_configure() {
346 - # not the autotools configure
347 - ./configure ${ARG} \
348 - --prefix="${EPREFIX}/usr" \
349 - --with-g4install-dir="${EPREFIX}/usr" \
350 - --with-python-incdir="$(python_get_includedir)" \
351 - --with-python-libdir="${EPREFIX}/usr/$(get_libdir)" \
352 - --with-boost-incdir="${EPREFIX}/usr/include" \
353 - --with-boost-libdir="${EPREFIX}/usr/$(get_libdir)" \
354 - --with-boost-python-lib="boost_python-${EPYTHON#python}" \
355 - --with-xercesc-incdir="${EPREFIX}/usr/include" \
356 - --with-xercesc-libdir="${EPREFIX}/usr/$(get_libdir)" \
357 - || die "configure failed"
358 - }
359 - python_foreach_impl run_in_build_dir run_configure
360 -}
361 -
362 -src_compile() {
363 - python_foreach_impl run_in_build_dir emake CPPVERBOSE=1
364 -}
365 -
366 -src_test() {
367 - run_test() {
368 - emake -C tests
369 - }
370 - python_foreach_impl run_in_build_dir run_test
371 -}
372 -
373 -src_install() {
374 - python_foreach_impl run_in_build_dir emake DESTDIR="${D}" install
375 - dodoc README.md History
376 - insinto /usr/share/doc/${PF}
377 - use examples && doins -r examples
378 -}
379
380 diff --git a/sci-physics/geant-python/metadata.xml b/sci-physics/geant-python/metadata.xml
381 deleted file mode 100644
382 index e89041142af..00000000000
383 --- a/sci-physics/geant-python/metadata.xml
384 +++ /dev/null
385 @@ -1,11 +0,0 @@
386 -<?xml version="1.0" encoding="UTF-8"?>
387 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
388 -<pkgmetadata>
389 - <maintainer type="project">
390 - <email>sci-physics@g.o</email>
391 - <name>Gentoo Physics Project</name>
392 - </maintainer>
393 - <longdescription lang="en">
394 - Python binding to Geant 4.
395 - </longdescription>
396 -</pkgmetadata>