1 |
commit: ab34eaabdd5df3d8c0e1a06b95c1ce3fc105b07e |
2 |
Author: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Aug 1 20:34:48 2022 +0000 |
4 |
Commit: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com> |
5 |
CommitDate: Tue Aug 2 07:58:59 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ab34eaab |
7 |
|
8 |
media-video/trakt-scrobbler: add 1.5.0 |
9 |
|
10 |
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com> |
11 |
|
12 |
media-video/trakt-scrobbler/Manifest | 1 + |
13 |
.../trakt-scrobbler/trakt-scrobbler-1.5.0.ebuild | 46 ++++++++++++++++++++++ |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/media-video/trakt-scrobbler/Manifest b/media-video/trakt-scrobbler/Manifest |
17 |
index 04b3861a7..e9ded003e 100644 |
18 |
--- a/media-video/trakt-scrobbler/Manifest |
19 |
+++ b/media-video/trakt-scrobbler/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST trakt-scrobbler-1.4.0.tar.gz 55216 BLAKE2B d0af08a859c36db73d36b6db827aa1f5f791c10b77c4d0392763e9fae0d51d9c0327a188f46a001b261ed3127f861920a4e3144792d35adf16d612bf987bfbc6 SHA512 7898f23c14f5f2e1e6461b945a4729f6edb02ae3ecaac843b14d957a87a8a0728e20b740677da2fd8492a5d4263139387b03c277b04aa7cff06da6762b0c5ed8 |
22 |
DIST trakt-scrobbler-1.4.2.tar.gz 56835 BLAKE2B 0b39ca0d88ae2e45d5907a7546e44d2d653bd8c10fc67a0389153d2c90f1064fdbbe2d8e9c88da123f0275c10044c74fab69cceddbf24baadd21a495be439cb7 SHA512 cb58b6ab8577b9850f01dd6f6ef6e1ef6fbd1432c3ca84220a3845d6dd43ef56e5abdbaa934eee80f20affdadfffd93582c860a1efcccc0b2ee0025c6c0ca5b0 |
23 |
+DIST trakt-scrobbler-1.5.0.tar.gz 56946 BLAKE2B 155d3371a077d4617ff575a4e924ee2f6ab9814ea5eea167234e8df26e3c3286dcf4df07ff9a51f2daf2faf928c1c857cc6a9497703e810493974cdc86f0cf54 SHA512 5d98308fc09c7c569a498622cb0868a9d9d547dea36b5523a02c4d53adb7033c3441426ea388a53c624f445480b11c41ab96660e6fe453be1d1110f781de4b1a |
24 |
|
25 |
diff --git a/media-video/trakt-scrobbler/trakt-scrobbler-1.5.0.ebuild b/media-video/trakt-scrobbler/trakt-scrobbler-1.5.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000..df604bd55 |
28 |
--- /dev/null |
29 |
+++ b/media-video/trakt-scrobbler/trakt-scrobbler-1.5.0.ebuild |
30 |
@@ -0,0 +1,46 @@ |
31 |
+# Copyright 2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=poetry |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+ |
39 |
+inherit distutils-r1 optfeature |
40 |
+ |
41 |
+DESCRIPTION="Scrobbler for trakt.tv that supports VLC, Plex, MPC-HC, and MPV" |
42 |
+HOMEPAGE="https://github.com/iamkroot/trakt-scrobbler" |
43 |
+SRC_URI="https://github.com/iamkroot/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="GPL-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ >=dev-python/requests-2.25.1[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/guessit-3.3.1[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/appdirs-1.4.4[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/cleo-0.8.1[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/confuse-2.0[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/urlmatch-1.0.1[${PYTHON_USEDEP}] |
57 |
+ dev-python/clikit[${PYTHON_USEDEP}] |
58 |
+ dev-python/crashtest[${PYTHON_USEDEP}] |
59 |
+" |
60 |
+ |
61 |
+distutils_enable_tests unittest |
62 |
+ |
63 |
+python_test(){ |
64 |
+ eunittest tests/ |
65 |
+} |
66 |
+ |
67 |
+python_install() { |
68 |
+ distutils-r1_python_install |
69 |
+ |
70 |
+ insinto "/usr/share/zsh/site-functions" |
71 |
+ newins "${S}/completions/trakts.zsh" "_trakts" |
72 |
+} |
73 |
+ |
74 |
+pkg_postinst() { |
75 |
+ optfeature "start at boot support (see the trakts autostart command)" sys-apps/systemd |
76 |
+} |