diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2010-06-07 15:21:11 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2010-06-07 15:21:11 +0000 |
commit | 15341a3913adb9773012894f99ec73b29c695b89 (patch) | |
tree | 32bd3949b5e288a1d8045cd490f80ea417262fec /sci-physics | |
parent | Stable on amd64 wrt bug #321609 (diff) | |
download | historical-15341a3913adb9773012894f99ec73b29c695b89.tar.gz historical-15341a3913adb9773012894f99ec73b29c695b89.tar.bz2 historical-15341a3913adb9773012894f99ec73b29c695b89.zip |
Version bump
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/lhapdf/ChangeLog | 7 | ||||
-rw-r--r-- | sci-physics/lhapdf/Manifest | 12 | ||||
-rw-r--r-- | sci-physics/lhapdf/lhapdf-5.8.3.ebuild | 76 |
3 files changed, 89 insertions, 6 deletions
diff --git a/sci-physics/lhapdf/ChangeLog b/sci-physics/lhapdf/ChangeLog index 9d540b50cf4f..533db1cfe8b8 100644 --- a/sci-physics/lhapdf/ChangeLog +++ b/sci-physics/lhapdf/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-physics/lhapdf # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v 1.10 2010/04/27 16:28:04 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v 1.11 2010/06/07 15:21:11 bicatali Exp $ + +*lhapdf-5.8.3 (07 Jun 2010) + + 07 Jun 2010; Sébastien Fabbro <bicatali@gentoo.org> +lhapdf-5.8.3.ebuild: + Version bump 27 Apr 2010; Sébastien Fabbro <bicatali@gentoo.org> -lhapdf-5.8.0.ebuild, -lhapdf-5.8.1.ebuild, lhapdf-5.8.2.ebuild: diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest index 13e9ac16e68c..d72dbc2abecd 100644 --- a/sci-physics/lhapdf/Manifest +++ b/sci-physics/lhapdf/Manifest @@ -6,13 +6,15 @@ DIST cteq5l.LHgrid 134797 RMD160 eae4db71b4372f17e9f3634fed61d0501ba81c26 SHA1 2 DIST cteq61.LHgrid 8946864 RMD160 aec29b8d79b8ab0dffe167568d9d31f442d35682 SHA1 cf0d2b5600b2a22d50789d08bf7aa4c3beb6a6af SHA256 5df10c695504f02c2c9cc1eda9ca77fa8c276554cf2cda5fbdba764bf8f47691 DIST cteq61.LHpdf 11860 RMD160 20abcecf3eef6215c5864500b19b8ea39148f184 SHA1 bb82343e51bee2066b0594478defea829e2195b1 SHA256 0dacfd4d5518b2273ba80ae381af7d46eab4784e84312585f5f149f8fce759f0 DIST lhapdf-5.8.2.tar.gz 1093169 RMD160 393b3ff4213d4ab8fb786685c50e59fdb9b28de3 SHA1 dd066fba8db1374f905e7e3fbadc0342cc6158a0 SHA256 c54b4153b43453426510fd8aa322de66a80a33137ad251124345309615f6a3a6 +DIST lhapdf-5.8.3.tar.gz 1093889 RMD160 2b5c65f7e49b111cc9b5f019c7618cbdab3a5a3f SHA1 a95b0f793c18cf2d6d9a3d6858f7b764a27e84f6 SHA256 e9b5e72bab65adef9ef78a5e0ee526a6ee673bed142f5e3617c0a27029b84275 EBUILD lhapdf-5.8.2.ebuild 2153 RMD160 756d13bf43a786ce645c93de5c175082071cb7e1 SHA1 d12f96a6f519f9beb4308fcfc83c16dea6ae9c20 SHA256 814ffcd160c4b40a4e62f611806a60a13fa2a3a4359dec1c145901fc2b205906 -MISC ChangeLog 2099 RMD160 125adae72691c22ccc0389a23c5d8edefb208a0a SHA1 69e166af1ad667ee208e4e5873eb4193b1676731 SHA256 b976c38f5f39fc9d96831fedb5477d91ac93381311bd24ccb60b0d16e69cb566 +EBUILD lhapdf-5.8.3.ebuild 2153 RMD160 4b0000e37163399eb64d61aa8a57c65a0b99a834 SHA1 6e222856af3e7502907ad84bf7ecbbebd6452ab4 SHA256 79306a37bd0b185cd40eb17958e734daca0c1d79576b723de5ca13d1e881a2a8 +MISC ChangeLog 2221 RMD160 ccbaf1ecf7dc008b86bfa35d17b93f83ac8b280a SHA1 fd9e97df023852e06d331fdc8f816a49c741f0f3 SHA256 c9fc5f88a30b0fc99f6c0011caa89243bc87543ab191af8f34a3907a6ff158d6 MISC metadata.xml 995 RMD160 e924208f868c22ccda98eb2b462139f621c067ac SHA1 9cead1d3b35b48936f677044a3a0c6a6ebe373f0 SHA256 12afc533794a5db63bc7449d5dc07d7519a7f2c42fe6cac76aa681672f5fd693 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.14 (GNU/Linux) +Version: GnuPG v2.0.15 (GNU/Linux) -iEYEARECAAYFAkvXG0MACgkQ1ycZbhPLE2DW5wCgkTU903nY9UfPO/X6etBMI83n -mlAAoIHvbiraBdpFz9osXRhm/VHqnKi9 -=KjF7 +iEYEARECAAYFAkwNFo4ACgkQ1ycZbhPLE2DihwCcCeoEYWGaDNL0On4whE8pgFYu +xDsAnivc1a8a2GGWKHOChy+8qSWZdYQU +=FUie -----END PGP SIGNATURE----- diff --git a/sci-physics/lhapdf/lhapdf-5.8.3.ebuild b/sci-physics/lhapdf/lhapdf-5.8.3.ebuild new file mode 100644 index 000000000000..0bc044b2086a --- /dev/null +++ b/sci-physics/lhapdf/lhapdf-5.8.3.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/lhapdf-5.8.3.ebuild,v 1.1 2010/06/07 15:21:11 bicatali Exp $ + +EAPI=2 + +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 + test? ( + http://svn.hepforge.org/${PN}/pdfsets/tags/${PV}/cteq61.LHgrid + http://svn.hepforge.org/${PN}/pdfsets/tags/${PV}/MRST2004nlo.LHgrid + http://svn.hepforge.org/${PN}/pdfsets/tags/${PV}/cteq61.LHpdf + octave? ( http://svn.hepforge.org/${PN}/pdfsets/tags/${PV}/cteq5l.LHgrid ) )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cxx doc examples octave python test" + +RDEPEND="octave? ( sci-mathematics/octave )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen[latex] ) + python? ( dev-lang/swig )" + +src_prepare() { + # do not create extra latex docs + sed -i \ + -e 's/GENERATE_LATEX.*=YES/GENERATE_LATEX = NO/g' \ + ccwrap/Doxyfile || die +} + +src_configure() { + econf \ + $(use_enable cxx ccwrap) \ + $(use_enable cxx old-ccwrap ) \ + $(use_enable python pyext) \ + $(use_enable doc doxygen) +} + +src_test() { + # need to make a bogus link for octave test + ln -s "${DISTDIR}" PDFsets + LHAPATH="${PWD}/PDFsets" \ + LD_LIBRARY_PATH="${PWD}/lib/.libs:${LD_LIBRARY_PATH}" \ + emake check || die "emake check failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README TODO AUTHORS ChangeLog + + # leftover + rm -rf "${D}"/usr/share/${PN}/doc || die + if use doc && use cxx; then + # default doc install buggy + insinto /usr/share/doc/${PF} + doins -r ccwrap/doxy/html || die + fi + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/*.{f,cc} || die + fi +} + +pkg_postinst() { + elog "To install data files, you have to run as root:" + elog "${ROOT}usr/bin/lhapdf-getdata --dest=${ROOT}usr/share/lhapdf --all" +} + +pkg_postrm() { + if [ -d "${ROOT}usr/share/lhapdf" ]; then + ewarn "The data directory has not been removed, probably because" + ewarn "you still have installed data files." + fi +} |