Gentoo Archives: gentoo-commits

From: Ronny Gutbrod <gentoo@××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-video/trakt-scrobbler/
Date: Wed, 23 Feb 2022 00:33:56
Message-Id: 1645545479.f262f092d5d27aec6790ee89800d91d527e23e83.tastytea@gentoo
1 commit: f262f092d5d27aec6790ee89800d91d527e23e83
2 Author: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
3 AuthorDate: Tue Feb 22 14:40:19 2022 +0000
4 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
5 CommitDate: Tue Feb 22 15:57:59 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f262f092
7
8 media-video/trakt-scrobbler: bump to 1.4.0
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/Manifest | 1 +
14 .../trakt-scrobbler/trakt-scrobbler-1.4.0.ebuild | 39 ++++++++++++++++++++++
15 2 files changed, 40 insertions(+)
16
17 diff --git a/media-video/trakt-scrobbler/Manifest b/media-video/trakt-scrobbler/Manifest
18 index 7fb8738d2..a90481b24 100644
19 --- a/media-video/trakt-scrobbler/Manifest
20 +++ b/media-video/trakt-scrobbler/Manifest
21 @@ -1 +1,2 @@
22 DIST trakt-scrobbler-1.3.2.tar.gz 51212 BLAKE2B f95f86369928910f0830b7646a4d3a9b24ec3393ccd4f0a62582eb6b5dedf3b0c533df52856be4776e8d8b1b19e6ebe3ab6a393ec4adaf8ed09da8db6004aa2a SHA512 de1a7d77110ee43b85dc2d6b01d8c1558c9e88cbaa058e9e556b0b93ed76f277ffe5e129111bcb1b2f751f48d41ebc87db802d87b07504b3fc0d5117d3682227
23 +DIST trakt-scrobbler-1.4.0.tar.gz 55216 BLAKE2B d0af08a859c36db73d36b6db827aa1f5f791c10b77c4d0392763e9fae0d51d9c0327a188f46a001b261ed3127f861920a4e3144792d35adf16d612bf987bfbc6 SHA512 7898f23c14f5f2e1e6461b945a4729f6edb02ae3ecaac843b14d957a87a8a0728e20b740677da2fd8492a5d4263139387b03c277b04aa7cff06da6762b0c5ed8
24
25 diff --git a/media-video/trakt-scrobbler/trakt-scrobbler-1.4.0.ebuild b/media-video/trakt-scrobbler/trakt-scrobbler-1.4.0.ebuild
26 new file mode 100644
27 index 000000000..cd9dc863d
28 --- /dev/null
29 +++ b/media-video/trakt-scrobbler/trakt-scrobbler-1.4.0.ebuild
30 @@ -0,0 +1,39 @@
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-1.4.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 +pkg_postinst() {
68 + optfeature "start at boot support (see the trakts autostart command)" sys-apps/systemd
69 +}