From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5CD8E158020 for ; Mon, 12 Dec 2022 09:37:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5EB09E086D; Mon, 12 Dec 2022 09:37:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 401EEE086D for ; Mon, 12 Dec 2022 09:37:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1A37934102C for ; Mon, 12 Dec 2022 09:37:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7028177D for ; Mon, 12 Dec 2022 09:37:12 +0000 (UTC) From: "Nicola Smaniotto" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nicola Smaniotto" Message-ID: <1670837818.a60b766fc95db2678e2b26e4fc88a68cc2e39393.smaniotto.nicola@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-video/trakt-scrobbler/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-video/trakt-scrobbler/Manifest media-video/trakt-scrobbler/trakt-scrobbler-1.6.1_beta1.ebuild X-VCS-Directories: media-video/trakt-scrobbler/ X-VCS-Committer: smaniotto.nicola X-VCS-Committer-Name: Nicola Smaniotto X-VCS-Revision: a60b766fc95db2678e2b26e4fc88a68cc2e39393 X-VCS-Branch: dev Date: Mon, 12 Dec 2022 09:37:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f7a435e5-e650-4d69-87e4-d93a3790ea85 X-Archives-Hash: 0aee70742309950a3d212e7e6bdfe572 commit: a60b766fc95db2678e2b26e4fc88a68cc2e39393 Author: Nicola Smaniotto gmail com> AuthorDate: Mon Dec 12 09:36:46 2022 +0000 Commit: Nicola Smaniotto gmail com> CommitDate: Mon Dec 12 09:36:58 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a60b766f media-video/trakt-scrobbler: add 1.6.1_beta1 Signed-off-by: Nicola Smaniotto gmail.com> media-video/trakt-scrobbler/Manifest | 1 + .../trakt-scrobbler-1.6.1_beta1.ebuild | 55 ++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/media-video/trakt-scrobbler/Manifest b/media-video/trakt-scrobbler/Manifest index a60bc73cc..e8bc423bf 100644 --- a/media-video/trakt-scrobbler/Manifest +++ b/media-video/trakt-scrobbler/Manifest @@ -1,3 +1,4 @@ DIST trakt-scrobbler-1.4.2.tar.gz 56835 BLAKE2B 0b39ca0d88ae2e45d5907a7546e44d2d653bd8c10fc67a0389153d2c90f1064fdbbe2d8e9c88da123f0275c10044c74fab69cceddbf24baadd21a495be439cb7 SHA512 cb58b6ab8577b9850f01dd6f6ef6e1ef6fbd1432c3ca84220a3845d6dd43ef56e5abdbaa934eee80f20affdadfffd93582c860a1efcccc0b2ee0025c6c0ca5b0 DIST trakt-scrobbler-1.5.0.tar.gz 56946 BLAKE2B 155d3371a077d4617ff575a4e924ee2f6ab9814ea5eea167234e8df26e3c3286dcf4df07ff9a51f2daf2faf928c1c857cc6a9497703e810493974cdc86f0cf54 SHA512 5d98308fc09c7c569a498622cb0868a9d9d547dea36b5523a02c4d53adb7033c3441426ea388a53c624f445480b11c41ab96660e6fe453be1d1110f781de4b1a DIST trakt-scrobbler-1.6.0.tar.gz 64001 BLAKE2B 201c4a6f48275d5bda87b37bb4ec46d63d3446a27b7093eb71648659fd5e41685751152882bdd837c9d4383d257ea5e3b131d354d9db87d79d5a26cbc4fb45de SHA512 b2f12088c4964a071bb22002ac8f8271fd993f8b55b1dd03f4e6c8707fe8d8fd7df6609a697128c44710e506b3cae57d799fd961c4373bcf52f7ff5af8a7817f +DIST trakt-scrobbler-1.6.1_beta1.tar.gz 64939 BLAKE2B 611f09ea60515a84681ef1bb06e547e727594e306196ac6347e1ad474a59e0fa28b67be4b74b3e4bbb03000aa8edfd312c1558df2e0e566f53db004254875a35 SHA512 c36673173373fc0a16887cd61273ddbc342c774d8310abcef405feac53bd4d57792c377e67410e316e51f362c75baea18571dd6f7ebd54776a4fae1ac5803b28 diff --git a/media-video/trakt-scrobbler/trakt-scrobbler-1.6.1_beta1.ebuild b/media-video/trakt-scrobbler/trakt-scrobbler-1.6.1_beta1.ebuild new file mode 100644 index 000000000..fdeea6ea3 --- /dev/null +++ b/media-video/trakt-scrobbler/trakt-scrobbler-1.6.1_beta1.ebuild @@ -0,0 +1,55 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 optfeature + +MY_PV="${PV/_/-}" + +DESCRIPTION="Scrobbler for trakt.tv that supports VLC, Plex, MPC-HC, and MPV" +HOMEPAGE="https://github.com/iamkroot/trakt-scrobbler" +SRC_URI="https://github.com/iamkroot/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/requests-2.25.1[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}] + >=dev-python/guessit-3.3.1[${PYTHON_USEDEP}] + >=dev-python/appdirs-1.4.4[${PYTHON_USEDEP}] + >=dev-python/cleo-0.8.1[${PYTHON_USEDEP}] + >=dev-python/confuse-2.0[${PYTHON_USEDEP}] + >=dev-python/urlmatch-1.0.1[${PYTHON_USEDEP}] + >=dev-python/pydantic-1.10.2[${PYTHON_USEDEP}] + dev-python/clikit[${PYTHON_USEDEP}] + dev-python/crashtest[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' python3_{8..10}) + >=dev-python/desktop-notifier-3.4.0[${PYTHON_USEDEP}] +" + +S="${WORKDIR}/${PN}-${MY_PV}" + +distutils_enable_tests unittest + +python_test(){ + eunittest tests/ +} + +python_install() { + distutils-r1_python_install + + insinto "/usr/share/zsh/site-functions" + newins "${S}/completions/trakts.zsh" "_trakts" +} + +pkg_postinst() { + optfeature "start at boot support (see the trakts autostart command)" sys-apps/systemd +}