1 |
commit: 980bc9023c2336350130027a75421e35b3babdbb |
2 |
Author: Guillaume Seren <guillaumeseren <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed May 26 11:14:03 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 1 00:27:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=980bc902 |
7 |
|
8 |
media-sound/beets: Clean old ebuild |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.2 |
11 |
Closes: https://bugs.gentoo.org/790215 |
12 |
Signed-off-by: Guillaume Seren <guillaumeseren <AT> gmail.com> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/21016 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
media-sound/beets/beets-1.4.9-r5.ebuild | 134 -------------------------------- |
17 |
1 file changed, 134 deletions(-) |
18 |
|
19 |
diff --git a/media-sound/beets/beets-1.4.9-r5.ebuild b/media-sound/beets/beets-1.4.9-r5.ebuild |
20 |
deleted file mode 100644 |
21 |
index cc6a223082b..00000000000 |
22 |
--- a/media-sound/beets/beets-1.4.9-r5.ebuild |
23 |
+++ /dev/null |
24 |
@@ -1,134 +0,0 @@ |
25 |
-# Copyright 1999-2021 Gentoo Authors |
26 |
-# Distributed under the terms of the GNU General Public License v2 |
27 |
- |
28 |
-EAPI=7 |
29 |
- |
30 |
-DISTUTILS_SINGLE_IMPL=1 |
31 |
-PYTHON_COMPAT=( python3_{7..9} ) |
32 |
-PYTHON_REQ_USE="sqlite" |
33 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
34 |
- |
35 |
-inherit distutils-r1 bash-completion-r1 optfeature |
36 |
- |
37 |
-if [[ ${PV} == "9999" ]]; then |
38 |
- EGIT_REPO_URI="https://github.com/beetbox/beets.git" |
39 |
- inherit git-r3 |
40 |
-else |
41 |
- MY_PV=${PV/_beta/-beta.} |
42 |
- MY_P=${PN}-${MY_PV} |
43 |
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
- KEYWORDS="~amd64 ~x86" |
45 |
- S="${WORKDIR}/${MY_P}" |
46 |
-fi |
47 |
- |
48 |
-DESCRIPTION="Media library management system for obsessive-compulsive music geeks" |
49 |
-HOMEPAGE="https://beets.io/ https://pypi.org/project/beets/" |
50 |
- |
51 |
-LICENSE="MIT" |
52 |
-SLOT="0" |
53 |
-IUSE="doc test" |
54 |
-RESTRICT="!test? ( test )" |
55 |
- |
56 |
-RDEPEND=" |
57 |
- $(python_gen_cond_dep ' |
58 |
- >=dev-python/jellyfish-0.7.1[${PYTHON_MULTI_USEDEP}] |
59 |
- dev-python/munkres[${PYTHON_MULTI_USEDEP}] |
60 |
- >=media-libs/mutagen-1.33[${PYTHON_MULTI_USEDEP}] |
61 |
- >=dev-python/python-musicbrainz-ngs-0.4[${PYTHON_MULTI_USEDEP}] |
62 |
- dev-python/pyyaml[${PYTHON_MULTI_USEDEP}] |
63 |
- dev-python/requests-oauthlib[${PYTHON_MULTI_USEDEP}] |
64 |
- dev-python/requests[${PYTHON_MULTI_USEDEP}] |
65 |
- >=dev-python/six-1.9[${PYTHON_MULTI_USEDEP}] |
66 |
- dev-python/unidecode[${PYTHON_MULTI_USEDEP}] |
67 |
- ')" |
68 |
-DEPEND=" |
69 |
- ${RDEPEND} |
70 |
-" |
71 |
-BDEPEND=" |
72 |
- doc? ( |
73 |
- dev-python/sphinx |
74 |
- ) |
75 |
- $(python_gen_cond_dep ' |
76 |
- test? ( |
77 |
- dev-db/sqlite[icu] |
78 |
- dev-python/beautifulsoup[${PYTHON_MULTI_USEDEP}] |
79 |
- dev-python/bluelet[${PYTHON_MULTI_USEDEP}] |
80 |
- dev-python/discogs-client[${PYTHON_MULTI_USEDEP}] |
81 |
- dev-python/flask[${PYTHON_MULTI_USEDEP}] |
82 |
- dev-python/mock[${PYTHON_MULTI_USEDEP}] |
83 |
- dev-python/pyacoustid[${PYTHON_MULTI_USEDEP}] |
84 |
- dev-python/pylast[${PYTHON_MULTI_USEDEP}] |
85 |
- dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] |
86 |
- dev-python/python-mpd[${PYTHON_MULTI_USEDEP}] |
87 |
- dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] |
88 |
- || ( |
89 |
- dev-python/pillow[${PYTHON_MULTI_USEDEP}] |
90 |
- media-gfx/imagemagick |
91 |
- ) |
92 |
- dev-python/rarfile[${PYTHON_MULTI_USEDEP}] |
93 |
- dev-python/responses[${PYTHON_MULTI_USEDEP}] |
94 |
- dev-python/wheel[${PYTHON_MULTI_USEDEP}] |
95 |
- media-libs/chromaprint[tools] |
96 |
- media-libs/flac |
97 |
- media-libs/gst-plugins-bad:1.0 |
98 |
- media-libs/gst-plugins-good:1.0 |
99 |
- media-sound/mp3val |
100 |
- media-sound/mp3gain |
101 |
- media-plugins/gst-plugins-libav:1.0 |
102 |
- media-video/ffmpeg:0[encode] |
103 |
- ) |
104 |
- ')" |
105 |
- |
106 |
-PATCHES=( |
107 |
- "${FILESDIR}/${PV}-0001-compatibility-with-breaking-changes-to-the-ast-modul.patch" |
108 |
- "${FILESDIR}/${PV}-0002-Disable-test_completion.patch" |
109 |
- "${FILESDIR}/${PV}-0003-Try-to-work-around-a-Werkzeug-change.patch" |
110 |
-) |
111 |
- |
112 |
-DOCS=( README.rst docs/changelog.rst ) |
113 |
- |
114 |
-distutils_enable_tests pytest |
115 |
- |
116 |
-python_prepare_all() { |
117 |
- distutils-r1_python_prepare_all |
118 |
- |
119 |
- # Tests that need network |
120 |
- rm test/test_art.py || die "Failed to remove test_art.py" |
121 |
- rm test/test_discogs.py || die "Failed to remove test_discogs.py" |
122 |
- rm test/test_embyupdate.py || die "Failed to remove test_embyupdate.py" |
123 |
- rm test/test_lastgenre.py || die "Failed to remove test_lastgenre.py" |
124 |
- rm test/test_spotify.py || die "Failed to remove test_spotify.py" |
125 |
- # Not working and dropped in master |
126 |
- rm test/test_mediafile.py || die "Failed to remove test_mediafile.py" |
127 |
-} |
128 |
- |
129 |
-python_compile_all() { |
130 |
- use doc && esetup.py build_sphinx -b html --build-dir=docs/build |
131 |
-} |
132 |
- |
133 |
-python_install_all() { |
134 |
- distutils-r1_python_install_all |
135 |
- |
136 |
- doman man/* |
137 |
- use doc && local HTML_DOCS=( docs/build/html/. ) |
138 |
- einstalldocs |
139 |
- |
140 |
- ${PYTHON} "${ED}/usr/bin/beet" completion > "${T}/beet.bash" || die |
141 |
- newbashcomp "${T}/beet.bash" beet |
142 |
- insinto /usr/share/zsh/site-functions |
143 |
- newins "${WORKDIR}/${P}/extra/_beet" _beet |
144 |
- |
145 |
- optfeature "badfiles support" "media-libs/flac media-sound/mp3val" |
146 |
- optfeature "chromaprint support" "dev-python/pyacoustid media-libs/chromaprint[tools]" |
147 |
- optfeature "discogs support" dev-python/discogs-client |
148 |
- optfeature "ffmpeg support" media-video/ffmpeg[encode] |
149 |
- optfeature "gstreamer support" "media-libs/gst-plugins-bad media-libs/gst-plugins-good" |
150 |
- optfeature "icu support" dev-db/sqlite[icu] |
151 |
- optfeature "lastfm support" dev-python/pylast |
152 |
- optfeature "mpd support" "dev-python/bluelet dev-python/python-mpd" |
153 |
- optfeature "replaygain with gstreamer support" "dev-python/pygobject media-plugins/gst-plugins-libav" |
154 |
- optfeature "replaygain without gstreamer support" media-sound/mp3gain |
155 |
- optfeature "thumbnail support" dev-python/pyxdg "dev-python/pillow media-gfx/imagemagick" |
156 |
- optfeature "webserver support" dev-python/flask |
157 |
- optfeature "webserver cors support" dev-python/flask-cors |
158 |
-} |