1 |
commit: 7a53b7e385554fa0de85d799af365ec1f8ba71b1 |
2 |
Author: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Feb 23 14:39:33 2022 +0000 |
4 |
Commit: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com> |
5 |
CommitDate: Wed Feb 23 14:39:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7a53b7e3 |
7 |
|
8 |
media-video/trakt-scrobbler: install zsh completions |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com> |
12 |
|
13 |
media-video/trakt-scrobbler/trakt-scrobbler-1.4.0.ebuild | 7 +++++++ |
14 |
1 file changed, 7 insertions(+) |
15 |
|
16 |
diff --git a/media-video/trakt-scrobbler/trakt-scrobbler-1.4.0.ebuild b/media-video/trakt-scrobbler/trakt-scrobbler-1.4.0.ebuild |
17 |
index cd9dc863d..186dd58c8 100644 |
18 |
--- a/media-video/trakt-scrobbler/trakt-scrobbler-1.4.0.ebuild |
19 |
+++ b/media-video/trakt-scrobbler/trakt-scrobbler-1.4.0.ebuild |
20 |
@@ -34,6 +34,13 @@ python_test(){ |
21 |
eunittest tests/ |
22 |
} |
23 |
|
24 |
+python_install() { |
25 |
+ distutils-r1_python_install |
26 |
+ |
27 |
+ insinto "/usr/share/zsh/site-functions" |
28 |
+ newins "${S}/completions/trakts.zsh" "_trakts" |
29 |
+} |
30 |
+ |
31 |
pkg_postinst() { |
32 |
optfeature "start at boot support (see the trakts autostart command)" sys-apps/systemd |
33 |
} |