Gentoo Archives: gentoo-commits

From: "Andrew Savchenko (bircoph)" <bircoph@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-physics/paw: paw-2.14.04-r5.ebuild ChangeLog
Date: Sat, 01 Aug 2015 12:46:19
Message-Id: 20150801124617.1D67F115@oystercatcher.gentoo.org
1 bircoph 15/08/01 12:46:17
2
3 Modified: ChangeLog
4 Added: paw-2.14.04-r5.ebuild
5 Log:
6 Update patchset from Debian version
7
8 Signed-off-by: Andrew Savchenko <bircoph@g.o>
9 (Portage version: 2.2.20/cvs/Linux i686, signed Manifest commit with key 565953B95372756C)
10
11 Revision Changes Path
12 1.34 sci-physics/paw/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/paw/ChangeLog?rev=1.34&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/paw/ChangeLog?rev=1.34&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/paw/ChangeLog?r1=1.33&r2=1.34
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-physics/paw/ChangeLog,v
21 retrieving revision 1.33
22 retrieving revision 1.34
23 diff -u -r1.33 -r1.34
24 --- ChangeLog 1 Aug 2015 11:33:55 -0000 1.33
25 +++ ChangeLog 1 Aug 2015 12:46:17 -0000 1.34
26 @@ -1,6 +1,11 @@
27 # ChangeLog for sci-physics/paw
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/paw/ChangeLog,v 1.33 2015/08/01 11:33:55 bircoph Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/paw/ChangeLog,v 1.34 2015/08/01 12:46:17 bircoph Exp $
31 +
32 +*paw-2.14.04-r5 (01 Aug 2015)
33 +
34 + 01 Aug 2015; Andrew Savchenko <bircoph@g.o> +paw-2.14.04-r5.ebuild:
35 + Update Debian patchset. Imported from science overlay.
36
37 01 Aug 2015; Andrew Savchenko <bircoph@g.o> -paw-2.14.04-r2.ebuild,
38 -paw-2.14.04-r3.ebuild, -files/paw-2.14.04-missing-headers.patch:
39
40
41
42 1.1 sci-physics/paw/paw-2.14.04-r5.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/paw/paw-2.14.04-r5.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/paw/paw-2.14.04-r5.ebuild?rev=1.1&content-type=text/plain
46
47 Index: paw-2.14.04-r5.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/paw/paw-2.14.04-r5.ebuild,v 1.1 2015/08/01 12:46:17 bircoph Exp $
52
53 EAPI=5
54
55 inherit eutils toolchain-funcs fortran-2
56
57 DEB_PN=paw
58 DEB_PV=${PV}.dfsg.2
59 DEB_PR=9
60 DEB_P=${DEB_PN}_${DEB_PV}
61
62 DESCRIPTION="CERN's Physics Analysis Workstation data analysis program"
63 HOMEPAGE="https://paw.web.cern.ch/paw/"
64 SRC_URI="
65 mirror://debian/pool/main/${DEB_PN:0:1}/${DEB_PN}/${DEB_P}.orig.tar.gz
66 mirror://debian/pool/main/${DEB_PN:0:1}/${DEB_PN}/${DEB_P}-${DEB_PR}.debian.tar.gz"
67
68 SLOT="0"
69 LICENSE="GPL-2 LGPL-2 BSD"
70 KEYWORDS="~amd64 ~hppa ~sparc ~x86 ~amd64-linux ~x86-linux"
71 IUSE=""
72
73 RDEPEND="
74 sci-physics/cernlib
75 x11-libs/libXaw
76 >=x11-libs/motif-2.3:0
77 x11-libs/xbae"
78 DEPEND="${RDEPEND}
79 dev-lang/cfortran
80 virtual/latex-base
81 x11-misc/imake
82 x11-misc/makedepend"
83
84 S="${WORKDIR}/${DEB_PN}-${DEB_PV}.orig"
85
86 src_prepare() {
87 mv ../debian . && cp debian/add-ons/Makefile .
88 export DEB_BUILD_OPTIONS="$(tc-getFC) nostrip nocheck"
89
90 # fix some path stuff and collision for comis.h,
91 # already installed by cernlib and replace hardcoded fortran compiler
92 sed -i \
93 -e "s:/usr/local:${EROOT}/usr:g" \
94 -e '/comis.h/d' \
95 -e "s/gfortran/$(tc-getFC)/g" \
96 Makefile || die
97
98 einfo "Applying Debian patches"
99 emake -j1 patch
100 epatch "${FILESDIR}"/${P}-glibc-2.10.patch
101 # since we depend on cfortran, do not use the one from cernlib
102 rm src/include/cfortran/cfortran.h || die
103 sed -i \
104 -e "s|\(ArCmdBase[[:space:]]*\)ar|\1$(tc-getAR)|g" \
105 -e "s|\(RanlibCmd[[:space:]]*\)ranlib|\1$(tc-getRANLIB)|g" \
106 src/config/Imake.tmpl \
107 || die "sed Imake.tmpl failed"
108 }
109
110 src_compile() {
111 VARTEXFONTS="${T}"/fonts
112 emake -j1 cernlib-indep cernlib-arch
113 }
114
115 src_install() {
116 default
117 cd debian
118 dodoc changelog README.* deadpool.txt copyright
119 newdoc add-ons/README README.add-ons
120 }