Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-video/vidify/
Date: Wed, 01 Apr 2020 19:38:53
Message-Id: 1585769908.6575e940f59f1566a87489665b425f980a0d8b4f.andrewammerlaan@gentoo
1 commit: 6575e940f59f1566a87489665b425f980a0d8b4f
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Wed Apr 1 19:38:28 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Wed Apr 1 19:38:28 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6575e940
7
8 media-video/vidify: version bump 2.2.0
9
10 Package-Manager: Portage-2.3.96, Repoman-2.3.22
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
12
13 media-video/vidify/Manifest | 2 +-
14 .../{vidify-2.1.0.ebuild => vidify-2.2.0.ebuild} | 20 ++++++++++++++------
15 2 files changed, 15 insertions(+), 7 deletions(-)
16
17 diff --git a/media-video/vidify/Manifest b/media-video/vidify/Manifest
18 index f437ef6..552a9ac 100644
19 --- a/media-video/vidify/Manifest
20 +++ b/media-video/vidify/Manifest
21 @@ -1 +1 @@
22 -DIST vidify-2.1.0.tar.gz 2332514 BLAKE2B c3199cd20de6e306406482a15addaf1875630c61271ea04b4a0c283d14030102eced6428e2dc8945ab482af6c81f94c51742983e9a9b6581b3aac60bd1c942f6 SHA512 e1a7d60caacd30d68fc8b1ebf3ea30a0527218257fe762989dd8ca5213beb247c300a7ffafe68554c88a1f3bb2a054a555fe15a66a727c57911f1f545e8d0297
23 +DIST vidify-2.2.0.tar.gz 2903665 BLAKE2B 0740ad35728eb80537170f75180e03dd88bdbaba2ab84e7d4c0453bc8e104550a510f5a25f42d9a84a9e5659f7bd142d1eae537c58b629cc509a110d14e353b8 SHA512 456ad36487c7a66b004de2e8837e718a9b18a235a5bc95bc6322ee43e4fbdf610f4a38dfdbea139e05ae3dc9551eb9116ace7a4dddf01356bea9858599aaa6cd
24
25 diff --git a/media-video/vidify/vidify-2.1.0.ebuild b/media-video/vidify/vidify-2.2.0.ebuild
26 similarity index 77%
27 rename from media-video/vidify/vidify-2.1.0.ebuild
28 rename to media-video/vidify/vidify-2.2.0.ebuild
29 index 7cc16dd..66c27c9 100644
30 --- a/media-video/vidify/vidify-2.1.0.ebuild
31 +++ b/media-video/vidify/vidify-2.2.0.ebuild
32 @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_7 )
33
34 DISTUTILS_USE_SETUPTOOLS=rdepend
35
36 -inherit eutils xdg distutils-r1
37 +inherit eutils xdg distutils-r1 virtualx
38
39 DESCRIPTION="Watch music videos in real time for the songs playing on your device"
40 HOMEPAGE="https://github.com/vidify/vidify"
41 @@ -25,27 +25,36 @@ RDEPEND="
42 dev-python/appdirs[${PYTHON_USEDEP}]
43 dev-python/lyricwikia[${PYTHON_USEDEP}]
44 dev-python/pydbus[${PYTHON_USEDEP}]
45 + dev-python/qdarkstyle[${PYTHON_USEDEP}]
46 dev-python/QtPy[gui,webengine,${PYTHON_USEDEP}]
47 dev-python/tekore[${PYTHON_USEDEP}]
48 net-misc/youtube-dl[${PYTHON_USEDEP}]
49 + dev-python/zeroconf[${PYTHON_USEDEP}]
50 mpv? ( dev-python/python-mpv[${PYTHON_USEDEP}] )
51 - vlc? ( dev-python/python-vlc[${PYTHON_USEDEP}] )"
52 + vlc? ( dev-python/python-vlc[${PYTHON_USEDEP}] )
53 +"
54
55 distutils_enable_tests unittest
56
57 python_prepare_all() {
58 # skip online test
59 - rm tests/apis/test_spotify_web.py || die
60 + rm tests/api/test_spotify_web.py || die
61 + rm tests/player/test_external.py || die
62
63 - # this needs dbus running
64 - rm tests/apis/test_mpris.py || die
65 + # this needs dbus and a player running
66 + rm tests/api/test_mpris.py || die
67
68 # fails to parse config for some reason
69 + # likely because of the removal of the above tests
70 rm tests/test_api_and_player_data.py || die
71
72 distutils-r1_python_prepare_all
73 }
74
75 +python_test() {
76 + virtx "${EPYTHON}" -m unittest discover -v
77 +}
78 +
79 pkg_postinst() {
80 xdg_pkg_postinst
81
82 @@ -53,6 +62,5 @@ pkg_postinst() {
83 use vlc && elog "If video playback is not working please check 'vidify --debug' for missing-codec-errors and recompile media-video/vlc with the missing codecs"
84 use mpv && elog "If video playback is not working please check 'vidify --player mpv --debug' for missing-codec-errors and recompile media-video/mpv with the missing codecs"
85
86 - optfeature "'vidify --dark-mode'" dev-python/qdarkstyle
87 optfeature "'vidify --audiosync'" media-video/vidify-audiosync
88 }