dev-libs/liblinear: Sync with gentoo

It's from gentoo commit 82b74e28c8cc56427db7dc24dd5af23a6301fa4b.
This commit is contained in:
Krzesimir Nowak 2022-02-17 08:19:44 +01:00
parent 60406d1047
commit 6ca38e5957
5 changed files with 24 additions and 314 deletions

View File

@ -1,177 +0,0 @@
# ChangeLog for dev-libs/liblinear
# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
# (auto-generated from git log)
*liblinear-196-r1 (09 Aug 2015)
09 Aug 2015; Robin H. Johnson <robbat2@gentoo.org> +liblinear-196-r1.ebuild,
+metadata.xml:
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration
tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this
project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo
developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve
cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014
work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on
the bikeshed
24 Aug 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
Use https by default
Convert all URLs for sites supporting encrypted connections from http to
https
Signed-off-by: Justin Lecher <jlec@gentoo.org>
24 Aug 2015; Mike Gilbert <floppym@gentoo.org> metadata.xml:
Revert DOCTYPE SYSTEM https changes in metadata.xml
repoman does not yet accept the https version.
This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450.
Bug: https://bugs.gentoo.org/552720
*liblinear-210 (29 Sep 2015)
29 Sep 2015; Jeroen Roovers <jer@gentoo.org> +liblinear-210.ebuild:
Version bump.
Package-Manager: portage-2.2.20.1
*liblinear-210-r1 (29 Sep 2015)
29 Sep 2015; Justin Lecher <jlec@gentoo.org> +liblinear-210-r1.ebuild:
Unbundle blas
Package-Manager: portage-2.2.22
Signed-off-by: Justin Lecher <jlec@gentoo.org>
29 Sep 2015; Michał Górny <mgorny@gentoo.org> liblinear-210-r1.ebuild:
fix missing quoting, #561826
Add missing quoting around make parameters. Thanks to Ben Kohler for the
solution.
Fixes: https://bugs.gentoo.org/show_bug.cgi?id=561826
Package-Manager: portage-2.2.20
29 Sep 2015; Jeroen Roovers <jer@gentoo.org> -liblinear-210-r1.ebuild:
Undo blas crap
Package-Manager: portage-2.2.20.1
*liblinear-210-r1 (03 Oct 2015)
03 Oct 2015; Jeroen Roovers <jer@gentoo.org> +liblinear-210-r1.ebuild:
Add IUSE=blas.
Package-Manager: portage-2.2.22
03 Oct 2015; Michał Górny <mgorny@gentoo.org> liblinear-210-r1.ebuild:
Fix quoting
Package-Manager: portage-2.2.22
21 Dec 2015; Patrick Lauer <patrick@gentoo.org> liblinear-210-r1.ebuild:
Whitespace
26 Dec 2015; Agostino Sarubbo <ago@gentoo.org> liblinear-210-r1.ebuild:
amd64 stable wrt bug #569730
Package-Manager: portage-2.2.24
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
28 Dec 2015; Jeroen Roovers <jer@gentoo.org> liblinear-210-r1.ebuild:
Stable for PPC64 (bug #569730).
Package-Manager: portage-2.2.26
RepoMan-Options: --ignore-arches
02 Jan 2016; Jeroen Roovers <jer@gentoo.org> liblinear-210-r1.ebuild:
Stable for HPPA (bug #569730).
Package-Manager: portage-2.2.26
RepoMan-Options: --ignore-arches
06 Jan 2016; Agostino Sarubbo <ago@gentoo.org> liblinear-210-r1.ebuild:
x86 stable wrt bug #569730
Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
09 Jan 2016; Agostino Sarubbo <ago@gentoo.org> liblinear-210-r1.ebuild:
sparc stable wrt bug #569730
Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
09 Jan 2016; Markus Meier <maekke@gentoo.org> liblinear-210-r1.ebuild:
arm stable, bug #569730
Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="arm"
10 Jan 2016; Agostino Sarubbo <ago@gentoo.org> liblinear-210-r1.ebuild:
alpha stable wrt bug #569730
Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="alpha"
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
11 Jan 2016; Agostino Sarubbo <ago@gentoo.org> liblinear-210-r1.ebuild:
ia64 stable wrt bug #569730
Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
17 Jan 2016; Agostino Sarubbo <ago@gentoo.org> liblinear-210-r1.ebuild:
ppc stable wrt bug #569730
Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
Set appropriate maintainer types in metadata.xml (GLEP 67)
14 Feb 2016; Jeroen Roovers <jer@gentoo.org> -liblinear-196-r1.ebuild,
-liblinear-210.ebuild:
Old.
Package-Manager: portage-2.2.27
04 Mar 2016; Steev Klimaszewski <steev@gentoo.org> liblinear-210-r1.ebuild:
Keyword 210-r1 for arm64
Tested on Cortex-A53
Package-Manager: portage-2.2.27

View File

@ -1,103 +0,0 @@
# ChangeLog for dev-libs/liblinear
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/liblinear/ChangeLog,v 1.30 2015/06/06 19:10:13 jlec Exp $
06 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
Add github to remote-id in metadata.xml
11 Mar 2015; Jeroen Roovers <jer@gentoo.org> -liblinear-194-r1.ebuild:
Old.
28 Feb 2015; Agostino Sarubbo <ago@gentoo.org> liblinear-196-r1.ebuild:
Stable for ia64, wrt bug #536512
27 Feb 2015; Agostino Sarubbo <ago@gentoo.org> liblinear-196-r1.ebuild:
Stable for sparc, wrt bug #536512
24 Feb 2015; Agostino Sarubbo <ago@gentoo.org> liblinear-196-r1.ebuild:
Stable for alpha, wrt bug #536512
23 Feb 2015; Agostino Sarubbo <ago@gentoo.org> liblinear-196-r1.ebuild:
Stable for ppc64, wrt bug #536512
28 Jan 2015; Agostino Sarubbo <ago@gentoo.org> liblinear-196-r1.ebuild:
Stable for ppc, wrt bug #536512
26 Jan 2015; Agostino Sarubbo <ago@gentoo.org> liblinear-196-r1.ebuild:
Stable for x86, wrt bug #536512
22 Jan 2015; Markus Meier <maekke@gentoo.org> liblinear-196-r1.ebuild:
arm stable, bug #536512
22 Jan 2015; Agostino Sarubbo <ago@gentoo.org> liblinear-196-r1.ebuild:
Stable for amd64, wrt bug #536512
16 Jan 2015; Jeroen Roovers <jer@gentoo.org> liblinear-196-r1.ebuild:
Stable for HPPA (bug #536512).
27 Dec 2014; Jeroen Roovers <jer@gentoo.org> liblinear-196-r1.ebuild:
Marked ~ppc ~ppc64 (bug #512546).
03 Dec 2014; Agostino Sarubbo <ago@gentoo.org> liblinear-194-r1.ebuild:
Stable for ppc, wrt bug #480474
02 Dec 2014; Sergey Popov <pinkbyte@gentoo.org> liblinear-196-r1.ebuild:
Add ~mips keyword, bugs #512546 and #530118
01 Dec 2014; Agostino Sarubbo <ago@gentoo.org> liblinear-194-r1.ebuild:
Stable for sparc, wrt bug #480474
29 Nov 2014; Agostino Sarubbo <ago@gentoo.org> liblinear-194-r1.ebuild:
Stable for ppc64, wrt bug #480474
23 Nov 2014; Mikle Kolyada <zlogene@gentoo.org> liblinear-194-r1.ebuild:
arm stable wrt bug #480474
20 Nov 2014; Agostino Sarubbo <ago@gentoo.org> liblinear-194-r1.ebuild:
Stable for ia64, wrt bug #480474
20 Nov 2014; Tobias Klausmann <klausman@gentoo.org> liblinear-194-r1.ebuild:
Stable on alpha, bug 480474
*liblinear-196-r1 (18 Nov 2014)
*liblinear-194-r1 (18 Nov 2014)
18 Nov 2014; Jeroen Roovers <jer@gentoo.org> -liblinear-194.ebuild,
+liblinear-194-r1.ebuild, -liblinear-196.ebuild, +liblinear-196-r1.ebuild:
Add prefix to installed executables, drop blocker on sci-astronomy/predict
(bug #529704 by Andrew Savchenko).
18 Nov 2014; Jeroen Roovers <jer@gentoo.org> liblinear-194.ebuild:
Stable for HPPA (bug #480474).
18 Nov 2014; Agostino Sarubbo <ago@gentoo.org> liblinear-194.ebuild:
Stable for x86, wrt bug #480474
18 Nov 2014; Agostino Sarubbo <ago@gentoo.org> liblinear-194.ebuild:
Stable for amd64, wrt bug #480474
*liblinear-196 (17 Nov 2014)
17 Nov 2014; Jeroen Roovers <jer@gentoo.org> +liblinear-196.ebuild:
Version bump.
21 Aug 2014; Raúl Porcel <armin76@gentoo.org> liblinear-194.ebuild:
Add ~alpha/~ia64/~s390/~sh/~sparc wrt #512546
24 Jun 2014; Markus Meier <maekke@gentoo.org> liblinear-194.ebuild:
add ~arm, bug #512546
07 Jun 2014; Jeroen Roovers <jer@gentoo.org> liblinear-194.ebuild:
Add github HOMEPAGE.
06 Jun 2014; Jeroen Roovers <jer@gentoo.org> liblinear-194.ebuild:
Install README.
06 Jun 2014; Jeroen Roovers <jer@gentoo.org> liblinear-194.ebuild:
Marked ~hppa ~x86 too.
*liblinear-194 (05 Jun 2014)
05 Jun 2014; Jeroen Roovers <jer@gentoo.org> +liblinear-194.ebuild,
+metadata.xml:
Initial commit (bug #253269).

View File

@ -1,5 +1 @@
DIST liblinear-210.tar.gz 381662 SHA256 9e559d1f0714799d4cf7742fb186012459285e25bed9c5847d5d8032daefc8de SHA512 4e4558467f2ebb3dbd640c172b1129c8e5981c231a043abb0398a803252559795604a34992baee50ae6689646050733d3a908d7d76f8b1c94309b859eae7f8c8 WHIRLPOOL 6756930f5fec958f3f137b9757a6a3704d1a5ab799d1634e2223990847ebe05a2602a77e4310a4f653434230ca47c0053de2ff3a03dc1cb265f85a6148db6f5d DIST liblinear-243.tar.gz 565437 BLAKE2B 6367cfbdc040b9183c4993f5340a4d74a8dde48da04ef07f725dc5735073e1b9a7440bad325e9f7527ad76d675dbf3bb47d1d43fc323e1e42ef360d679e816ff SHA512 a0cfa9803285cdfda54752e7addfb210a9ba8f7056cfc8aca13987db7f0bef5fe02d6179eadc829cb243670414da061e6c4cf3d50d682ce392778a0e8cb9e753
EBUILD liblinear-210-r1.ebuild 1422 SHA256 b0d6dc1899b89301021b4b37e37803a517a61e7eeca39282716dca4af93fe639 SHA512 eff86935150aefddd9aef8ecfc201716077c0fc2f85d19b59a00a08d67f373b45fc6d661103ea2b5cbb1621dc5393603b13454314982d1b13a610e9855d17d91 WHIRLPOOL cc67cec5c3e33faca4c61c35f2a893fd3a42706876033aab40c2118e70030ccddd1ff92cd68b24b08227f4072366ce4c9413da1c3a996a71549d13b9c9d473e2
MISC ChangeLog 5575 SHA256 67014ab85729a4686a45a8468d9b502fed917e8a956cdc09f56e7129b399a169 SHA512 f55b5f6d06db76f08ec2250692e1f8586e288ca9969cc9b03b7072687936da4f2423932cd636703bb8e4adc1a0e40e493945cdabe03c0b4d728bd5a2a70b17d3 WHIRLPOOL 866c12d81826f91ffc23d0a270ee8ae47967cf57e81e3523e12707d7f633156031fc2d8db61a53d614309c57cef8f4895b6c17787152aa9cd539a6c0f0ebf4ad
MISC ChangeLog-2015 3659 SHA256 521635fd69ee2b808318b75b632a54ce003dec976aee66e9342d2a6a14f6efdf SHA512 0428bda42f11f68b68d7aab177e6a1a8b5bac4affd55d7d682fc4ea5c15ccef9fa552b339b5f5c21f8d189f570f94423ea365c86d535c0f2cc81f4e85114847f WHIRLPOOL da91b459bb33f1f7df3ee7b4cc1993b84972296d8d401e12e7bf8d20eac206bf9f468718f8ca24ffcfd0251dbfb5a1b95f9fbd7f221cc0f43572b028678825b2
MISC metadata.xml 335 SHA256 d56b0ae39f237f75ebe7ce5053c77e248bdb8e35343fc766e128d8cccfceae3e SHA512 efd0a36cca5d21c4a5e94388d125870af42ae9091234a44ae53b8ac6ea7e6ad0b637a5629d3c9ceabfebddce71fde8fa94285e5b1c7edefddebb8bab9e99f0bd WHIRLPOOL 94944b5d2e29a4535cbe190c6b6052341d83ae15319a577098a685ddabc2d300649884ad978f523c7591409aea58e6d3b557b9a095125bd36e983bc0efb77e75

View File

@ -1,29 +1,21 @@
# Copyright 1999-2016 Gentoo Foundation # Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5 EAPI=7
inherit multilib toolchain-funcs inherit multilib toolchain-funcs
DESCRIPTION="A Library for Large Linear Classification" DESCRIPTION="A Library for Large Linear Classification"
HOMEPAGE="http://www.csie.ntu.edu.tw/~cjlin/liblinear/ https://github.com/cjlin1/liblinear" HOMEPAGE="https://www.csie.ntu.edu.tw/~cjlin/liblinear/ https://github.com/cjlin1/liblinear"
SRC_URI="https://github.com/cjlin1/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" SRC_URI="https://github.com/cjlin1/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD" LICENSE="BSD"
SLOT="0/3" SLOT="0/4"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
IUSE="blas"
RDEPEND="
blas? ( virtual/blas )
"
DEPEND="
${RDEPEND}
blas? ( virtual/pkgconfig )
"
src_prepare() { src_prepare() {
default
sed -i \ sed -i \
-e '/^AR/s|=|?=|g' \ -e '/^AR/s|=|?=|g' \
-e '/^RANLIB/s|=|?=|g' \ -e '/^RANLIB/s|=|?=|g' \
@ -35,9 +27,12 @@ src_prepare() {
-e '/^CFLAGS/d;/^CXXFLAGS/d' \ -e '/^CFLAGS/d;/^CXXFLAGS/d' \
-e 's|$${SHARED_LIB_FLAG}|& $(LDFLAGS)|g' \ -e 's|$${SHARED_LIB_FLAG}|& $(LDFLAGS)|g' \
Makefile || die Makefile || die
if use blas; then
sed -i -e 's:blas/blas.a::g' Makefile || die # fix install_name on Darwin
fi sed -i \
-e '/install_name/s:liblinear.so.$(SHVER):'"${EPREFIX}"'/usr/lib/liblinear.$(SHVER).dylib:' \
-e '/LDFLAGS/s:liblinear.so.$(SHVER):liblinear'"$(get_libname '$(SHVER)')"':' \
Makefile || die
} }
src_compile() { src_compile() {
@ -48,13 +43,12 @@ src_compile() {
CXXFLAGS="${CXXFLAGS} -fPIC" \ CXXFLAGS="${CXXFLAGS} -fPIC" \
AR="$(tc-getAR) rcv" \ AR="$(tc-getAR) rcv" \
RANLIB="$(tc-getRANLIB)" \ RANLIB="$(tc-getRANLIB)" \
LIBS="$(usex blas "$( $(tc-getPKG_CONFIG) --libs blas )" blas/blas.a)" \
lib all lib all
} }
src_install() { src_install() {
dolib ${PN}.so.3 dolib.so ${PN}$(get_libname 4)
dosym ${PN}.so.3 /usr/$(get_libdir)/${PN}.so dosym ${PN}$(get_libname 4) /usr/$(get_libdir)/${PN}$(get_libname)
newbin predict ${PN}-predict newbin predict ${PN}-predict
newbin train ${PN}-train newbin train ${PN}-train

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata> <pkgmetadata>
<maintainer type="person"> <maintainer type="person">
<email>jer@gentoo.org</email> <email>sam@gentoo.org</email>
<name>Jeroen Roovers</name> <name>Sam James</name>
</maintainer> </maintainer>
<upstream> <upstream>
<remote-id type="github">cjlin1/liblinear</remote-id> <remote-id type="github">cjlin1/liblinear</remote-id>