mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-sound/beets: Drop old
Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST beets-1.3.13.tar.gz 1269748 BLAKE2B 1e22618ad38342abcb6b5061e7191d0798aa15d885c2cc1831e9953e814decc68843a8275e931dc73bf2607298665e9aae56fe942f15342f78bf66155c5c5ff7 SHA512 ffee7e16a115f16c26ab07a75e614746cd5871a7311660d37978deff34245f3aeab97b1a453fc0900442f40e6ac7d102c5adfce910edfec78387fc149fbea261
|
||||
DIST beets-1.3.19.tar.gz 1349402 BLAKE2B c153ec5328b4171841b09168930c224f10b0e8a2285bb90c853baa76fab549aa427eea27968a0f97b32273e540d0e9ac8aa74bcad09d7b9ad700b8da18686104 SHA512 86d2bae8d047a81b7a21f3fc322bb23e383193004de02e8ba0641d564054b58c8828dd112ba437e6fb1d40d9b9521d00b7717c29f33b88b8b559cdbf0ca407ae
|
||||
DIST beets-1.4.3.tar.gz 1428494 BLAKE2B 29adc617c4efbb304b05c6bc027a09fd34c11af70b22a86a329fe9048de31828f729114db929e97b103a6f6d8210c0b74716f327f8b4f853f745433fea5f1e14 SHA512 b95a9056abae5da3db7786342e8969b4f9c86c2c4589dd48bad244d28ef3d3da4900d3d3eaee1e45964960c62ecaa8d754a33829e0d7f497f01ecc763c0f492d
|
||||
|
||||
@@ -1,90 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
MY_PV=${PV/_beta/-beta.}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="A media library management system for obsessive-compulsive music geeks"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
HOMEPAGE="http://beets.radbox.org/ https://pypi.python.org/pypi/beets"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
LICENSE="MIT"
|
||||
IUSE="bpd chroma convert doc discogs flac gstreamer lastgenre mpdstats
|
||||
ogg opus replaygain test web"
|
||||
|
||||
RDEPEND=">=dev-python/enum34-1.0.4[${PYTHON_USEDEP}]
|
||||
dev-python/jellyfish[${PYTHON_USEDEP}]
|
||||
dev-python/munkres[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-musicbrainz-ngs-0.4[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/unidecode[${PYTHON_USEDEP}]
|
||||
>=media-libs/mutagen-1.27[${PYTHON_USEDEP}]
|
||||
bpd? ( dev-python/bluelet[${PYTHON_USEDEP}] )
|
||||
chroma? ( dev-python/pyacoustid[${PYTHON_USEDEP}] )
|
||||
convert? ( media-video/ffmpeg:0[encode] )
|
||||
discogs? ( dev-python/discogs-client[${PYTHON_USEDEP}] )
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
mpdstats? ( dev-python/python-mpd[${PYTHON_USEDEP}] )
|
||||
lastgenre? ( dev-python/pylast[${PYTHON_USEDEP}] )
|
||||
replaygain? (
|
||||
gstreamer? ( media-libs/gstreamer:1.0[introspection]
|
||||
media-libs/gst-plugins-good:1.0
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
ogg? ( media-plugins/gst-plugins-ogg )
|
||||
flac? ( media-plugins/gst-plugins-flac:1.0 )
|
||||
opus? ( media-plugins/gst-plugins-opus:1.0 ) )
|
||||
!gstreamer? ( || ( media-sound/mp3gain
|
||||
media-sound/aacgain ) ) )
|
||||
web? ( dev-python/flask[${PYTHON_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
# requires removed package pyechonest, bug #587976
|
||||
rm beetsplug/echonest.py || die
|
||||
|
||||
# remove plugins that do not have appropriate dependencies installed
|
||||
for flag in bpd chroma convert discogs lastgenre mpdstats replaygain web; do
|
||||
if ! use ${flag}; then
|
||||
rm -r beetsplug/${flag}.py || \
|
||||
rm -r beetsplug/${flag}/ ||
|
||||
die "Unable to remove ${flag} plugin"
|
||||
fi
|
||||
done
|
||||
|
||||
for flag in bpd lastgenre web; do
|
||||
if ! use ${flag}; then
|
||||
sed -e "s:'beetsplug.${flag}',::" -i setup.py || \
|
||||
die "Unable to disable ${flag} plugin "
|
||||
fi
|
||||
done
|
||||
|
||||
use bpd || rm -f test/test_player.py
|
||||
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd test
|
||||
if ! use web; then
|
||||
rm test_web.py || die "Failed to remove test_web.py"
|
||||
fi
|
||||
"${PYTHON}" testall.py || die "Testsuite failed"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
doman man/beet.1 man/beetsconfig.5
|
||||
use doc && dohtml -r docs/_build/html/
|
||||
}
|
||||
@@ -1,90 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
MY_PV=${PV/_beta/-beta.}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="A media library management system for obsessive-compulsive music geeks"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
HOMEPAGE="http://beets.radbox.org/ https://pypi.python.org/pypi/beets"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
LICENSE="MIT"
|
||||
IUSE="badfiles bpd chroma convert doc discogs flac gstreamer lastgenre mpdstats
|
||||
ogg opus replaygain test web"
|
||||
|
||||
RDEPEND=">=dev-python/enum34-1.0.4[${PYTHON_USEDEP}]
|
||||
dev-python/jellyfish[${PYTHON_USEDEP}]
|
||||
dev-python/munkres[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/requests-oauthlib[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-musicbrainz-ngs-0.4[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/unidecode[${PYTHON_USEDEP}]
|
||||
>=media-libs/mutagen-1.27[${PYTHON_USEDEP}]
|
||||
badfiles? ( media-sound/mp3val media-libs/flac )
|
||||
bpd? ( dev-python/bluelet[${PYTHON_USEDEP}] )
|
||||
chroma? ( dev-python/pyacoustid[${PYTHON_USEDEP}] )
|
||||
convert? ( media-video/ffmpeg:0[encode] )
|
||||
discogs? ( dev-python/discogs-client[${PYTHON_USEDEP}] )
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
mpdstats? ( dev-python/python-mpd[${PYTHON_USEDEP}] )
|
||||
lastgenre? ( dev-python/pylast[${PYTHON_USEDEP}] )
|
||||
replaygain? (
|
||||
gstreamer? ( media-libs/gstreamer:1.0[introspection]
|
||||
media-libs/gst-plugins-good:1.0
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
ogg? ( media-plugins/gst-plugins-ogg )
|
||||
flac? ( media-plugins/gst-plugins-flac:1.0 )
|
||||
opus? ( media-plugins/gst-plugins-opus:1.0 ) )
|
||||
!gstreamer? ( || ( media-sound/mp3gain
|
||||
media-sound/aacgain ) ) )
|
||||
web? ( dev-python/flask[${PYTHON_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
# remove plugins that do not have appropriate dependencies installed
|
||||
for flag in badfiles bpd chroma convert discogs lastgenre mpdstats replaygain web; do
|
||||
if ! use ${flag}; then
|
||||
rm -r beetsplug/${flag}.py || \
|
||||
rm -r beetsplug/${flag}/ ||
|
||||
die "Unable to remove ${flag} plugin"
|
||||
fi
|
||||
done
|
||||
|
||||
for flag in bpd lastgenre web; do
|
||||
if ! use ${flag}; then
|
||||
sed -e "s:'beetsplug.${flag}',::" -i setup.py || \
|
||||
die "Unable to disable ${flag} plugin "
|
||||
fi
|
||||
done
|
||||
|
||||
use bpd || rm -f test/test_player.py
|
||||
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd test
|
||||
if ! use web; then
|
||||
rm test_web.py || die "Failed to remove test_web.py"
|
||||
fi
|
||||
"${PYTHON}" testall.py || die "Testsuite failed"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
doman man/beet.1 man/beetsconfig.5
|
||||
use doc && dohtml -r docs/_build/html/
|
||||
}
|
||||
Reference in New Issue
Block a user