commit:     62e03fae79ae335bc4c8ddc5746429909f82af87
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  6 23:13:25 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Aug  6 23:14:15 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62e03fae

sci-libs/libsvm: Use 'python_newscript' instead of 'python_doscript'

Package-Manager: portage-2.3.0

 sci-libs/libsvm/libsvm-3.17-r2.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sci-libs/libsvm/libsvm-3.17-r2.ebuild 
b/sci-libs/libsvm/libsvm-3.17-r2.ebuild
index 36ce9ba..e4752db 100644
--- a/sci-libs/libsvm/libsvm-3.17-r2.ebuild
+++ b/sci-libs/libsvm/libsvm-3.17-r2.ebuild
@@ -83,8 +83,7 @@ src_install() {
 
                local t
                for t in tools/*.py; do
-                       mv ${t} svm-$(basename ${t} .py) || die
-                       python_doscript svm-$(basename ${t} .py)
+                       python_newscript ${t} svm-$(basename ${t} .py)
                done
 
                newdoc tools/README README.tools

Reply via email to