Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/f2c: metadata.xml f2c-20100827.ebuild ChangeLog
Date: Tue, 19 Jun 2012 23:49:38
Message-Id: 20120619234925.6E6A42004B@flycatcher.gentoo.org
1 bicatali 12/06/19 23:49:25
2
3 Modified: metadata.xml ChangeLog
4 Added: f2c-20100827.ebuild
5 Log:
6 Version bump. libf2c only needed at run time.
7
8 (Portage version: 2.1.10.65/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.4 dev-lang/f2c/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/f2c/metadata.xml?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/f2c/metadata.xml?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/f2c/metadata.xml?r1=1.3&r2=1.4
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-lang/f2c/metadata.xml,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- metadata.xml 25 Dec 2007 14:13:42 -0000 1.3
24 +++ metadata.xml 19 Jun 2012 23:49:25 -0000 1.4
25 @@ -1,15 +1,15 @@
26 <?xml version="1.0" encoding="UTF-8"?>
27 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
28 <pkgmetadata>
29 - <herd>sci</herd>
30 - <longdescription lang="en">
31 - F2C compiles FORTRAN 77 sources by converting to C/C++ sources and
32 - compiling the later with gcc. The resulting binaries depend on the
33 - libf2c runtime library.
34 - </longdescription>
35 - <longdescription lang="de">
36 - F2C kompiliert FORTRAN 77 Quellcode durch Konvertierung in C/C++
37 - Quellcode und deren anschließendes Kompilieren mit Hilfe von gcc. Die
38 - produzierten Binärdateien benötigen die Laufzeitbibliothek libf2c.
39 - </longdescription>
40 +<herd>sci</herd>
41 +<longdescription lang="en">
42 + F2C compiles FORTRAN 77 sources by converting to C/C++ sources and
43 + compiling the later with gcc. The resulting binaries depend on the
44 + libf2c runtime library.
45 +</longdescription>
46 +<longdescription lang="de">
47 + F2C kompiliert FORTRAN 77 Quellcode durch Konvertierung in C/C++
48 + Quellcode und deren anschließendes Kompilieren mit Hilfe von gcc. Die
49 + produzierten Binärdateien benötigen die Laufzeitbibliothek libf2c.
50 +</longdescription>
51 </pkgmetadata>
52
53
54
55 1.28 dev-lang/f2c/ChangeLog
56
57 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/f2c/ChangeLog?rev=1.28&view=markup
58 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/f2c/ChangeLog?rev=1.28&content-type=text/plain
59 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/f2c/ChangeLog?r1=1.27&r2=1.28
60
61 Index: ChangeLog
62 ===================================================================
63 RCS file: /var/cvsroot/gentoo-x86/dev-lang/f2c/ChangeLog,v
64 retrieving revision 1.27
65 retrieving revision 1.28
66 diff -u -r1.27 -r1.28
67 --- ChangeLog 30 Apr 2011 17:52:11 -0000 1.27
68 +++ ChangeLog 19 Jun 2012 23:49:25 -0000 1.28
69 @@ -1,6 +1,12 @@
70 # ChangeLog for dev-lang/f2c
71 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
72 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/f2c/ChangeLog,v 1.27 2011/04/30 17:52:11 armin76 Exp $
73 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
74 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/f2c/ChangeLog,v 1.28 2012/06/19 23:49:25 bicatali Exp $
75 +
76 +*f2c-20100827 (19 Jun 2012)
77 +
78 + 19 Jun 2012; Sébastien Fabbro <bicatali@g.o> +f2c-20100827.ebuild,
79 + metadata.xml:
80 + Version bump. libf2c only needed at run time.
81
82 30 Apr 2011; Raúl Porcel <armin76@g.o> f2c-20060507.ebuild:
83 Drop alpha/sparc keywords
84
85
86
87 1.1 dev-lang/f2c/f2c-20100827.ebuild
88
89 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/f2c/f2c-20100827.ebuild?rev=1.1&view=markup
90 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/f2c/f2c-20100827.ebuild?rev=1.1&content-type=text/plain
91
92 Index: f2c-20100827.ebuild
93 ===================================================================
94 # Copyright 1999-2012 Gentoo Foundation
95 # Distributed under the terms of the GNU General Public License v2
96 # $Header: /var/cvsroot/gentoo-x86/dev-lang/f2c/f2c-20100827.ebuild,v 1.1 2012/06/19 23:49:25 bicatali Exp $
97
98 EAPI=4
99
100 inherit eutils toolchain-funcs
101
102 DEB_PV=20100827
103 DEB_PR=1
104 DEB_P=${PN}_${DEB_PV}
105
106 DESCRIPTION="Fortran to C converter"
107 HOMEPAGE="http://www.netlib.org/f2c"
108 SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${DEB_P}.orig.tar.gz
109 mirror://debian/pool/main/${PN:0:1}/${PN}/${DEB_P}-${DEB_PR}.debian.tar.gz"
110
111 LICENSE="as-is"
112 SLOT="0"
113 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
114 IUSE="doc"
115
116 RDEPEND="dev-libs/libf2c"
117 DEPEND=""
118
119 S="${WORKDIR}/${PN}"
120
121 src_prepare() {
122 # selective list of patches from debian
123 epatch \
124 "${WORKDIR}"/debian/patches/0000-prequilt-tweaks.patch \
125 "${WORKDIR}"/debian/patches/0002-prototype-rmdir.patch \
126 "${WORKDIR}"/debian/patches/0003-struct-init-braces.patch \
127 "${WORKDIR}"/debian/patches/0004-man-dash-hyphen-slash.patch
128 sed -i -e '/^CC/d' -e '/^CFLAGS/d' src/makefile.u || die
129 }
130
131 src_compile() {
132 emake -C src -f makefile.u
133 }
134
135 src_install() {
136 doman f2c.1
137 use doc && dodoc f2c.pdf
138 newdoc "${WORKDIR}"/debian/changelog debian.changelog
139 cd src
140 dobin f2c
141 dodoc README Notice
142 }