summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-07-24 23:08:26 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-07-24 23:08:26 +0000
commit2f257aeb1e8e72cd5327fcedaa311ac3291898a3 (patch)
treec87b4f53ac36e640626910105ac9fc0c3499b819 /sci-physics/lhapdf
parentDrop support for old AMR libs (diff)
downloadhistorical-2f257aeb1e8e72cd5327fcedaa311ac3291898a3.tar.gz
historical-2f257aeb1e8e72cd5327fcedaa311ac3291898a3.tar.bz2
historical-2f257aeb1e8e72cd5327fcedaa311ac3291898a3.zip
Version bump. Now installs PDFs data separately with a data use flag. (needs large disk space). Thanks Ben Bannier for his work, bug #278107.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'sci-physics/lhapdf')
-rw-r--r--sci-physics/lhapdf/ChangeLog9
-rw-r--r--sci-physics/lhapdf/Manifest17
-rw-r--r--sci-physics/lhapdf/lhapdf-5.7.1.ebuild74
-rw-r--r--sci-physics/lhapdf/metadata.xml3
4 files changed, 96 insertions, 7 deletions
diff --git a/sci-physics/lhapdf/ChangeLog b/sci-physics/lhapdf/ChangeLog
index 89c32a4169bb..35f3daf17940 100644
--- a/sci-physics/lhapdf/ChangeLog
+++ b/sci-physics/lhapdf/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-physics/lhapdf
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v 1.5 2009/02/24 13:16:12 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v 1.6 2009/07/24 23:08:26 bicatali Exp $
+
+*lhapdf-5.7.1 (24 Jul 2009)
+
+ 24 Jul 2009; SĂ©bastien Fabbro <bicatali@gentoo.org> +lhapdf-5.7.1.ebuild,
+ metadata.xml:
+ Version bump. Now installs PDFs data separately with a data use flag
+ (needs large disk space). Thanks Ben Bannier for his work, bug #278107.
*lhapdf-5.7.0 (23 Feb 2009)
diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest
index 272cee974012..edcd63ed269d 100644
--- a/sci-physics/lhapdf/Manifest
+++ b/sci-physics/lhapdf/Manifest
@@ -1,16 +1,21 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+DIST cteq61.LHgrid 8946864 RMD160 aec29b8d79b8ab0dffe167568d9d31f442d35682 SHA1 cf0d2b5600b2a22d50789d08bf7aa4c3beb6a6af SHA256 5df10c695504f02c2c9cc1eda9ca77fa8c276554cf2cda5fbdba764bf8f47691
+DIST cteq61.LHpdf 11860 RMD160 20abcecf3eef6215c5864500b19b8ea39148f184 SHA1 bb82343e51bee2066b0594478defea829e2195b1 SHA256 0dacfd4d5518b2273ba80ae381af7d46eab4784e84312585f5f149f8fce759f0
DIST lhapdf-5.6.0.tar.gz 87459542 RMD160 0c946135139a538e8311c48394932a9e156fdc66 SHA1 e8ad6fae3d101555fb8571559cea9b7bae939062 SHA256 0510ebead2bda1708f07b330ac05d8d86f5e51b3ebfeaea913743557299dc272
DIST lhapdf-5.7.0.tar.gz 112090890 RMD160 4ca29a53ffe9a137ace1fd32b0947a4785926009 SHA1 f1e58e3319c6c06e3391ee233c747b8025a88f0c SHA256 bf15e09e56434262a3678e5be81057e2a2a9d02a3cbd11e70d64230a3980f0dd
+DIST lhapdf-5.7.1-pdf.tar.bz2 400475886 RMD160 1ec7708bba3e0fd9998873132c0ad601810ecc88 SHA1 469173e19f6741532ad8e614c3ff82aee6a21544 SHA256 51c8c89aa190a20e5d89adb090d784f475f924fab6715b73a17eabcd1de61476
+DIST lhapdf-5.7.1.tar.gz 1069770 RMD160 88b0211d9d7bc3dbc6c309b87cd1e59ba13c1e25 SHA1 24b641e94add21021e4999112f597345af2cb389 SHA256 40529629351598317fbf7b5905661e51b23778019d50451eee78d7b1118e2559
EBUILD lhapdf-5.6.0.ebuild 1536 RMD160 d2f148887af11f86cbf1d8724cff8faf0e367ffa SHA1 c8fc1cc95f960148b5c18617bcd16b48f9ace34e SHA256 0ee016fefba400d3eaa741ff516ccd3dd2827d7827b0880078ff99851af06295
EBUILD lhapdf-5.7.0.ebuild 1320 RMD160 09c10b2b2f3888f2045286d127ebe4608222b5d9 SHA1 7dea7e1ffa015a396fbd9510156689bc1b1eb840 SHA256 5696d31e87f5af3840c2b71b76a8612c4965fd4627a51e3178c792ff83c1542a
-MISC ChangeLog 1121 RMD160 9f8ef4d36caa400f03e89b5357d3b743504c439f SHA1 942207792471bfd571e0b3b6f3b33d785d019921 SHA256 311cce1f0226ca854850511b52148b6c704a80b252f0df198ea964390ec29489
-MISC metadata.xml 901 RMD160 f8324b5d4ab59033b1fe1e9a53148c22e75d25ab SHA1 031b1ad488f61fbf0d4da63ea73a56f4c945c4c8 SHA256 3f5f5746a95fb877dabeb4d7afc0bbd1051797f5818c94b86a8e032845364365
+EBUILD lhapdf-5.7.1.ebuild 1873 RMD160 b850ab197ae85ef0c4cc743b859708f61d3c00ac SHA1 8cd029995e7261dfb4ce6214bd6c5f1fb16fd096 SHA256 b72e85e6e559f7eb41b1788445e2a8845102769a5745b0acb18ee70f785664b1
+MISC ChangeLog 1389 RMD160 74d88f2cb17ed142455ac68a63ea7dfce7f5f0a0 SHA1 462947c91d5c71600214ef13908a11bd30df0d89 SHA256 eb2d4f076bf343ba62fad6a86b0fad9ee104a2aeffc13043b6170e0308bcf4d7
+MISC metadata.xml 999 RMD160 1cb72f222c50adcc7a305847744943def2917d7d SHA1 3fe4602d8265530489638c7d68c3646c48c684bd SHA256 7d9af1df4ef7007fe54aae1d2fd14a9395bc968223829ced4502c9d51f9904e3
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.10 (GNU/Linux)
+Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkmj8ygACgkQ1ycZbhPLE2AyBACghhYPUyOO5poC7s3SKPQ4m3Mo
-HowAn2H5j7WDpFXWVJIjgy4sDtKTqoIh
-=Ve94
+iEYEARECAAYFAkpqPvwACgkQ1ycZbhPLE2B4pgCgs5LObTEjHQDnmmq6IrR9GOTV
+W/QAnjFHw1HlmqaCA6gNIAHpsc9URTIF
+=JX0w
-----END PGP SIGNATURE-----
diff --git a/sci-physics/lhapdf/lhapdf-5.7.1.ebuild b/sci-physics/lhapdf/lhapdf-5.7.1.ebuild
new file mode 100644
index 000000000000..0c53ab712b66
--- /dev/null
+++ b/sci-physics/lhapdf/lhapdf-5.7.1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/lhapdf-5.7.1.ebuild,v 1.1 2009/07/24 23:08:26 bicatali Exp $
+
+EAPI=2
+inherit check-reqs
+
+DESCRIPTION="Les Houches Parton Density Function unified library"
+HOMEPAGE="http://projects.hepforge.org/lhapdf/"
+
+# data built with svn export http://svn.hepforge.org/${PN}/pdfsets/tags/${PV}
+SRC_URI="http://www.hepforge.org/archive/lhapdf/${P}.tar.gz
+ http://svn.hepforge.org/${PN}/pdfsets/tags/${PV}/cteq61.LHgrid
+ http://svn.hepforge.org/${PN}/pdfsets/tags/${PV}/cteq61.LHpdf
+ data? ( mirror://gentoo/${P}-pdf.tar.bz2 )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cxx -data doc examples python test"
+
+DEPEND="doc? ( app-doc/doxygen[latex] )
+ python? ( dev-lang/swig )"
+RDEPEND=""
+
+pkg_setup() {
+ if use data; then
+ # Check if we have enough free diskspace to install
+ CHECKREQS_DISK_BUILD="1800"
+ check_reqs
+ fi
+}
+
+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() {
+ LHAPATH="${DISTDIR}" emake check || die "emake check failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README TODO AUTHORS ChangeLog
+
+ if use data; then
+ elog "Installing data files"
+ insinto /usr/share/lhapdf/PDFSets
+ doins "${S}-pdf"/* || die
+ fi
+
+ # 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
+}
diff --git a/sci-physics/lhapdf/metadata.xml b/sci-physics/lhapdf/metadata.xml
index 0ee0caff5105..c5a1839b31c4 100644
--- a/sci-physics/lhapdf/metadata.xml
+++ b/sci-physics/lhapdf/metadata.xml
@@ -15,4 +15,7 @@
version 4.1 onwards a configuration script facilitates the
installation of LHAPDF.
</longdescription>
+<use>
+ <flag name='data'>Install all Parton Density Function data sets system-wide</flag>
+</use>
</pkgmetadata>