amadio      15/03/04 04:27:35

  Modified:             ChangeLog
  Added:                geant-data-4.10.01.ebuild
  Log:
  Version bump.
  
  (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 
0xF0DE108F)

Revision  Changes    Path
1.5                  sci-physics/geant-data/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant-data/ChangeLog?rev=1.5&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant-data/ChangeLog?rev=1.5&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant-data/ChangeLog?r1=1.4&r2=1.5

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-physics/geant-data/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog   29 May 2014 16:09:22 -0000      1.4
+++ ChangeLog   4 Mar 2015 04:27:35 -0000       1.5
@@ -1,6 +1,11 @@
 # ChangeLog for sci-physics/geant-data
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-data/ChangeLog,v 1.4 
2014/05/29 16:09:22 bicatali Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-data/ChangeLog,v 1.5 
2015/03/04 04:27:35 amadio Exp $
+
+*geant-data-4.10.01 (04 Mar 2015)
+
+  04 Mar 2015; <[email protected]> +geant-data-4.10.01.ebuild:
+  version bump
 
   29 May 2014; Sébastien Fabbro <[email protected]> 
geant-data-4.10.00.ebuild:
   Relaxed hard dependency on exactly same version of sci-physics/geant



1.1                  sci-physics/geant-data/geant-data-4.10.01.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant-data/geant-data-4.10.01.ebuild?rev=1.1&view=markup
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

Index: geant-data-4.10.01.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $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 $

EAPI=5

DESCRIPTION="Data files for Geant4 physical processes"
HOMEPAGE="http://geant4.cern.ch/";

GEANT4_DATA="
        G4NDL.4.4
        G4EMLOW.6.39
        G4RadioactiveDecay.4.1
        G4SAIDDATA.1.1
        G4NEUTRONXS.1.4
        G4PII.1.3
        G4PhotonEvaporation.3.1
        G4ABLA.3.0
        RealSurface.1.0
        G4ENSDFSTATE.1.0"

SRC_COM="http://geant4.cern.ch/support/source";
for d in ${GEANT4_DATA}; do
        SRC_URI="${SRC_URI} ${SRC_COM}/${d}.tar.gz"
done

LICENSE="geant4"
SLOT="4"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""

RDEPEND=">=sci-physics/geant-${PV}:4"
DEPEND="${RDEPEND}"

S="${WORKDIR}"

src_unpack() {
        # unpack in destination only to avoid copy
        return
}

prout() {
        for d in ${GEANT4_DATA}; do
                local p=${d/.}
                doins -r *${p/G4}
        done
}

src_install() {
        sed -n "s,export \(G4.\+DATA=\"\).*\(/share/Geant.\+/data/.\+\) > 
/dev/null ; pwd\`,\1${EROOT%/}/usr\2,p" \
                "${EROOT}/usr/bin/geant4.sh" > 99geant-data
        doenvd 99geant-data
        local g4dir=/usr/$(sed -n 's|.*/\(share/Geant4.*/data\).*|\1|p' 
"${EROOT}/usr/bin/geant4.sh" | tail -n 1)
        dodir ${g4dir}
        cd "${ED}${g4dir}"
        unpack ${A}
}




Reply via email to