bircoph     15/08/01 12:46:17

  Modified:             ChangeLog
  Added:                paw-2.14.04-r5.ebuild
  Log:
  Update patchset from Debian version
  
  Signed-off-by: Andrew Savchenko <birc...@gentoo.org>
  (Portage version: 2.2.20/cvs/Linux i686, signed Manifest commit with key 
565953B95372756C)

Revision  Changes    Path
1.34                 sci-physics/paw/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-physics/paw/ChangeLog,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- ChangeLog   1 Aug 2015 11:33:55 -0000       1.33
+++ ChangeLog   1 Aug 2015 12:46:17 -0000       1.34
@@ -1,6 +1,11 @@
 # ChangeLog for sci-physics/paw
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/paw/ChangeLog,v 1.33 2015/08/01 
11:33:55 bircoph Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/paw/ChangeLog,v 1.34 2015/08/01 
12:46:17 bircoph Exp $
+
+*paw-2.14.04-r5 (01 Aug 2015)
+
+  01 Aug 2015; Andrew Savchenko <birc...@gentoo.org> +paw-2.14.04-r5.ebuild:
+  Update Debian patchset. Imported from science overlay.
 
   01 Aug 2015; Andrew Savchenko <birc...@gentoo.org> -paw-2.14.04-r2.ebuild,
   -paw-2.14.04-r3.ebuild, -files/paw-2.14.04-missing-headers.patch:



1.1                  sci-physics/paw/paw-2.14.04-r5.ebuild

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

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

EAPI=5

inherit eutils toolchain-funcs fortran-2

DEB_PN=paw
DEB_PV=${PV}.dfsg.2
DEB_PR=9
DEB_P=${DEB_PN}_${DEB_PV}

DESCRIPTION="CERN's Physics Analysis Workstation data analysis program"
HOMEPAGE="https://paw.web.cern.ch/paw/";
SRC_URI="
        mirror://debian/pool/main/${DEB_PN:0:1}/${DEB_PN}/${DEB_P}.orig.tar.gz
        
mirror://debian/pool/main/${DEB_PN:0:1}/${DEB_PN}/${DEB_P}-${DEB_PR}.debian.tar.gz"

SLOT="0"
LICENSE="GPL-2 LGPL-2 BSD"
KEYWORDS="~amd64 ~hppa ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE=""

RDEPEND="
        sci-physics/cernlib
        x11-libs/libXaw
        >=x11-libs/motif-2.3:0
        x11-libs/xbae"
DEPEND="${RDEPEND}
        dev-lang/cfortran
        virtual/latex-base
        x11-misc/imake
        x11-misc/makedepend"

S="${WORKDIR}/${DEB_PN}-${DEB_PV}.orig"

src_prepare() {
        mv ../debian . && cp debian/add-ons/Makefile .
        export DEB_BUILD_OPTIONS="$(tc-getFC) nostrip nocheck"

        # fix some path stuff and collision for comis.h,
        # already installed by cernlib and replace hardcoded fortran compiler
        sed -i \
                -e "s:/usr/local:${EROOT}/usr:g" \
                -e '/comis.h/d' \
                -e "s/gfortran/$(tc-getFC)/g" \
                Makefile || die

        einfo "Applying Debian patches"
        emake -j1 patch
        epatch "${FILESDIR}"/${P}-glibc-2.10.patch
        # since we depend on cfortran, do not use the one from cernlib
        rm src/include/cfortran/cfortran.h || die
        sed -i \
                -e "s|\(ArCmdBase[[:space:]]*\)ar|\1$(tc-getAR)|g" \
                -e "s|\(RanlibCmd[[:space:]]*\)ranlib|\1$(tc-getRANLIB)|g" \
                src/config/Imake.tmpl   \
                || die "sed Imake.tmpl failed"
}

src_compile() {
        VARTEXFONTS="${T}"/fonts
        emake -j1 cernlib-indep cernlib-arch
}

src_install() {
        default
        cd debian
        dodoc changelog README.* deadpool.txt copyright
        newdoc add-ons/README README.add-ons
}




Reply via email to