1 |
amadio 15/03/04 04:27:35 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: geant-data-4.10.01.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0xF0DE108F) |
9 |
|
10 |
Revision Changes Path |
11 |
1.5 sci-physics/geant-data/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant-data/ChangeLog?rev=1.5&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant-data/ChangeLog?rev=1.5&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant-data/ChangeLog?r1=1.4&r2=1.5 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-physics/geant-data/ChangeLog,v |
20 |
retrieving revision 1.4 |
21 |
retrieving revision 1.5 |
22 |
diff -u -r1.4 -r1.5 |
23 |
--- ChangeLog 29 May 2014 16:09:22 -0000 1.4 |
24 |
+++ ChangeLog 4 Mar 2015 04:27:35 -0000 1.5 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sci-physics/geant-data |
27 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-data/ChangeLog,v 1.4 2014/05/29 16:09:22 bicatali Exp $ |
29 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-data/ChangeLog,v 1.5 2015/03/04 04:27:35 amadio Exp $ |
31 |
+ |
32 |
+*geant-data-4.10.01 (04 Mar 2015) |
33 |
+ |
34 |
+ 04 Mar 2015; <amadio@g.o> +geant-data-4.10.01.ebuild: |
35 |
+ version bump |
36 |
|
37 |
29 May 2014; Sébastien Fabbro <bicatali@g.o> geant-data-4.10.00.ebuild: |
38 |
Relaxed hard dependency on exactly same version of sci-physics/geant |
39 |
|
40 |
|
41 |
|
42 |
1.1 sci-physics/geant-data/geant-data-4.10.01.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant-data/geant-data-4.10.01.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant-data/geant-data-4.10.01.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: geant-data-4.10.01.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2015 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-data/geant-data-4.10.01.ebuild,v 1.1 2015/03/04 04:27:35 amadio Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
DESCRIPTION="Data files for Geant4 physical processes" |
56 |
HOMEPAGE="http://geant4.cern.ch/" |
57 |
|
58 |
GEANT4_DATA=" |
59 |
G4NDL.4.4 |
60 |
G4EMLOW.6.39 |
61 |
G4RadioactiveDecay.4.1 |
62 |
G4SAIDDATA.1.1 |
63 |
G4NEUTRONXS.1.4 |
64 |
G4PII.1.3 |
65 |
G4PhotonEvaporation.3.1 |
66 |
G4ABLA.3.0 |
67 |
RealSurface.1.0 |
68 |
G4ENSDFSTATE.1.0" |
69 |
|
70 |
SRC_COM="http://geant4.cern.ch/support/source" |
71 |
for d in ${GEANT4_DATA}; do |
72 |
SRC_URI="${SRC_URI} ${SRC_COM}/${d}.tar.gz" |
73 |
done |
74 |
|
75 |
LICENSE="geant4" |
76 |
SLOT="4" |
77 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
78 |
IUSE="" |
79 |
|
80 |
RDEPEND=">=sci-physics/geant-${PV}:4" |
81 |
DEPEND="${RDEPEND}" |
82 |
|
83 |
S="${WORKDIR}" |
84 |
|
85 |
src_unpack() { |
86 |
# unpack in destination only to avoid copy |
87 |
return |
88 |
} |
89 |
|
90 |
prout() { |
91 |
for d in ${GEANT4_DATA}; do |
92 |
local p=${d/.} |
93 |
doins -r *${p/G4} |
94 |
done |
95 |
} |
96 |
|
97 |
src_install() { |
98 |
sed -n "s,export \(G4.\+DATA=\"\).*\(/share/Geant.\+/data/.\+\) > /dev/null ; pwd\`,\1${EROOT%/}/usr\2,p" \ |
99 |
"${EROOT}/usr/bin/geant4.sh" > 99geant-data |
100 |
doenvd 99geant-data |
101 |
local g4dir=/usr/$(sed -n 's|.*/\(share/Geant4.*/data\).*|\1|p' "${EROOT}/usr/bin/geant4.sh" | tail -n 1) |
102 |
dodir ${g4dir} |
103 |
cd "${ED}${g4dir}" |
104 |
unpack ${A} |
105 |
} |