bircoph     15/05/27 21:37:48

  Modified:             ChangeLog hepmc-2.06.03.ebuild hepmc-2.06.08.ebuild
  Added:                hepmc-2.06.09-r1.ebuild
  Removed:              hepmc-2.06.09.ebuild
  Log:
  update homepage, floatflt dep, bump to EAPI=5
  
  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.35                 sci-physics/hepmc/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- ChangeLog   26 Aug 2013 10:56:43 -0000      1.34
+++ ChangeLog   27 May 2015 21:37:48 -0000      1.35
@@ -1,6 +1,13 @@
 # ChangeLog for sci-physics/hepmc
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v 1.34 
2013/08/26 10:56:43 patrick Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v 1.35 
2015/05/27 21:37:48 bircoph Exp $
+
+*hepmc-2.06.09-r1 (27 May 2015)
+
+  27 May 2015; Andrew Savchenko <birc...@gentoo.org> hepmc-2.06.03.ebuild,
+  hepmc-2.06.08.ebuild, -hepmc-2.06.09.ebuild, +hepmc-2.06.09-r1.ebuild:
+  Prefer floatflt.sty from dev-texlive/texlive-latexextra.
+  Bump to EAPI=5, remove old. Update homepage.
 
 *hepmc-2.06.09 (26 Aug 2013)
 



1.9                  sci-physics/hepmc/hepmc-2.06.03.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/hepmc-2.06.03.ebuild?rev=1.9&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/hepmc-2.06.03.ebuild?rev=1.9&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/hepmc-2.06.03.ebuild?r1=1.8&r2=1.9

Index: hepmc-2.06.03.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.06.03.ebuild,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- hepmc-2.06.03.ebuild        8 Jun 2011 15:15:24 -0000       1.8
+++ hepmc-2.06.03.ebuild        27 May 2015 21:37:48 -0000      1.9
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.06.03.ebuild,v 
1.8 2011/06/08 15:15:24 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.06.03.ebuild,v 
1.9 2015/05/27 21:37:48 bircoph Exp $
 
 EAPI=2
 
@@ -9,7 +9,7 @@
 MYP=HepMC-${PV}
 
 DESCRIPTION="Event Record for Monte Carlo Generators"
-HOMEPAGE="https://savannah.cern.ch/projects/hepmc/";
+HOMEPAGE="http://lcgapp.cern.ch/project/simu/HepMC/";
 SRC_URI="http://lcgapp.cern.ch/project/simu/HepMC/download/${MYP}.tar.gz";
 
 LICENSE="GPL-2"



1.3                  sci-physics/hepmc/hepmc-2.06.08.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/hepmc-2.06.08.ebuild?rev=1.3&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/hepmc-2.06.08.ebuild?rev=1.3&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/hepmc-2.06.08.ebuild?r1=1.2&r2=1.3

Index: hepmc-2.06.08.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.06.08.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- hepmc-2.06.08.ebuild        7 Aug 2012 16:56:28 -0000       1.2
+++ hepmc-2.06.08.ebuild        27 May 2015 21:37:48 -0000      1.3
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.06.08.ebuild,v 
1.2 2012/08/07 16:56:28 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.06.08.ebuild,v 
1.3 2015/05/27 21:37:48 bircoph Exp $
 
 EAPI=4
 
@@ -9,7 +9,7 @@
 MYP=HepMC-${PV}
 
 DESCRIPTION="Event Record for Monte Carlo Generators"
-HOMEPAGE="https://savannah.cern.ch/projects/hepmc/";
+HOMEPAGE="http://lcgapp.cern.ch/project/simu/HepMC/";
 SRC_URI="http://lcgapp.cern.ch/project/simu/HepMC/download/${MYP}.tar.gz";
 
 LICENSE="GPL-2"



1.1                  sci-physics/hepmc/hepmc-2.06.09-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/hepmc-2.06.09-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/hepmc-2.06.09-r1.ebuild?rev=1.1&content-type=text/plain

Index: hepmc-2.06.09-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.06.09-r1.ebuild,v 
1.1 2015/05/27 21:37:48 bircoph Exp $

EAPI=5

inherit cmake-utils

MYP=HepMC-${PV}

DESCRIPTION="Event Record for Monte Carlo Generators"
HOMEPAGE="http://lcgapp.cern.ch/project/simu/HepMC/";
SRC_URI="http://lcgapp.cern.ch/project/simu/HepMC/download/${MYP}.tar.gz";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="cm doc examples gev static-libs test"

RDEPEND=""
DEPEND="${RDEPEND}
        doc? (
                app-doc/doxygen
                || (
                        dev-texlive/texlive-latex
                        dev-tex/floatflt
                )
        )"

S="${WORKDIR}/${MYP}"

DOCS=( ChangeLog AUTHORS )

src_prepare() {
        sed -i -e '/add_subdirectory(doc)/d' CMakeLists.txt
        # CMake doc building broken
        # gentoo doc directory
        #sed -i \
        #       -e "s:share/HepMC/doc:share/doc/${PF}:" \
        #       doc/CMakeLists.txt || die

        # gentoo examples directory
        sed -i \
                -e "s:share/HepMC:share/doc/${PF}:" \
                $(find examples -name CMakeLists.txt) || die

        # respect user's flags
        sed -i \
                -e "s/-O -ansi -pedantic -Wall//g" \
                cmake/Modules/HepMCVariables.cmake || die

        # gentoo libdir love
        sed -i \
                -e '/DESTINATION/s/lib/lib${LIB_SUFFIX}/g' \
                {src,fio}/CMakeLists.txt || die

        # remove targets if use flags not set
        use examples || sed -i -e '/add_subdirectory(examples)/d' CMakeLists.txt
        use test || sed -i -e '/add_subdirectory(test)/d' CMakeLists.txt
        if ! use static-libs; then
                sed -i \
                        -e '/(HepMC\(fio\|\)S/d' \
                        -e '/TARGETS/s/HepMC\(fio\|\)S//' \
                        {src,fio}/CMakeLists.txt || die
        fi
}

src_configure() {
        # use MeV over GeV and mm over cm
        local length_conf="MM"
        use cm && length_conf="CM"
        local momentum_conf="MEV"
        use gev && momentum_conf="GEV"
        mycmakeargs+=(
                -Dlength=${length_conf}
                -Dmomentum=${momentum_conf}
        )
        cmake-utils_src_configure
}

src_compile() {
        cmake-utils_src_compile
        if use doc; then
                cd doc
                ./buildDoc.sh || die
                ./buildDoxygen.sh || die
        fi
}

src_install() {
        cmake-utils_src_install
        use doc && dodoc doc/*.pdf && dohtml -r doc/html/*
}




Reply via email to