summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-08-15 00:08:45 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-08-15 00:08:45 +0000
commit0a2ebceddd0c9d54d94bde16fa09c01890009003 (patch)
treeb0e12043921c1e37575000cac4c7237170d1487e /sci-libs
parentVersion bump (diff)
downloadgentoo-2-0a2ebceddd0c9d54d94bde16fa09c01890009003.tar.gz
gentoo-2-0a2ebceddd0c9d54d94bde16fa09c01890009003.tar.bz2
gentoo-2-0a2ebceddd0c9d54d94bde16fa09c01890009003.zip
Version bump
(Portage version: 2.2_rc38/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/libsvm/ChangeLog10
-rw-r--r--sci-libs/libsvm/libsvm-2.89.ebuild (renamed from sci-libs/libsvm/libsvm-2.86.ebuild)22
2 files changed, 21 insertions, 11 deletions
diff --git a/sci-libs/libsvm/ChangeLog b/sci-libs/libsvm/ChangeLog
index fccd82fa2420..85c164c2185e 100644
--- a/sci-libs/libsvm/ChangeLog
+++ b/sci-libs/libsvm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-libs/libsvm
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/libsvm/ChangeLog,v 1.14 2008/11/01 13:21:58 markusle Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libsvm/ChangeLog,v 1.15 2009/08/15 00:08:44 bicatali Exp $
+
+*libsvm-2.89 (15 Aug 2009)
+
+ 15 Aug 2009; Sébastien Fabbro <bicatali@gentoo.org> -libsvm-2.86.ebuild,
+ +libsvm-2.89.ebuild:
+ Version bump
*libsvm-2.88 (01 Nov 2008)
diff --git a/sci-libs/libsvm/libsvm-2.86.ebuild b/sci-libs/libsvm/libsvm-2.89.ebuild
index 149bfe6aed65..296ca165225d 100644
--- a/sci-libs/libsvm/libsvm-2.86.ebuild
+++ b/sci-libs/libsvm/libsvm-2.89.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/libsvm/libsvm-2.86.ebuild,v 1.1 2008/06/13 13:48:15 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libsvm/libsvm-2.89.ebuild,v 1.1 2009/08/15 00:08:45 bicatali Exp $
inherit java-pkg-opt-2 python toolchain-funcs multilib
@@ -23,11 +23,12 @@ src_compile() {
CFLAGS="${CXXFLAGS}" \
|| die "emake failed"
- sed -i -e 's@\.\./@/usr/bin/@g' tools/*.py || die
+ sed -i -e 's@\.\./@/usr/bin/@g' tools/*.py \
+ || die "Failed to fix paths in python files"
if use python ; then
pushd python
- python_version || die
+ python_version || die "python_version failed"
emake \
CC="$(tc-getCXX)" \
CFLAGS="${CXXFLAGS} -I/usr/include/python${PYVER} -I.." \
@@ -40,21 +41,23 @@ src_compile() {
local JAVAC_FLAGS="$(java-pkg_javac-args)"
sed -i \
-e "s/JAVAC_FLAGS =/JAVAC_FLAGS=${JAVAC_FLAGS}/g" \
- Makefile || die
+ Makefile || die "Failed to fix java makefile"
emake || die "emake for java modules failed"
popd
fi
}
src_install() {
- dobin svm-train svm-predict svm-scale || die
+ dobin svm-train svm-predict svm-scale \
+ || die "Failed to install binaries"
dohtml FAQ.html
dodoc README
if use tools; then
pushd tools
- insinto /usr/share/doc/${PF}/tools
- doins easy.py grid.py subset.py
+ insinto /usr/share/${PN}/tools
+ doins easy.py grid.py subset.py \
+ || die "Failed to install python tools"
docinto tools
dodoc README
popd
@@ -64,7 +67,8 @@ src_install() {
pushd python
python_version || die
insinto /usr/$(get_libdir)/python${PYVER}/site-packages
- doins svmc.so svm.py || die
+ doins svmc.so svm.py \
+ || die "Failed to install python scripts"
docinto python
dodoc README
popd