Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/liblinear/
Date: Sat, 01 Jan 2022 09:39:03
Message-Id: 1641029911.82b74e28c8cc56427db7dc24dd5af23a6301fa4b.sam@gentoo
1 commit: 82b74e28c8cc56427db7dc24dd5af23a6301fa4b
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 1 09:35:32 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 1 09:38:31 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82b74e28
7
8 dev-libs/liblinear: drop 242
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-libs/liblinear/Manifest | 1 -
13 dev-libs/liblinear/liblinear-242.ebuild | 59 ---------------------------------
14 2 files changed, 60 deletions(-)
15
16 diff --git a/dev-libs/liblinear/Manifest b/dev-libs/liblinear/Manifest
17 index cd2bb8188659..202d311a741a 100644
18 --- a/dev-libs/liblinear/Manifest
19 +++ b/dev-libs/liblinear/Manifest
20 @@ -1,2 +1 @@
21 -DIST liblinear-242.tar.gz 561806 BLAKE2B 49c8f87909083addaf62666f34c008e6cf44240f28fdf2fbeca89862e9e19d451cc7ff51ce5b5da589cc701f70ce408c3eefb249f8585a8598e5ff3976177fe2 SHA512 fbcb219f7313b15898e55bd17c6b280007dd4feb913fafd2c3e10375b5a63b8bd274c9d52fd7b265a7575d4657cf4797b734e5793b18c758dfd9ab731fc0e904
22 DIST liblinear-243.tar.gz 565437 BLAKE2B 6367cfbdc040b9183c4993f5340a4d74a8dde48da04ef07f725dc5735073e1b9a7440bad325e9f7527ad76d675dbf3bb47d1d43fc323e1e42ef360d679e816ff SHA512 a0cfa9803285cdfda54752e7addfb210a9ba8f7056cfc8aca13987db7f0bef5fe02d6179eadc829cb243670414da061e6c4cf3d50d682ce392778a0e8cb9e753
23
24 diff --git a/dev-libs/liblinear/liblinear-242.ebuild b/dev-libs/liblinear/liblinear-242.ebuild
25 deleted file mode 100644
26 index d05e7d8cc0df..000000000000
27 --- a/dev-libs/liblinear/liblinear-242.ebuild
28 +++ /dev/null
29 @@ -1,59 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -inherit multilib toolchain-funcs
36 -
37 -DESCRIPTION="A Library for Large Linear Classification"
38 -HOMEPAGE="https://www.csie.ntu.edu.tw/~cjlin/liblinear/ https://github.com/cjlin1/liblinear"
39 -SRC_URI="https://github.com/cjlin1/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
40 -
41 -LICENSE="BSD"
42 -SLOT="0/4"
43 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x64-macos"
44 -
45 -src_prepare() {
46 - default
47 -
48 - sed -i \
49 - -e '/^AR/s|=|?=|g' \
50 - -e '/^RANLIB/s|=|?=|g' \
51 - -e '/^CFLAGS/d;/^CXXFLAGS/d' \
52 - blas/Makefile || die
53 - sed -i \
54 - -e 's|make|$(MAKE)|g' \
55 - -e '/$(LIBS)/s|$(CFLAGS)|& $(LDFLAGS)|g' \
56 - -e '/^CFLAGS/d;/^CXXFLAGS/d' \
57 - -e 's|$${SHARED_LIB_FLAG}|& $(LDFLAGS)|g' \
58 - Makefile || die
59 -
60 - # fix install_name on Darwin
61 - sed -i \
62 - -e '/install_name/s:liblinear.so.$(SHVER):'"${EPREFIX}"'/usr/lib/liblinear.$(SHVER).dylib:' \
63 - -e '/LDFLAGS/s:liblinear.so.$(SHVER):liblinear'"$(get_libname '$(SHVER)')"':' \
64 - Makefile || die
65 -}
66 -
67 -src_compile() {
68 - emake \
69 - CC="$(tc-getCC)" \
70 - CXX="$(tc-getCXX)" \
71 - CFLAGS="${CFLAGS} -fPIC" \
72 - CXXFLAGS="${CXXFLAGS} -fPIC" \
73 - AR="$(tc-getAR) rcv" \
74 - RANLIB="$(tc-getRANLIB)" \
75 - lib all
76 -}
77 -
78 -src_install() {
79 - dolib.so ${PN}$(get_libname 4)
80 - dosym ${PN}$(get_libname 4) /usr/$(get_libdir)/${PN}$(get_libname)
81 -
82 - newbin predict ${PN}-predict
83 - newbin train ${PN}-train
84 -
85 - doheader linear.h
86 -
87 - dodoc README
88 -}