bircoph     15/06/04 18:08:53

  Modified:             ChangeLog
  Added:                lhapdf-6.1.5.ebuild
  Log:
  version bump for 6.x branch
  
  Signed-off-by: Andrew Savchenko <birc...@gentoo.org>
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
565953B95372756C)

Revision  Changes    Path
1.31                 sci-physics/lhapdf/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- ChangeLog   8 Apr 2015 18:23:27 -0000       1.30
+++ ChangeLog   4 Jun 2015 18:08:53 -0000       1.31
@@ -1,6 +1,11 @@
 # ChangeLog for sci-physics/lhapdf
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v 1.30 
2015/04/08 18:23:27 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v 1.31 
2015/06/04 18:08:53 bircoph Exp $
+
+*lhapdf-6.1.5 (04 Jun 2015)
+
+  04 Jun 2015; Andrew Savchenko <birc...@gentoo.org> +lhapdf-6.1.5.ebuild:
+  Vernios bump in 6.x branch.
 
   08 Apr 2015; Michał Górny <mgo...@gentoo.org> lhapdf-6.0.5.ebuild,
   lhapdf-6.1.0.ebuild, lhapdf-6.1.2.ebuild, lhapdf-6.1.3.ebuild:



1.1                  sci-physics/lhapdf/lhapdf-6.1.5.ebuild

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

Index: lhapdf-6.1.5.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/lhapdf-6.1.5.ebuild,v 1.1 
2015/06/04 18:08:53 bircoph Exp $

EAPI=5

AUTOTOOLS_IN_SOURCE_BUILD=yes
PYTHON_COMPAT=( python{2_7,3_3,3_4} )

inherit versionator autotools-utils distutils-r1

MY_PV=$(get_version_component_range 1-3 ${PV})
MY_PF=LHAPDF-${MY_PV}

DESCRIPTION="Les Houches Parton Density Function unified library"
HOMEPAGE="http://lhapdf.hepforge.org/";
SRC_URI="http://www.hepforge.org/archive/lhapdf/${MY_PF}.tar.gz";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"

IUSE="doc examples python static-libs"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"

RDEPEND="
        dev-libs/boost:0=
        python? ( ${PYTHON_DEPS} )"
DEPEND="${RDEPEND}
        doc? ( app-doc/doxygen[latex] )"

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

src_configure() {
        autotools-utils_src_configure $(use_enable python)
        if use python; then
                cd "${S}/wrappers/python" && distutils-r1_src_prepare
        fi
}

src_compile() {
        autotools-utils_src_compile all $(use doc && echo doxy)
        if use python; then
           cd "${S}/wrappers/python" && distutils-r1_src_compile
        fi
}

src_test() {
        autotools-utils_src_compile -C tests
}

src_install() {
        autotools-utils_src_install
        use doc && dohtml -r doc/doxygen/*
        if use examples; then
                insinto /usr/share/doc/${PF}/examples
                doins examples/*.cc
        fi
        if use python; then
           cd "${S}/wrappers/python" && distutils-r1_src_install
        fi
}

pkg_postinst() {
        elog "Download data files from:"
        elog 
"http://www.hepforge.org/archive/${PN}/pdfsets/$(get_version_component_range 
1-2 ${PV})"
        elog "and untar them into ${EROOT%/}/usr/share/LHAPDF"
}




Reply via email to