diff options
-rw-r--r-- | .SRCINFO | 52 | ||||
-rw-r--r-- | PKGBUILD | 87 |
2 files changed, 112 insertions, 27 deletions
@@ -1,27 +1,57 @@ pkgbase = beets-git pkgdesc = Flexible music library manager and tagger - git version - pkgver = 1.4.3.r29.g70fd6cb7 + pkgver = 1.6.0.r1302.gdae525741 pkgrel = 1 url = http://beets.io/ arch = any license = MIT + checkdepends = bash-completion + checkdepends = imagemagick + checkdepends = python-beautifulsoup4 + checkdepends = python-discogs-client + checkdepends = python-flask + checkdepends = python-mpd2 + checkdepends = python-nose + checkdepends = python-nose-exclude + checkdepends = python-pylast + checkdepends = python-requests-oauthlib + checkdepends = python-responses + checkdepends = python-xdg makedepends = git + makedepends = python-setuptools + makedepends = python-sphinx + depends = python-confuse + depends = python-jellyfish + depends = python-mediafile depends = python-munkres - depends = python-mutagen + depends = python-musicbrainzngs + depends = python-reflink depends = python-setuptools + depends = python-six depends = python-unidecode - depends = python-musicbrainzngs depends = python-yaml - depends = python-jellyfish - depends = python-six - optdepends = python-pyacoustid: acoustic fingerprinting - optdepends = python-flask: web interface - optdepends = python-gobject: BPD audio player plugin - optdepends = python-pylast: lastgenre plugin - provides = beets + optdepends = bash-completion: Bash completion + optdepends = chromaprint: Chromaprint/Acoustid plugin + optdepends = ffmpeg: Convert, ReplayGain plugins + optdepends = gst-plugins-bad: Chromaprint/Acoustid, BPD, ReplayGain plugins + optdepends = gst-plugins-good: Chromaprint/Acoustid, BPD, ReplayGain plugins + optdepends = gst-plugins-ugly: Chromaprint/Acoustid, BPD, ReplayGain plugins + optdepends = gst-libav: Chromaprint/Acoustid, BPD, ReplayGain plugins + optdepends = gst-python: Chromaprint/Acoustid, BPD, ReplayGain plugins + optdepends = imagemagick: Thumbnails plugin + optdepends = python-beautifulsoup4: Lyrics plugin + optdepends = python-discogs-client: Discogs plugin + optdepends = python-flask: Web plugin + optdepends = python-gobject: ReplayGain plugin + optdepends = python-mpd2: MPDStats plugin + optdepends = python-pyacoustid: Chromaprint/Acoustid plugin + optdepends = python-pylast: LastGenre plugin + optdepends = python-requests: Chromaprint/Acoustid, BPD, FetchArt plugins + optdepends = python-requests-oauthlib: Beatport plugin + optdepends = python-xdg: Thumbnails plugin + provides = beets=1.6.0.r1302.gdae525741 conflicts = beets source = git+https://github.com/beetbox/beets.git md5sums = SKIP pkgname = beets-git - @@ -1,23 +1,67 @@ -# Maintainer: Adrian Sampson <adrian@radbox.org> +# Maintainer: Alexander Epaneshnikov <alex19ep@archlinux.org> +# Contributor: Adrian Sampson <adrian@radbox.org> # Contributor: Johannes Löthberg <demizide@gmail.com> pkgname=beets-git -pkgver=1.4.3.r29.g70fd6cb7 +pkgver=1.6.0.r1302.gdae525741 pkgrel=1 pkgdesc="Flexible music library manager and tagger - git version" arch=('any') url="http://beets.io/" license=('MIT') -depends=('python-munkres' 'python-mutagen' - 'python-setuptools' 'python-unidecode' - 'python-musicbrainzngs' 'python-yaml' - 'python-jellyfish' 'python-six') -makedepends=('git') -optdepends=('python-pyacoustid: acoustic fingerprinting' - 'python-flask: web interface' - 'python-gobject: BPD audio player plugin' - 'python-pylast: lastgenre plugin') -provides=('beets') +depends=( + python-confuse + python-jellyfish + python-mediafile + python-munkres + python-musicbrainzngs + python-reflink + python-setuptools + python-six + python-unidecode + python-yaml +) +makedepends=( + git + python-setuptools + python-sphinx +) +checkdepends=( + bash-completion + imagemagick + python-beautifulsoup4 + python-discogs-client + python-flask + python-mpd2 + python-nose + python-nose-exclude + python-pylast + python-requests-oauthlib + python-responses + python-xdg +) +optdepends=( + 'bash-completion: Bash completion' + 'chromaprint: Chromaprint/Acoustid plugin' + 'ffmpeg: Convert, ReplayGain plugins' + 'gst-plugins-bad: Chromaprint/Acoustid, BPD, ReplayGain plugins' + 'gst-plugins-good: Chromaprint/Acoustid, BPD, ReplayGain plugins' + 'gst-plugins-ugly: Chromaprint/Acoustid, BPD, ReplayGain plugins' + 'gst-libav: Chromaprint/Acoustid, BPD, ReplayGain plugins' + 'gst-python: Chromaprint/Acoustid, BPD, ReplayGain plugins' + 'imagemagick: Thumbnails plugin' + 'python-beautifulsoup4: Lyrics plugin' + 'python-discogs-client: Discogs plugin' + 'python-flask: Web plugin' + 'python-gobject: ReplayGain plugin' + 'python-mpd2: MPDStats plugin' + 'python-pyacoustid: Chromaprint/Acoustid plugin' + 'python-pylast: LastGenre plugin' + 'python-requests: Chromaprint/Acoustid, BPD, FetchArt plugins' + 'python-requests-oauthlib: Beatport plugin' + 'python-xdg: Thumbnails plugin' +) +provides=("beets=$pkgver") conflicts=('beets') source=('git+https://github.com/beetbox/beets.git') md5sums=('SKIP') @@ -29,12 +73,23 @@ pkgver() { build() { cd ${srcdir}/beets - python setup.py build + python setup.py build sdist +} + +check() { + cd beets + python -m nose \ + --exclude-test=test.test_ui.CompletionTest \ + --exclude-test=test.test_zero.ZeroPluginTest \ + --exclude-test=test.test_embedart.EmbedartCliTest.test_accept_similar_art \ + --exclude-test=test.test_ui.ConfigTest } package() { cd ${srcdir}/beets python setup.py install --root=${pkgdir} --optimize=1 --skip-build - - install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} + install -Dm 644 extra/_beet -t "${pkgdir}"/usr/share/zsh/site-functions/ + install -Dm 644 man/beet.1 -t "${pkgdir}"/usr/share/man/man1/ + install -Dm 644 man/beetsconfig.5 -t "${pkgdir}"/usr/share/man/man5/ + install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/beets-git/ +} |