commit: acc9c0440254950d16a43e5244d1051c1741b9a9
Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
AuthorDate: Tue May 30 07:20:04 2017 +0000
Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
CommitDate: Tue May 30 07:21:34 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acc9c044
net-misc/yandex-disk: fix installing man files, bump EAPI to 6
Gentoo-Bug: 619976
Package-Manager: Portage-2.3.5, Repoman-2.3.1
net-misc/yandex-disk/yandex-disk-0.1.5.940_p1.ebuild | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/net-misc/yandex-disk/yandex-disk-0.1.5.940_p1.ebuild
b/net-misc/yandex-disk/yandex-disk-0.1.5.940_p1.ebuild
index 9734ee06d43..0ba7ec85dfa 100644
--- a/net-misc/yandex-disk/yandex-disk-0.1.5.940_p1.ebuild
+++ b/net-misc/yandex-disk/yandex-disk-0.1.5.940_p1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
inherit bash-completion-r1 eutils rpm
@@ -33,14 +33,15 @@ src_prepare() {
-e '/^complete/s/-X //' \
etc/bash_completion.d/yandex-disk-completion.bash || die
- epatch_user
+ eapply_user
}
src_install() {
exeinto /opt/bin
doexe usr/bin/yandex-disk
newbashcomp etc/bash_completion.d/yandex-disk-completion.bash "${PN}"
- doman usr/share/man/man1/*.gz
+ insinto /usr/share/man
+ doins -r usr/share/man/*
insinto /usr/share
doins -r usr/share/locale
}