Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/liblinear/
Date: Fri, 26 Apr 2019 14:30:50
Message-Id: 1556289044.d87646928e669fb5023fd65297956f7be3511998.jer@gentoo
1 commit: d87646928e669fb5023fd65297956f7be3511998
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 26 14:28:04 2019 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 26 14:30:44 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8764692
7
8 dev-libs/liblinear: Old
9
10 Package-Manager: Portage-2.3.64, Repoman-2.3.12
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 dev-libs/liblinear/Manifest | 2 -
14 dev-libs/liblinear/liblinear-211.ebuild | 65 ---------------------------------
15 dev-libs/liblinear/liblinear-220.ebuild | 65 ---------------------------------
16 3 files changed, 132 deletions(-)
17
18 diff --git a/dev-libs/liblinear/Manifest b/dev-libs/liblinear/Manifest
19 index b1a7afdb391..ce1da6594e8 100644
20 --- a/dev-libs/liblinear/Manifest
21 +++ b/dev-libs/liblinear/Manifest
22 @@ -1,5 +1,3 @@
23 DIST liblinear-210.tar.gz 381662 BLAKE2B d64d217f7ba67605821062f66d4e9f130f4f2396dde14cd35532bad11f4af4f34bc231a1e3796ba2d0e14f84830ec05c6358d40018e048f4ae3fa62db2b1d0d7 SHA512 4e4558467f2ebb3dbd640c172b1129c8e5981c231a043abb0398a803252559795604a34992baee50ae6689646050733d3a908d7d76f8b1c94309b859eae7f8c8
24 -DIST liblinear-211.tar.gz 506507 BLAKE2B 31b7677dfbf9dbb060a28dc19c63db4244e55c4ddc984a8c9ccadc517beabaf8fabef04488366cd7375608412dad3c37d4f09fe27b37b69e69209d32379a9e45 SHA512 005a47b3a8ff27f9890ce10549478be4b041c92d162815fba33dd56db7c014e6958b3e7e161451490c34d88df2161366365bd41b1a48d6a77034edc346a0fc3a
25 -DIST liblinear-220.tar.gz 517302 BLAKE2B 6aa28c3357f830441ee3cb2e9691d4952e4d4db6592622f6e93be1ed12c8f871e4a9c98abcb35b472a227005bad0cc1e6076678358dc324a7453cbbfb34a0866 SHA512 cde798b7cb221513cf2b8bbe134d6c3dce1ed26c43504d8c09dbed93b82ca47bfd271d4dd3d03384187273906ce140d4ce4418a4a8c21410015ec1631c1042c6
26 DIST liblinear-221.tar.gz 520288 BLAKE2B b28c837488f5827ae76f32dc14a1b92027eb5ff123a15c07e9974197eea842c8247420632d259defdba3968383749538c1ed16f6b5c982fad87b3bc52572b485 SHA512 abf21f9030e67886d88a95ad1699e566f8b67bb3bd23253f1f656460911f92a5c3c184fe127390d6100bbf9970cf7a246ef3611b0788907c35a33286228f1753
27 DIST liblinear-230.tar.gz 524693 BLAKE2B 02e52f6dc26f6ae19dfe52691e4a86c64ea92c40a50d0fbe8a7bddcf06e1216b8f28462fb2105539dedf15ddb07f39ef7e7f78fa7cfd74eac955246e9ed050e7 SHA512 c8acdd9f5cfcf7ef1ff9b9fac658ff51ac4677801fdb9ce6a210ccca7fb136a7957d0edaf45e83269c1928de1926de0200d669cd94e09371c06821d42ba539bc
28
29 diff --git a/dev-libs/liblinear/liblinear-211.ebuild b/dev-libs/liblinear/liblinear-211.ebuild
30 deleted file mode 100644
31 index 7176d0f8b11..00000000000
32 --- a/dev-libs/liblinear/liblinear-211.ebuild
33 +++ /dev/null
34 @@ -1,65 +0,0 @@
35 -# Copyright 1999-2018 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=6
39 -inherit multilib toolchain-funcs
40 -
41 -DESCRIPTION="A Library for Large Linear Classification"
42 -HOMEPAGE="https://www.csie.ntu.edu.tw/~cjlin/liblinear/ https://github.com/cjlin1/liblinear"
43 -SRC_URI="https://github.com/cjlin1/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 -
45 -LICENSE="BSD"
46 -SLOT="0/3"
47 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
48 -IUSE="blas"
49 -
50 -RDEPEND="
51 - blas? ( virtual/blas )
52 -"
53 -DEPEND="
54 - ${RDEPEND}
55 - blas? ( virtual/pkgconfig )
56 -"
57 -
58 -src_prepare() {
59 - default
60 -
61 - sed -i \
62 - -e '/^AR/s|=|?=|g' \
63 - -e '/^RANLIB/s|=|?=|g' \
64 - -e '/^CFLAGS/d;/^CXXFLAGS/d' \
65 - blas/Makefile || die
66 - sed -i \
67 - -e 's|make|$(MAKE)|g' \
68 - -e '/$(LIBS)/s|$(CFLAGS)|& $(LDFLAGS)|g' \
69 - -e '/^CFLAGS/d;/^CXXFLAGS/d' \
70 - -e 's|$${SHARED_LIB_FLAG}|& $(LDFLAGS)|g' \
71 - Makefile || die
72 - if use blas; then
73 - sed -i -e 's:blas/blas.a::g' Makefile || die
74 - fi
75 -}
76 -
77 -src_compile() {
78 - emake \
79 - CC="$(tc-getCC)" \
80 - CXX="$(tc-getCXX)" \
81 - CFLAGS="${CFLAGS} -fPIC" \
82 - CXXFLAGS="${CXXFLAGS} -fPIC" \
83 - AR="$(tc-getAR) rcv" \
84 - RANLIB="$(tc-getRANLIB)" \
85 - LIBS="$(usex blas "$( $(tc-getPKG_CONFIG) --libs blas )" blas/blas.a)" \
86 - lib all
87 -}
88 -
89 -src_install() {
90 - dolib ${PN}.so.3
91 - dosym ${PN}.so.3 /usr/$(get_libdir)/${PN}.so
92 -
93 - newbin predict ${PN}-predict
94 - newbin train ${PN}-train
95 -
96 - doheader linear.h
97 -
98 - dodoc README
99 -}
100
101 diff --git a/dev-libs/liblinear/liblinear-220.ebuild b/dev-libs/liblinear/liblinear-220.ebuild
102 deleted file mode 100644
103 index 5fdad5b9beb..00000000000
104 --- a/dev-libs/liblinear/liblinear-220.ebuild
105 +++ /dev/null
106 @@ -1,65 +0,0 @@
107 -# Copyright 1999-2018 Gentoo Foundation
108 -# Distributed under the terms of the GNU General Public License v2
109 -
110 -EAPI=6
111 -inherit multilib toolchain-funcs
112 -
113 -DESCRIPTION="A Library for Large Linear Classification"
114 -HOMEPAGE="https://www.csie.ntu.edu.tw/~cjlin/liblinear/ https://github.com/cjlin1/liblinear"
115 -SRC_URI="https://github.com/cjlin1/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
116 -
117 -LICENSE="BSD"
118 -SLOT="0/3"
119 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-macos"
120 -IUSE="blas"
121 -
122 -RDEPEND="
123 - blas? ( virtual/blas )
124 -"
125 -DEPEND="
126 - ${RDEPEND}
127 - blas? ( virtual/pkgconfig )
128 -"
129 -
130 -src_prepare() {
131 - default
132 -
133 - sed -i \
134 - -e '/^AR/s|=|?=|g' \
135 - -e '/^RANLIB/s|=|?=|g' \
136 - -e '/^CFLAGS/d;/^CXXFLAGS/d' \
137 - blas/Makefile || die
138 - sed -i \
139 - -e 's|make|$(MAKE)|g' \
140 - -e '/$(LIBS)/s|$(CFLAGS)|& $(LDFLAGS)|g' \
141 - -e '/^CFLAGS/d;/^CXXFLAGS/d' \
142 - -e 's|$${SHARED_LIB_FLAG}|& $(LDFLAGS)|g' \
143 - Makefile || die
144 - if use blas; then
145 - sed -i -e 's:blas/blas.a::g' Makefile || die
146 - fi
147 -}
148 -
149 -src_compile() {
150 - emake \
151 - CC="$(tc-getCC)" \
152 - CXX="$(tc-getCXX)" \
153 - CFLAGS="${CFLAGS} -fPIC" \
154 - CXXFLAGS="${CXXFLAGS} -fPIC" \
155 - AR="$(tc-getAR) rcv" \
156 - RANLIB="$(tc-getRANLIB)" \
157 - LIBS="$(usex blas "$( $(tc-getPKG_CONFIG) --libs blas )" blas/blas.a)" \
158 - lib all
159 -}
160 -
161 -src_install() {
162 - dolib ${PN}.so.3
163 - dosym ${PN}.so.3 /usr/$(get_libdir)/${PN}.so
164 -
165 - newbin predict ${PN}-predict
166 - newbin train ${PN}-train
167 -
168 - doheader linear.h
169 -
170 - dodoc README
171 -}