From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-physics/lhapdf: metadata.xml Manifest lhapdf-5.5.0.ebuild ChangeLog |
Date: | Sun, 07 Sep 2008 22:10:31 |
Message-Id: | E1KcSSh-00017O-Ou@stork.gentoo.org |
1 | bicatali 08/09/07 22:10:27 |
2 | |
3 | Added: metadata.xml Manifest lhapdf-5.5.0.ebuild ChangeLog |
4 | Log: |
5 | Initial import, inspired from Benjamin Bannier's work (bug #236719) |
6 | (Portage version: 2.2_rc8/cvs/Linux 2.6.23-gentoo-r9 x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sci-physics/lhapdf/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 | <pkgmetadata> |
19 | <herd>sci-physics</herd> |
20 | <longdescription lang="en"> |
21 | Les Houches Parton Density Function (LHAPDF) |
22 | provides a unified and easy to use interface to modern PDF |
23 | sets. It is designed to work not only with individual PDF sets but |
24 | also with the more recent multiple "error" sets. It can be viewed as |
25 | the successor to PDFLIB, incorporating many of the older sets found in |
26 | the latter, including pion and photon PDFs. In LHAPDF the computer |
27 | code and input parameters/grids are separated thus allowing more easy |
28 | updating and no limit to the expansion possibilities. The code and |
29 | data sets can be downloaded together or individually as desired. From |
30 | version 4.1 onwards a configuration script facilitates the |
31 | installation of LHAPDF. |
32 | </longdescription> |
33 | </pkgmetadata> |
34 | |
35 | |
36 | |
37 | 1.1 sci-physics/lhapdf/Manifest |
38 | |
39 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/Manifest?rev=1.1&view=markup |
40 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/Manifest?rev=1.1&content-type=text/plain |
41 | |
42 | Index: Manifest |
43 | =================================================================== |
44 | DIST lhapdf-5.5.0.tar.gz 50539943 RMD160 f62af6f9a7ccd3494f26825d63b6afc6198b7b69 SHA1 9c0a60429b90d1bf4aab9b25134643a72a90974d SHA256 40a941477cfa225acbb1dba0ef79cdc051331ecae0c56996a53e8f45459cb405 |
45 | EBUILD lhapdf-5.5.0.ebuild 1589 RMD160 095a8254e7f4bad8d9e0f2626479a3e0882e5ab3 SHA1 f2dc7b16f82bd68bcb267f22acdc7c509d7e2aea SHA256 5c7f720e7f6f738a547de1c186f309e30681b15b1264ec2b23e98856f27d9f63 |
46 | MISC ChangeLog 313 RMD160 5260cf9f6df1b8023b2f4d913ad95654b9d572c4 SHA1 429dccb975892075ef63229e4fd200f8001b8fe6 SHA256 90e639acc067dae713dc4232917dc2b30881344ebe4d38b35707d6c4bddd6d53 |
47 | MISC metadata.xml 901 RMD160 f8324b5d4ab59033b1fe1e9a53148c22e75d25ab SHA1 031b1ad488f61fbf0d4da63ea73a56f4c945c4c8 SHA256 3f5f5746a95fb877dabeb4d7afc0bbd1051797f5818c94b86a8e032845364365 |
48 | |
49 | |
50 | |
51 | 1.1 sci-physics/lhapdf/lhapdf-5.5.0.ebuild |
52 | |
53 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/lhapdf-5.5.0.ebuild?rev=1.1&view=markup |
54 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/lhapdf-5.5.0.ebuild?rev=1.1&content-type=text/plain |
55 | |
56 | Index: lhapdf-5.5.0.ebuild |
57 | =================================================================== |
58 | # Copyright 1999-2008 Gentoo Foundation |
59 | # Distributed under the terms of the GNU General Public License v2 |
60 | # $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/lhapdf-5.5.0.ebuild,v 1.1 2008/09/07 22:10:27 bicatali Exp $ |
61 | |
62 | inherit eutils fortran |
63 | |
64 | DESCRIPTION="Les Houches Parton Density Function unified library" |
65 | HOMEPAGE="http://projects.hepforge.org/lhapdf/" |
66 | SRC_URI="http://www.hepforge.org/archive/lhapdf/${P}.tar.gz" |
67 | |
68 | LICENSE="GPL-2" |
69 | SLOT="0" |
70 | KEYWORDS="~amd64 ~x86" |
71 | IUSE="doc examples python" |
72 | |
73 | DEPEND="doc? ( app-doc/doxygen ) |
74 | python? ( dev-lang/swig )" |
75 | RDEPEND="" |
76 | |
77 | pkg_setup() { |
78 | local err |
79 | if use python && ! built_with_use dev-lang/swig python; then |
80 | eerror "You need USE=python in dev-lang/swig for python support." |
81 | err="${err} python" |
82 | fi |
83 | # this is needed for formulas even with html output only |
84 | if use doc && ! built_with_use app-doc/doxygen latex; then |
85 | eerror "You need USE=latex in app-doc/doxygen for docs." |
86 | err="${err} latex" |
87 | fi |
88 | |
89 | [ -z "${err}" ] || die "Unsatisfied dependencies -- needs manual fix" |
90 | |
91 | FORTRAN="gfortran ifc" |
92 | fortran_pkg_setup |
93 | } |
94 | |
95 | src_unpack() { |
96 | unpack ${A} |
97 | cd "${S}" |
98 | # do not create extra latex docs |
99 | sed -i \ |
100 | -e 's/GENERATE_LATEX.*=YES/GENERATE_LATEX = NO/g' \ |
101 | ccwrap/Doxyfile || die |
102 | } |
103 | |
104 | src_compile() { |
105 | econf \ |
106 | $(use_enable python pyext) \ |
107 | $(use_enable doc doxygen) \ |
108 | || die "econf failed" |
109 | emake || die "emake failed" |
110 | } |
111 | |
112 | src_install() { |
113 | emake DESTDIR="${D}" install || die "emake install failed" |
114 | dodoc README TODO AUTHORS ChangeLog |
115 | |
116 | use doc && mv "${D}"/usr/share/${PN}/doc/html "${D}"/usr/share/doc/${PF} |
117 | rm -rf "${D}"/usr/share/${PN}/doc |
118 | if use examples; then |
119 | insinto /usr/share/doc/${PF} |
120 | doins -r examples || die |
121 | fi |
122 | } |
123 | |
124 | |
125 | |
126 | 1.1 sci-physics/lhapdf/ChangeLog |
127 | |
128 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/ChangeLog?rev=1.1&view=markup |
129 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lhapdf/ChangeLog?rev=1.1&content-type=text/plain |
130 | |
131 | Index: ChangeLog |
132 | =================================================================== |
133 | # ChangeLog for sci-physics/lhapdf |
134 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
135 | # $Header: /var/cvsroot/gentoo-x86/sci-physics/lhapdf/ChangeLog,v 1.1 2008/09/07 22:10:27 bicatali Exp $ |
136 | |
137 | *lhapdf-5.5.0 (07 Sep 2008) |
138 | |
139 | 07 Sep 2008; Sébastien Fabbro <bicatali@g.o> +metadata.xml, |
140 | +lhapdf-5.5.0.ebuild: |
141 | Initial import, inspired from Benjamin Bannier's work (bug #236719) |