Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libf2c/
Date: Mon, 09 Sep 2019 09:08:56
Message-Id: 1568020117.5fe3d01f5114715ba2ac93f5fd689bf698ebd56b.soap@gentoo
1 commit: 5fe3d01f5114715ba2ac93f5fd689bf698ebd56b
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 9 09:08:37 2019 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 9 09:08:37 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fe3d01f
7
8 dev-libs/libf2c: Remove old
9
10 Package-Manager: Portage-2.3.75, Repoman-2.3.17
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 dev-libs/libf2c/Manifest | 1 -
14 dev-libs/libf2c/libf2c-20110801-r4.ebuild | 57 -------------------------------
15 dev-libs/libf2c/libf2c-20130927.ebuild | 57 -------------------------------
16 3 files changed, 115 deletions(-)
17
18 diff --git a/dev-libs/libf2c/Manifest b/dev-libs/libf2c/Manifest
19 index 5d5799bb84d..860e613edbe 100644
20 --- a/dev-libs/libf2c/Manifest
21 +++ b/dev-libs/libf2c/Manifest
22 @@ -1,2 +1 @@
23 -DIST libf2c-20110801.zip 128845 BLAKE2B f948693c0aace5725f3a4ab3406396a9f16fbb3c08681fe200ba2ba0b48dadb3c051a510cf9b4714d9fbfebc43e52ba13d6fdbff3590c19a164acc710ebe2958 SHA512 7a7b7b02ca2b11456aa0deba5094aebc1e9f7070d1742ad76450ec79de7eed967fbd7446524b66c52295ed911471d2dc396d171569b5d37079bdca8220fd2fb6
24 DIST libf2c-20130927.zip 129082 BLAKE2B 09f818bde8888b569858784c39e93a6a11b3103039f44c3f6a1246b29efb5f8ae6e45f787ed0c2216bea383a79b9554aff30e1fbb00668bbc872b4bc30d87ba8 SHA512 1a12093dec3c250f4775eebd06f1a9144fdb956ea3162202fb67569fdd956ac5591bc563a0726ca65ea10d465efaac1c1d8024d63bc4a4b5c88bf46242607c8a
25
26 diff --git a/dev-libs/libf2c/libf2c-20110801-r4.ebuild b/dev-libs/libf2c/libf2c-20110801-r4.ebuild
27 deleted file mode 100644
28 index 50e2c97344e..00000000000
29 --- a/dev-libs/libf2c/libf2c-20110801-r4.ebuild
30 +++ /dev/null
31 @@ -1,57 +0,0 @@
32 -# Copyright 1999-2015 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=5
36 -
37 -inherit eutils multilib toolchain-funcs
38 -
39 -DESCRIPTION="Library that converts FORTRAN to C source"
40 -HOMEPAGE="http://www.netlib.org/f2c/"
41 -SRC_URI="${HOMEPAGE}/${PN}.zip -> ${P}.zip"
42 -
43 -LICENSE="HPND"
44 -SLOT="0"
45 -KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
46 -IUSE="static-libs"
47 -
48 -RDEPEND=""
49 -DEPEND="${RDEPEND}
50 - app-arch/unzip"
51 -
52 -S="${WORKDIR}"
53 -
54 -src_prepare() {
55 - epatch \
56 - "${FILESDIR}"/20051004-add-ofiles-dep.patch \
57 - "${FILESDIR}"/20090407-link-shared-libf2c-correctly.patch \
58 - "${FILESDIR}"/${P}-main.patch\
59 - "${FILESDIR}"/${P}-64bit-long.patch \
60 - "${FILESDIR}"/${P}-format-security.patch
61 - sed -i -e "s/ld /$(tc-getLD) /" makefile.u || die
62 -}
63 -
64 -src_compile() {
65 - emake \
66 - -f makefile.u \
67 - libf2c.so \
68 - CFLAGS="${CFLAGS} -fPIC" \
69 - CC="$(tc-getCC)"
70 -
71 - # Clean up files so we can recompile without PIC for the static lib
72 - if use static-libs; then
73 - rm *.o || die "clean failed"
74 - emake \
75 - -f makefile.u \
76 - all \
77 - CFLAGS="${CFLAGS}" \
78 - CC="$(tc-getCC)"
79 - fi
80 -}
81 -
82 -src_install () {
83 - dolib libf2c.so.2
84 - dosym libf2c.so.2 /usr/$(get_libdir)/libf2c.so
85 - use static-libs && dolib.a libf2c.a
86 - doheader f2c.h
87 - dodoc README Notice
88 -}
89
90 diff --git a/dev-libs/libf2c/libf2c-20130927.ebuild b/dev-libs/libf2c/libf2c-20130927.ebuild
91 deleted file mode 100644
92 index a9e73c1620a..00000000000
93 --- a/dev-libs/libf2c/libf2c-20130927.ebuild
94 +++ /dev/null
95 @@ -1,57 +0,0 @@
96 -# Copyright 1999-2015 Gentoo Foundation
97 -# Distributed under the terms of the GNU General Public License v2
98 -
99 -EAPI=5
100 -
101 -inherit eutils multilib toolchain-funcs
102 -
103 -DESCRIPTION="Library that converts FORTRAN to C source"
104 -HOMEPAGE="http://www.netlib.org/f2c/"
105 -SRC_URI="${HOMEPAGE}/${PN}.zip -> ${P}.zip"
106 -
107 -LICENSE="HPND"
108 -SLOT="0"
109 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
110 -IUSE="static-libs"
111 -
112 -RDEPEND=""
113 -DEPEND="${RDEPEND}
114 - app-arch/unzip"
115 -
116 -S="${WORKDIR}"
117 -
118 -src_prepare() {
119 - epatch \
120 - "${FILESDIR}"/20051004-add-ofiles-dep.patch \
121 - "${FILESDIR}"/20090407-link-shared-libf2c-correctly.patch \
122 - "${FILESDIR}"/${PN}-20110801-main.patch\
123 - "${FILESDIR}"/${PN}-20110801-64bit-long.patch \
124 - "${FILESDIR}"/${PN}-20110801-format-security.patch
125 - sed -i -e "s/ld /$(tc-getLD) /" makefile.u || die
126 -}
127 -
128 -src_compile() {
129 - emake \
130 - -f makefile.u \
131 - libf2c.so \
132 - CFLAGS="${CFLAGS} -fPIC" \
133 - CC="$(tc-getCC)"
134 -
135 - # Clean up files so we can recompile without PIC for the static lib
136 - if use static-libs; then
137 - rm *.o || die "clean failed"
138 - emake \
139 - -f makefile.u \
140 - all \
141 - CFLAGS="${CFLAGS}" \
142 - CC="$(tc-getCC)"
143 - fi
144 -}
145 -
146 -src_install () {
147 - dolib libf2c.so.2
148 - dosym libf2c.so.2 /usr/$(get_libdir)/libf2c.so
149 - use static-libs && dolib.a libf2c.a
150 - doheader f2c.h
151 - dodoc README Notice
152 -}