* [gentoo-commits] repo/gentoo:master commit in: sci-libs/shogun/
@ 2016-05-07 16:38 David Seifert
0 siblings, 0 replies; 9+ messages in thread
From: David Seifert @ 2016-05-07 16:38 UTC (permalink / raw
To: gentoo-commits
commit: d48b5b67b5acd9b6b53059810680c05e2b22cf1a
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat May 7 16:35:45 2016 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat May 7 16:38:04 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d48b5b67
sci-libs/shogun: Clear QA warnings
Package-Manager: portage-2.2.28
sci-libs/shogun/shogun-2.0.0.ebuild | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sci-libs/shogun/shogun-2.0.0.ebuild b/sci-libs/shogun/shogun-2.0.0.ebuild
index 8e26b7f..80bca6c 100644
--- a/sci-libs/shogun/shogun-2.0.0.ebuild
+++ b/sci-libs/shogun/shogun-2.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -30,18 +30,18 @@ RDEPEND="
glpk? ( sci-mathematics/glpk )
gzip? ( app-arch/gzip )
hdf5? ( sci-libs/hdf5 )
- java? ( >=virtual/jdk-1.5 )
+ java? ( >=virtual/jdk-1.5:* )
json? ( dev-libs/json-c )
lapack? ( virtual/cblas virtual/lapack )
lpsolve? ( sci-mathematics/lpsolve )
- lua? ( dev-lang/lua )
+ lua? ( dev-lang/lua:0 )
lzo? ( dev-libs/lzo )
mono? ( dev-lang/mono )
nlopt? ( sci-libs/nlopt )
octave? ( sci-mathematics/octave[hdf5=] )
python? ( dev-python/numpy )
R? ( dev-lang/R )
- readline? ( sys-libs/readline )
+ readline? ( sys-libs/readline:0 )
ruby? ( >=dev-ruby/narray-0.6.0.1-r2 )
snappy? ( app-arch/snappy )
superlu? ( sci-libs/superlu )
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/shogun/
@ 2016-05-07 16:38 David Seifert
0 siblings, 0 replies; 9+ messages in thread
From: David Seifert @ 2016-05-07 16:38 UTC (permalink / raw
To: gentoo-commits
commit: 00c405b82175e505ee9e52d8b25e781fb617d12e
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat May 7 16:36:31 2016 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat May 7 16:38:06 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00c405b8
sci-libs/shogun: Clear QA warnings
Package-Manager: portage-2.2.28
sci-libs/shogun/shogun-3.2.0.ebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sci-libs/shogun/shogun-3.2.0.ebuild b/sci-libs/shogun/shogun-3.2.0.ebuild
index 51cfb50..603f001 100644
--- a/sci-libs/shogun/shogun-3.2.0.ebuild
+++ b/sci-libs/shogun/shogun-3.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -46,12 +46,12 @@ RDEPEND="
sci-libs/nlopt:=
sci-mathematics/glpk:=
sci-mathematics/lpsolve:=
- sys-libs/readline
+ sys-libs/readline:0
sys-libs/zlib:=
virtual/blas
virtual/cblas
virtual/lapack
- lua? ( dev-lang/lua )
+ lua? ( dev-lang/lua:0 )
mono? ( dev-lang/mono )
octave? ( sci-mathematics/octave[hdf5] )
python? ( dev-python/numpy[${PYTHON_USEDEP}] )
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/shogun/
@ 2017-01-15 22:52 Justin Lecher
0 siblings, 0 replies; 9+ messages in thread
From: Justin Lecher @ 2017-01-15 22:52 UTC (permalink / raw
To: gentoo-commits
commit: 097301367aed019a904d04ae7940932bc2258577
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 15 22:33:58 2017 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 22:52:54 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09730136
sci-libs/shogun: Drop old
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
sci-libs/shogun/Manifest | 6 --
sci-libs/shogun/metadata.xml | 9 --
sci-libs/shogun/shogun-1.1.0.ebuild | 160 -----------------------------------
sci-libs/shogun/shogun-2.0.0.ebuild | 164 ------------------------------------
sci-libs/shogun/shogun-3.2.0.ebuild | 137 ------------------------------
5 files changed, 476 deletions(-)
diff --git a/sci-libs/shogun/Manifest b/sci-libs/shogun/Manifest
index 2cb0ed7..0469645 100644
--- a/sci-libs/shogun/Manifest
+++ b/sci-libs/shogun/Manifest
@@ -1,8 +1,2 @@
-DIST shogun-1.1.0.tar.bz2 3485714 SHA256 9f69638f0bc18995358c38cd6eed6437e6b90c1fceab7c6e64c9739b7e6cc40b SHA512 853168e3d68ad02ef543391b78c51682d004af46acddfa09a76b41e373e27199fc9be0598892207e116a82f24437e3f1c0dc97c3e28ca32879594fbe112bd157 WHIRLPOOL dd044ff2cc9fd9376b80f1efd9bbcf901b11765a2f85eb2325ddd640ea547e513df8c9da548634e49758ef124147666f86b6b4082e118c6d35ef2d5010527cf9
-DIST shogun-2.0.0.tar.bz2 4106437 SHA256 b18e30515b9f4432d02602d0dd66dbc57c70a46f71636275071afaee94e245ee SHA512 e7c8d515afbcb3198aade32d2962e8d94b669b9c79ddbcd7425f04bbb0379803f7353c50ba8897356842cddb401d303fefaf8a7f9dd6a2e751e176deba1e46f1 WHIRLPOOL aa9ef89f28acc012ee2894c4ff6858f7bf01585d02160d5b2df33159c7c87593ea352833765a7a78cc0ed16fd10713d285eb711606f0e3771ec685778f703570
-DIST shogun-3.2.0.tar.bz2 4217245 SHA256 bc416b615ed90aef80c58a30546c5e2da779347bebb8742ecf11657073fc8f72 SHA512 7c420da7bf10c8971954964bce4dc13a8f64c6ff2a0976293f54947414ad2fe7171b1747cef3e2ceb969cf936d8fe862e940582f642cd2367897cda3191b186b WHIRLPOOL bce007c01ebee0e225d5cf858e042561a540416b349015ac566cce82b77096e8206b2f9e51572d9ee8149651a39aa30d6438b28d37ba43eb5aba593b10c5e497
DIST shogun-4.1.0.tar.bz2 2908955 SHA256 0eb313a95606edee046768a4577d63f32f7ccce340bed7bf0ff0d69225567185 SHA512 01950d5186a94735df5331752e1b97a5464015973ddba38a70bc977f9872b3aad02b162ae87919631cce56d1f10b0bea1fa7b463bf959816e5a15a726214f52a WHIRLPOOL 300bd0d887fe8ee4a1ac2aca7f3fbaebd4344dcffe2b20f9b5bb05e83d6973e8a98e54a216d99329c03eea2c02666c557a3c50ff7e11556298d119b8c262f762
-DIST shogun-data-0.3.tar.bz2 126676026 SHA256 34272e3f5e6b6989a4941b925ab3a9cd1525d73180681884e948a673aff4ef89 SHA512 92c7e7dae1df5a7a79428a7f2116b1d9d825a37d4145edfdff1fb7b707853eab19ffe848c4ae2bc2338a93373e78c7cae4087df260411a9576b031e7a6f0de95 WHIRLPOOL 24987580c967b05e61ee5402fe30701cabe17d7ffb29b4966ff0abd0d03e197b928f018e617e254395c6939f93de3e397f5ce7df7c3d4ae7dfe4e782c345fe85
-DIST shogun-data-0.4.tar.bz2 127377123 SHA256 103ef944c7211f64957833cd6ace85e32629d73ef286273424e239fa454ecfcc SHA512 c178f6d5d8e4b6b6a94b74da5c133b01e83a1d4c7bf5d0fd66b4812b259934dbc998cfc1ef64f19b17b5099e8c389b8e359e69f1cc1bef6b82b940dc97cac46d WHIRLPOOL cef5d84f342523bad8b810fa3018669e9cd838c7c45bb37b8e7308dce448dc9b98f9aa6716aa724d64746539ef9c041a71cd2f3a1af71ed1077d276a192573d5
-DIST shogun-data-0.8.tar.bz2 261905079 SHA256 a2a0c8ccd754f0b893d97d77cfb60e25fcdb4e7033731434fb07e5483514a047 SHA512 9ea48706aae5ca116e8cf3507d1fcd06e24a8384abe6f2ebaf3c81735237d3beceee26ce5af97b85af24409eb47da684f7e7a56c0800a82c40ed214e6382978f WHIRLPOOL 3a3120a8e982c90c670ec0c206635abdcb152ae5f312172ec58ae21e1ee11f15c406b382bd3b8e8a63300302290590b83a977bd4d90375160ceb8ae516409c12
DIST shogun-data-0.9.tar.bz2 287533841 SHA256 691dd37ccc9bdd4f56d6b7a8e061e80567c241219d70210f8148bc4b7b815559 SHA512 ab501640e2db650603899c857866b451fac5c7bbbc7b4ef98559581928869cea49aa326dfca1bb398eee7ebc8843dcc8ee3105c9f462718f1af672aac6b9340a WHIRLPOOL 19aa7a6d84be9ac7d8aaf7fb12747e17e0ba5a7ec8770b83cc1833b07cd1c6c397684a96eb8ebe709d544967ffaf23bcfbeea52dc8ddedf487fcf54a6d2b3ef7
diff --git a/sci-libs/shogun/metadata.xml b/sci-libs/shogun/metadata.xml
index b5dcd16..fd2f5a4 100644
--- a/sci-libs/shogun/metadata.xml
+++ b/sci-libs/shogun/metadata.xml
@@ -25,16 +25,7 @@
allowing for on-the-fly pre-processing.
</longdescription>
<use>
- <flag name="arpack">Enable support for <pkg>sci-libs/arpack</pkg></flag>
- <flag name="eigen">Enable support for matrix package <pkg>dev-cpp/eigen</pkg></flag>
- <flag name="glpk">Enable support for <pkg>sci-mathematics/glpk</pkg></flag>
- <flag name="json">Enable support for parsing JSON format</flag>
- <flag name="lpsolve">Enable support for Linear Programming Solver</flag>
- <flag name="nlopt">Enable support non linear optimization from
- <pkg>sci-libs/nlopt</pkg></flag>
<flag name="R">Enable support for <pkg>dev-lang/R</pkg></flag>
<flag name="octave">Enable support for <pkg>sci-mathematics/octave</pkg></flag>
- <flag name="snappy">Enable support for snappy compression</flag>
- <flag name="superlu">Enable support for <pkg>sci-libs/superlu</pkg></flag>
</use>
</pkgmetadata>
diff --git a/sci-libs/shogun/shogun-1.1.0.ebuild b/sci-libs/shogun/shogun-1.1.0.ebuild
deleted file mode 100644
index 477d860..00000000
--- a/sci-libs/shogun/shogun-1.1.0.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-inherit eutils multilib versionator toolchain-funcs java-pkg-opt-2
-
-MYPV=$(get_version_component_range 1-2)
-MYPD=${PN}-data-0.3
-
-DESCRIPTION="Large Scale Machine Learning Toolbox"
-HOMEPAGE="http://shogun-toolbox.org/"
-SRC_URI="ftp://shogun-toolbox.org/shogun/releases/${MYPV}/sources/${P}.tar.bz2
- test? ( ftp://shogun-toolbox.org/shogun/data/${MYPD}.tar.bz2 )
- examples? ( ftp://shogun-toolbox.org/shogun/data/${MYPD}.tar.bz2 )"
-
-LICENSE="GPL-3 free-noncomm"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="arpack bzip2 doc examples glpk gzip hdf5 json lapack lpsolve mono lua lzma
- lzo java R ruby octave python readline snappy static-libs superlu test xml"
-
-RDEPEND="
- sci-libs/gsl
- sys-libs/zlib
- arpack? ( sci-libs/arpack )
- bzip2? ( app-arch/bzip2 )
- glpk? ( sci-mathematics/glpk )
- gzip? ( app-arch/gzip )
- hdf5? ( sci-libs/hdf5 )
- java? ( >=virtual/jdk-1.5 )
- json? ( dev-libs/json-c )
- lapack? ( virtual/cblas virtual/lapack )
- lpsolve? ( sci-mathematics/lpsolve )
- lua? ( dev-lang/lua )
- lzo? ( dev-libs/lzo )
- mono? ( dev-lang/mono )
- octave? ( sci-mathematics/octave[hdf5=] )
- python? ( dev-python/numpy )
- R? ( dev-lang/R )
- readline? ( sys-libs/readline )
- ruby? ( >=dev-ruby/narray-0.6.0.1-r2 )
- snappy? ( app-arch/snappy )
- superlu? ( sci-libs/superlu )
- xml? ( dev-libs/libxml2 )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? ( app-doc/doxygen[dot] )
- java? ( dev-lang/swig dev-java/ant )
- octave? ( dev-lang/swig )
- python? ( dev-lang/swig test? ( sci-libs/scipy ) )
- ruby? ( dev-lang/swig )"
-
-S="${WORKDIR}/${P}/src"
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-respect-ldflags.patch \
- "${FILESDIR}"/${P}-test-snappy.patch \
- "${FILESDIR}"/${P}-test-readline.patch \
- "${FILESDIR}"/${P}-as-needed.patch
-
- # dist-packages is only for debian
- # remove exagarated optimizations (-O9 does not exist...)
- # use gentoo lapack framework
- sed -i \
- -e 's/dist-packages/site-packages/g' \
- -e '/^COMP_OPTS=/d' \
- -e "s:-llapack -lcblas:$($(tc-getPKG_CONFIG) --libs cblas lapack):g" \
- configure || die
-
- # disable ldconfig which violates sandbox
- # install in gentoo java standard paths
- sed -i \
- -e '/ldconfig/d' \
- -e '/share\/java/d' \
- -e '/jni/d' \
- Makefile.template || die
-}
-
-src_configure() {
- # define interfaces to shogun library to build
- local x iface
- for x in java lua octave python ruby ; do
- use ${x} && iface="${iface}${x}_modular,"
- done
- use mono && iface="${iface}csharp_modular,"
- use R && iface="${iface}r_modular,"
- if use static-libs; then
- iface="${iface}cmdline_static,"
- use octave && iface="${iface}octave_static,"
- use python && iface="${iface}python_static,"
- use R && iface="${iface}r_static,"
- use octave && use python && use R && iface="${iface}elwms_static,"
- fi
- iface="${iface%,}"
-
- # gentoo bug #302621
- use hdf5 && has_version sci-libs/hdf5[mpi] && export CXX=mpicxx CC=mpicc
-
- ./configure \
- --disable-cpudetection \
- --destdir="${ED}" \
- --prefix="${EPREFIX}/usr" \
- --mandir="${EPREFIX}/usr/share/man" \
- --libdir="${EPREFIX}/usr/$(get_libdir)" \
- --cc="$(tc-getCC)" \
- --cxx="$(tc-getCXX)" \
- --target="${CTARGET}" \
- --interfaces=${iface} \
- $(use_enable arpack) \
- $(use_enable bzip2) \
- $(use_enable doc doxygen) \
- $(use_enable glpk) \
- $(use_enable gzip) \
- $(use_enable hdf5) \
- $(use_enable json) \
- $(use_enable lapack) \
- $(use_enable lpsolve) \
- $(use_enable lzma) \
- $(use_enable lzo) \
- $(use_enable readline) \
- $(use_enable snappy) \
- $(use_enable static-libs static) \
- $(use_enable superlu) \
- $(use_enable xml) || die
-}
-
-src_compile() {
- emake
- use doc && emake -C ../doc
-}
-
-src_test() {
- use lapack || return
- ln -s ../../${MYPD}/* ../data/
- emake DESTDIR="${ED}" install
- # disable because very long and buggy dynamic paths (assumed install)
- # emake tests
- emake -C shogun check-examples
-}
-
-src_install() {
- default
- use static-libs || rm -f "${ED}"/usr/$(get_libdir)/*.a
- if use java; then
- java-pkg_dojar interfaces/java_modular/shogun.jar
- java-pkg_doso interfaces/java_modular/libmodshogun.so
- fi
-
- use doc && dohtml -r ../doc/html/*
- if use examples; then
- insinto /usr/share/doc/${PF}
- emake -C ../examples clean && doins -r ../examples
- insinto /usr/share/doc/${PF}/data
- doins -r "${WORKDIR}"/${MYPD}/*
- fi
-}
diff --git a/sci-libs/shogun/shogun-2.0.0.ebuild b/sci-libs/shogun/shogun-2.0.0.ebuild
deleted file mode 100644
index 80bca6c..00000000
--- a/sci-libs/shogun/shogun-2.0.0.ebuild
+++ /dev/null
@@ -1,164 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils multilib versionator toolchain-funcs java-pkg-opt-2
-
-MYPV=$(get_version_component_range 1-2)
-MYPD=${PN}-data-0.4
-
-DESCRIPTION="Large Scale Machine Learning Toolbox"
-HOMEPAGE="http://shogun-toolbox.org/"
-SRC_URI="ftp://shogun-toolbox.org/shogun/releases/${MYPV}/sources/${P}.tar.bz2
- test? ( ftp://shogun-toolbox.org/shogun/data/${MYPD}.tar.bz2 )
- examples? ( ftp://shogun-toolbox.org/shogun/data/${MYPD}.tar.bz2 )"
-
-LICENSE="GPL-3 free-noncomm"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="arpack bzip2 doc eigen examples glpk gzip hdf5 json lapack lpsolve mono lua lzma
- lzo nlopt java R ruby octave python readline smp snappy static-libs superlu test xml"
-
-RDEPEND="
- sci-libs/gsl
- sys-libs/zlib
- arpack? ( sci-libs/arpack )
- bzip2? ( app-arch/bzip2 )
- eigen? ( >=dev-cpp/eigen-3 )
- glpk? ( sci-mathematics/glpk )
- gzip? ( app-arch/gzip )
- hdf5? ( sci-libs/hdf5 )
- java? ( >=virtual/jdk-1.5:* )
- json? ( dev-libs/json-c )
- lapack? ( virtual/cblas virtual/lapack )
- lpsolve? ( sci-mathematics/lpsolve )
- lua? ( dev-lang/lua:0 )
- lzo? ( dev-libs/lzo )
- mono? ( dev-lang/mono )
- nlopt? ( sci-libs/nlopt )
- octave? ( sci-mathematics/octave[hdf5=] )
- python? ( dev-python/numpy )
- R? ( dev-lang/R )
- readline? ( sys-libs/readline:0 )
- ruby? ( >=dev-ruby/narray-0.6.0.1-r2 )
- snappy? ( app-arch/snappy )
- superlu? ( sci-libs/superlu )
- xml? ( dev-libs/libxml2 )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? ( app-doc/doxygen[dot] )
- java? ( >=dev-lang/swig-2.0.4 dev-java/ant )
- octave? ( >=dev-lang/swig-2.0.4 )
- python? ( >=dev-lang/swig-2.0.4 test? ( sci-libs/scipy ) )
- ruby? ( >=dev-lang/swig-2.0.4 )"
-
-S="${WORKDIR}/${P}/src"
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-1.1.0-respect-ldflags.patch \
- "${FILESDIR}"/${PN}-1.1.0-test-readline.patch \
- "${FILESDIR}"/${PN}-1.1.0-as-needed.patch
-
- # dist-packages is only for debian
- # remove exagarated optimizations (-O9 does not exist...)
- # use gentoo lapack framework
- sed -i \
- -e 's/dist-packages/site-packages/g' \
- -e '/^COMP_OPTS=/d' \
- -e "s:-llapack -lcblas:$($(tc-getPKG_CONFIG) --libs cblas lapack):g" \
- configure || die
-
- # disable ldconfig which violates sandbox
- # install in gentoo java standard paths
- sed -i \
- -e '/ldconfig/d' \
- -e '/share\/java/d' \
- -e '/jni/d' \
- -e 's/OCTAVE_LOADPATH/OCTAVE_PATH/g' \
- Makefile.template || die
-}
-
-src_configure() {
- # define interfaces to shogun library to build
- local x iface
- for x in java lua octave python ruby ; do
- use ${x} && iface="${iface}${x}_modular,"
- done
- use mono && iface="${iface}csharp_modular,"
- use R && iface="${iface}r_modular,"
- if use static-libs; then
- iface="${iface}cmdline_static,"
- use octave && iface="${iface}octave_static,"
- use python && iface="${iface}python_static,"
- use R && iface="${iface}r_static,"
- use octave && use python && use R && iface="${iface}elwms_static,"
- fi
- iface="${iface%,}"
-
- # gentoo bug #302621
- use hdf5 && has_version sci-libs/hdf5[mpi] && export CXX=mpicxx CC=mpicc
- ./configure \
- --disable-cpudetection \
- --destdir="${D}" \
- --prefix="${EPREFIX}/usr" \
- --mandir="${EPREFIX}/usr/share/man" \
- --libdir="${EPREFIX}/usr/$(get_libdir)" \
- --cc="$(tc-getCC)" \
- --cxx="$(tc-getCXX)" \
- --target="${CTARGET}" \
- --interfaces=${iface} \
- $(use_enable arpack) \
- $(use_enable bzip2) \
- $(use_enable doc doxygen) \
- $(use_enable eigen eigen3) \
- $(use_enable glpk) \
- $(use_enable gzip) \
- $(use_enable hdf5) \
- $(use_enable json) \
- $(use_enable lapack) \
- $(use_enable lpsolve) \
- $(use_enable lzma) \
- $(use_enable lzo) \
- $(use_enable nlopt) \
- $(use_enable readline) \
- $(use_enable smp hmm-parallel) \
- $(use_enable snappy) \
- $(use_enable static-libs static) \
- $(use_enable superlu) \
- $(use_enable xml) || die
-}
-
-src_compile() {
- emake
- use doc && emake -C ../doc
-}
-
-src_test() {
- use lapack || return
- ln -s ../../${MYPD}/* ../data/
- emake DESTDIR="${D}" install
- # disable because very long
- # emake tests
- emake -C shogun check-examples
-}
-
-src_install() {
- default
- use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a
- if use java; then
- java-pkg_dojar interfaces/java_modular/shogun.jar
- java-pkg_doso interfaces/java_modular/libmodshogun.so
- fi
-
- use doc && dohtml -r ../doc/html/*
- if use examples; then
- insinto /usr/share/doc/${PF}
- emake -C ../examples clean && doins -r ../examples
- insinto /usr/share/doc/${PF}/data
- doins -r "${WORKDIR}"/${MYPD}/*
- fi
-}
diff --git a/sci-libs/shogun/shogun-3.2.0.ebuild b/sci-libs/shogun/shogun-3.2.0.ebuild
deleted file mode 100644
index 6c6bfee..00000000
--- a/sci-libs/shogun/shogun-3.2.0.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_4 )
-
-inherit cmake-utils multilib python-single-r1 toolchain-funcs versionator
-
-MYPV=$(get_version_component_range 1-2)
-MYPD=${PN}-data-0.8
-
-DESCRIPTION="Large Scale Machine Learning Toolbox"
-HOMEPAGE="http://shogun-toolbox.org/"
-SRC_URI="
- ftp://shogun-toolbox.org/shogun/releases/${MYPV}/sources/${P}.tar.bz2
- test? ( ftp://shogun-toolbox.org/shogun/data/${MYPD}.tar.bz2 )
- examples? ( ftp://shogun-toolbox.org/shogun/data/${MYPD}.tar.bz2 )"
-
-LICENSE="GPL-3 free-noncomm"
-SLOT="0/16"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples lua mono octave python R ruby static-libs test"
-
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
- test? ( python )
- "
-
-RDEPEND="
- app-arch/bzip2:=
- app-arch/gzip:=
- app-arch/lzma:=
- app-arch/snappy:=
- dev-libs/lzo:=
- >=dev-cpp/eigen-3.1
- dev-libs/json-c:=
- dev-libs/libxml2:=
- dev-libs/protobuf:=
- net-misc/curl:=
- sci-libs/arpack:=
- sci-libs/arprec:=
- sci-libs/colpack:=
- sci-libs/hdf5:=
- sci-libs/nlopt:=
- sci-mathematics/glpk:=
- sci-mathematics/lpsolve:=
- sys-libs/readline:0
- sys-libs/zlib:=
- virtual/blas
- virtual/cblas
- virtual/lapack
- lua? ( dev-lang/lua:0 )
- mono? ( dev-lang/mono )
- octave? ( sci-mathematics/octave[hdf5] )
- python? ( dev-python/numpy[${PYTHON_USEDEP}] )
- R? ( dev-lang/R )
- ruby? ( dev-ruby/narray )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? ( app-doc/doxygen[dot] )
- lua? ( >=dev-lang/swig-2.0.4 )
- mono? ( >=dev-lang/swig-2.0.4 )
- octave? ( >=dev-lang/swig-2.0.4 )
- python? ( >=dev-lang/swig-2.0.4 test? ( sci-libs/scipy ) )
- R? ( >=dev-lang/swig-2.0.4 )
- ruby? ( >=dev-lang/swig-2.0.4 )
- test? (
- dev-python/jinja[${PYTHON_USEDEP}]
- dev-cpp/gmock
- )"
-
-# javamodular needs jblas (painful to package properly)
-# permodular work in progress (as 3.2.0)
-# could actually support multiple pythons, multiple rubys
-# feel free to do work for it
-
-PATCHES=(
- "${FILESDIR}"/${P}-atlas.patch
-)
-
-pkg_setup() {
- use python && python-single-r1_pkg_setup
-}
-
-src_configure() {
- export ATLAS_LIBRARY="$($(tc-getPKG_CONFIG) --libs cblas lapack)"
- export CBLAS_LIBRARY="$($(tc-getPKG_CONFIG) --libs cblas)"
- export ATLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas cblas lapack)"
- export LAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs lapack)"
- local mycmakeargs=(
- -DBUILD_EXAMPLES=OFF
- -DBUNDLE_ARPREC=OFF
- -DBUNDLE_COLPACK=OFF
- -DBUNDLE_EIGEN=OFF
- -DBUNDLE_JSON=OFF
- -DBUNDLE_NLOPT=OFF
- -DENABLE_COVERAGE=OFF
- -DJavaModular=OFF
- -DPerlModular=OFF
- -DLIB_INSTALL_DIR=$(get_libdir)
- $(cmake-utils_use lua LuaModular)
- $(cmake-utils_use mono CSharpModular)
- $(cmake-utils_use octave OctaveModular)
- $(cmake-utils_use octave OctaveStatic)
- $(cmake-utils_use python PythonModular)
- $(cmake-utils_use python PythonStatic)
- $(cmake-utils_use R RModular)
- $(cmake-utils_use R RStatic)
- $(cmake-utils_use ruby RubyModular)
- $(cmake-utils_use test ENABLE_TESTING)
- )
- cmake-utils_src_configure
- # gentoo bug #302621
- has_version sci-libs/hdf5[mpi] && export CXX=mpicxx CC=mpicc
-}
-
-src_compile() {
- cmake-utils_src_compile
- use doc && emake -C doc
-}
-
-src_install() {
- cmake-utils_src_install
- use doc && dohtml -r doc/html/*
- if use examples; then
- insinto /usr/share/doc/${PF}
- emake -C examples clean
- doins -r examples
- docompress -x /usr/share/doc/${PF}/examples
- insinto /usr/share/doc/${PF}/data
- doins -r "${WORKDIR}"/${MYPD}/*
-
- fi
-}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/shogun/
@ 2017-04-20 16:41 David Seifert
0 siblings, 0 replies; 9+ messages in thread
From: David Seifert @ 2017-04-20 16:41 UTC (permalink / raw
To: gentoo-commits
commit: 05d766718544a17c4b8daefcfa3622758665ff3a
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 20 15:46:21 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Apr 20 16:39:02 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05d76671
sci-libs/shogun: [QA] Add missing python metadata variables
Package-Manager: Portage-2.3.5, Repoman-2.3.2
sci-libs/shogun/shogun-5.0.0.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/sci-libs/shogun/shogun-5.0.0.ebuild b/sci-libs/shogun/shogun-5.0.0.ebuild
index e5e5b5a3758..faf9808fd09 100644
--- a/sci-libs/shogun/shogun-5.0.0.ebuild
+++ b/sci-libs/shogun/shogun-5.0.0.ebuild
@@ -52,7 +52,10 @@ RDEPEND="
lua? ( dev-lang/lua:0 )
octave? ( >=sci-mathematics/octave-4.2.0:=[hdf5] )
opencl? ( virtual/opencl )
- python? ( dev-python/numpy[${PYTHON_USEDEP}] )
+ python? (
+ ${PYTHON_DEPS}
+ dev-python/numpy[${PYTHON_USEDEP}]
+ )
R? ( dev-lang/R )
ruby? ( dev-ruby/narray )"
DEPEND="${RDEPEND}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/shogun/
@ 2018-03-08 19:33 Mike Gilbert
0 siblings, 0 replies; 9+ messages in thread
From: Mike Gilbert @ 2018-03-08 19:33 UTC (permalink / raw
To: gentoo-commits
commit: ffe24c1dfeb587c7fd457bf1cbc2909cebd9339e
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Thu Mar 8 18:46:41 2018 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Mar 8 19:32:50 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffe24c1d
sci-libs/shogun: Depend on >=dev-cpp/gtest-1.8.0.
dev-cpp/gmock has been merged into >=dev-cpp/gtest-1.8.0.
sci-libs/shogun/shogun-5.0.0.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-libs/shogun/shogun-5.0.0.ebuild b/sci-libs/shogun/shogun-5.0.0.ebuild
index faf9808fd09..78fb3ea3a38 100644
--- a/sci-libs/shogun/shogun-5.0.0.ebuild
+++ b/sci-libs/shogun/shogun-5.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -76,7 +76,7 @@ DEPEND="${RDEPEND}
ruby? ( >=dev-lang/swig-3.0.12 )
test? (
dev-python/jinja[${PYTHON_USEDEP}]
- dev-cpp/gmock
+ >=dev-cpp/gtest-1.8.0
)"
# javamodular needs jblas (painful to package properly)
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/shogun/
@ 2018-06-26 20:29 Pacho Ramos
0 siblings, 0 replies; 9+ messages in thread
From: Pacho Ramos @ 2018-06-26 20:29 UTC (permalink / raw
To: gentoo-commits
commit: c9b4afa1a2ca24581f51d04124eae9597d896d4b
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 26 19:56:09 2018 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Jun 26 20:28:51 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9b4afa1
sci-libs/shogun: Support python3.6
Package-Manager: Portage-2.3.40, Repoman-2.3.9
sci-libs/shogun/shogun-5.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/shogun/shogun-5.0.0.ebuild b/sci-libs/shogun/shogun-5.0.0.ebuild
index 78fb3ea3a38..2b063b28ba2 100644
--- a/sci-libs/shogun/shogun-5.0.0.ebuild
+++ b/sci-libs/shogun/shogun-5.0.0.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
inherit cmake-utils flag-o-matic python-single-r1 toolchain-funcs versionator
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/shogun/
@ 2020-01-16 7:03 Michał Górny
0 siblings, 0 replies; 9+ messages in thread
From: Michał Górny @ 2020-01-16 7:03 UTC (permalink / raw
To: gentoo-commits
commit: 865fb907bfb6785f1845198f26c6137b8b88c4b4
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 16 06:58:03 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 16 07:02:53 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=865fb907
sci-libs/shogun: Remove Python 2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sci-libs/shogun/shogun-5.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/shogun/shogun-5.0.0.ebuild b/sci-libs/shogun/shogun-5.0.0.ebuild
index 82a612f3707..81fa1c18b72 100644
--- a/sci-libs/shogun/shogun-5.0.0.ebuild
+++ b/sci-libs/shogun/shogun-5.0.0.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-PYTHON_COMPAT=( python2_7 python3_6 )
+PYTHON_COMPAT=( python3_6 )
inherit cmake-utils flag-o-matic python-single-r1 toolchain-funcs versionator
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/shogun/
@ 2020-01-16 7:03 Michał Górny
0 siblings, 0 replies; 9+ messages in thread
From: Michał Górny @ 2020-01-16 7:03 UTC (permalink / raw
To: gentoo-commits
commit: 9d64333449d73cfc7544671ad53d8dce924abb8c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 16 07:00:50 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 16 07:02:58 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d643334
sci-libs/shogun: Use HTTPS
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sci-libs/shogun/shogun-5.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/shogun/shogun-5.0.0.ebuild b/sci-libs/shogun/shogun-5.0.0.ebuild
index 81fa1c18b72..3bca4c41c56 100644
--- a/sci-libs/shogun/shogun-5.0.0.ebuild
+++ b/sci-libs/shogun/shogun-5.0.0.ebuild
@@ -11,7 +11,7 @@ MYPV=$(get_version_component_range 1-2)
MYPD=${PN}-data-0.9
DESCRIPTION="Large Scale Machine Learning Toolbox"
-HOMEPAGE="http://shogun-toolbox.org/"
+HOMEPAGE="https://shogun-toolbox.org/"
SRC_URI="
ftp://shogun-toolbox.org/shogun/releases/${MYPV}/sources/${P}.tar.bz2
test? ( ftp://shogun-toolbox.org/shogun/data/${MYPD}.tar.bz2 )
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/shogun/
@ 2020-02-09 16:36 Michał Górny
0 siblings, 0 replies; 9+ messages in thread
From: Michał Górny @ 2020-02-09 16:36 UTC (permalink / raw
To: gentoo-commits
commit: f902dc2a5fb048b225b878199d3e6196b7ac42af
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 7 19:07:21 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 9 16:35:33 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f902dc2a
sci-libs/shogun: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sci-libs/shogun/{shogun-5.0.0.ebuild => shogun-5.0.0-r1.ebuild} | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/sci-libs/shogun/shogun-5.0.0.ebuild b/sci-libs/shogun/shogun-5.0.0-r1.ebuild
similarity index 96%
rename from sci-libs/shogun/shogun-5.0.0.ebuild
rename to sci-libs/shogun/shogun-5.0.0-r1.ebuild
index 3bca4c41c56..1db83f206fa 100644
--- a/sci-libs/shogun/shogun-5.0.0.ebuild
+++ b/sci-libs/shogun/shogun-5.0.0-r1.ebuild
@@ -55,7 +55,9 @@ RDEPEND="
opencl? ( virtual/opencl )
python? (
${PYTHON_DEPS}
- dev-python/numpy[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ ')
)
R? ( dev-lang/R )
ruby? ( dev-ruby/narray )"
@@ -76,7 +78,9 @@ DEPEND="${RDEPEND}
R? ( >=dev-lang/swig-3.0.12 )
ruby? ( >=dev-lang/swig-3.0.12 )
test? (
- dev-python/jinja[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/jinja[${PYTHON_MULTI_USEDEP}]
+ ')
>=dev-cpp/gtest-1.8.0
)"
^ permalink raw reply related [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-02-09 16:36 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-09 16:36 [gentoo-commits] repo/gentoo:master commit in: sci-libs/shogun/ Michał Górny
-- strict thread matches above, loose matches on Subject: below --
2020-01-16 7:03 Michał Górny
2020-01-16 7:03 Michał Górny
2018-06-26 20:29 Pacho Ramos
2018-03-08 19:33 Mike Gilbert
2017-04-20 16:41 David Seifert
2017-01-15 22:52 Justin Lecher
2016-05-07 16:38 David Seifert
2016-05-07 16:38 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox