summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-10-04 10:17:42 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-10-04 10:17:42 +0000
commit0c01c2ead7b45b9a11b502f5a29452013a1885df (patch)
treee5bdc2f6634218fec3ed23319dc8698bc068d0fd /sci-physics/lhapdf
parentalpha/ia64 stable (diff)
downloadhistorical-0c01c2ead7b45b9a11b502f5a29452013a1885df.tar.gz
historical-0c01c2ead7b45b9a11b502f5a29452013a1885df.tar.bz2
historical-0c01c2ead7b45b9a11b502f5a29452013a1885df.zip
Version bump, closing bug #239333
Package-Manager: portage-2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64
Diffstat (limited to 'sci-physics/lhapdf')
-rw-r--r--sci-physics/lhapdf/ChangeLog7
-rw-r--r--sci-physics/lhapdf/Manifest10
-rw-r--r--sci-physics/lhapdf/lhapdf-5.5.1.ebuild65
3 files changed, 77 insertions, 5 deletions
diff --git a/sci-physics/lhapdf/ChangeLog b/sci-physics/lhapdf/ChangeLog
index 91e0b434fcc8..694293ac726b 100644
--- a/sci-physics/lhapdf/ChangeLog
+++ b/sci-physics/lhapdf/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-physics/lhapdf
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v 1.1 2008/09/07 22:10:27 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v 1.2 2008/10/04 10:17:42 bicatali Exp $
+
+*lhapdf-5.5.1 (04 Oct 2008)
+
+ 04 Oct 2008; SĂ©bastien Fabbro <bicatali@gentoo.org> +lhapdf-5.5.1.ebuild:
+ Version bump, closing bug #239333
*lhapdf-5.5.0 (07 Sep 2008)
diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest
index e456f60037d5..a5f5398498c9 100644
--- a/sci-physics/lhapdf/Manifest
+++ b/sci-physics/lhapdf/Manifest
@@ -2,13 +2,15 @@
Hash: SHA1
DIST lhapdf-5.5.0.tar.gz 50539943 RMD160 f62af6f9a7ccd3494f26825d63b6afc6198b7b69 SHA1 9c0a60429b90d1bf4aab9b25134643a72a90974d SHA256 40a941477cfa225acbb1dba0ef79cdc051331ecae0c56996a53e8f45459cb405
+DIST lhapdf-5.5.1.tar.gz 50584124 RMD160 93aa43eda1e6a6f12c5345fdbee1a598fadaad1e SHA1 f432c15750e858ee01338d9881bcb987e3cdf682 SHA256 120727db99b0c354754e8cd0b95ddfaf5fc231597a42f952d0f53d85d6cfefe9
EBUILD lhapdf-5.5.0.ebuild 1691 RMD160 28e8ba8eeed3d5b5449dd9ba508f7033d351af16 SHA1 f7befd39a43b5ed84b07c0fd2fdf342f27fab72c SHA256 2567ce31bb7c6fbcc71ffefb806bbe9676b269e21f448d77d891d138eddc948a
-MISC ChangeLog 405 RMD160 54765e65ea27158842e6dc729260327013f4c5ae SHA1 fac7338c9ad46c6898f09746ed2b29b99c0f95c7 SHA256 da342a4fcd42ca1241d809d4d74dea11669246c9ea07032866213c9933d9f70b
+EBUILD lhapdf-5.5.1.ebuild 1691 RMD160 8b8c8a5826a491991c6b53cf28e65345b7859fd5 SHA1 84bf5b16b75c5e4994605874601dc27be3c9efd6 SHA256 1edd5d46583ea0c22c73a7022fe32cefe0711eeeeaee67478df8f8600f513a1e
+MISC ChangeLog 548 RMD160 4e9244d4f3d3703a2eee434f134445b42be4e605 SHA1 1738c20a5efe17769d645a1c4de4df619a734d6b SHA256 d8acf3b5ada20e1103e0a2d527b395b5134fafed49cba94774152ae959578335
MISC metadata.xml 901 RMD160 f8324b5d4ab59033b1fe1e9a53148c22e75d25ab SHA1 031b1ad488f61fbf0d4da63ea73a56f4c945c4c8 SHA256 3f5f5746a95fb877dabeb4d7afc0bbd1051797f5818c94b86a8e032845364365
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkjEUV4ACgkQ1ycZbhPLE2B0KQCfem8X4qZAC8OPBsMjw4uF9vsP
-e70AoKi7AOWxNNaGDJFe6ZduiA0ht3/9
-=L1Cl
+iEYEARECAAYFAkjnQtEACgkQ1ycZbhPLE2CZDwCfdyxk9ZnfDjasW/urmcIn21aL
+/EUAoIJMZ6ULsMtHwQJ22CH1UG0BEEH/
+=4BbV
-----END PGP SIGNATURE-----
diff --git a/sci-physics/lhapdf/lhapdf-5.5.1.ebuild b/sci-physics/lhapdf/lhapdf-5.5.1.ebuild
new file mode 100644
index 000000000000..b890df1cacb3
--- /dev/null
+++ b/sci-physics/lhapdf/lhapdf-5.5.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/lhapdf-5.5.1.ebuild,v 1.1 2008/10/04 10:17:42 bicatali Exp $
+
+inherit eutils fortran
+
+DESCRIPTION="Les Houches Parton Density Function unified library"
+HOMEPAGE="http://projects.hepforge.org/lhapdf/"
+SRC_URI="http://www.hepforge.org/archive/lhapdf/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples python"
+
+DEPEND="doc? ( app-doc/doxygen )
+ python? ( dev-lang/swig )"
+RDEPEND=""
+
+pkg_setup() {
+ local err
+ if use python && ! built_with_use dev-lang/swig python; then
+ eerror "You need USE=python in dev-lang/swig for python support."
+ err="${err} python"
+ fi
+ # this is needed for formulas even with html output only
+ if use doc && ! built_with_use app-doc/doxygen latex; then
+ eerror "You need USE=latex in app-doc/doxygen for docs."
+ err="${err} latex"
+ fi
+
+ [ -z "${err}" ] || die "Unsatisfied dependencies -- needs manual fix"
+
+ FORTRAN="gfortran ifc"
+ fortran_pkg_setup
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # do not create extra latex docs
+ sed -i \
+ -e 's/GENERATE_LATEX.*=YES/GENERATE_LATEX = NO/g' \
+ ccwrap/Doxyfile || die
+}
+
+src_compile() {
+ econf \
+ $(use_enable python pyext) \
+ $(use_enable doc doxygen) \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README TODO AUTHORS ChangeLog
+
+ use doc && mv "${D}"/usr/share/${PN}/doc/html "${D}"/usr/share/doc/${PF}
+ rm -rf "${D}"/usr/share/${PN}/doc
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples || die
+ fi
+}