Date: Tuesday, January 10, 2017 @ 17:17:53 Author: alucryd Revision: 206607
Add python 3 versions of several libs for beets Added: python-jellyfish/ python-jellyfish/trunk/ python-jellyfish/trunk/PKGBUILD python-munkres/ python-munkres/trunk/ python-munkres/trunk/PKGBUILD python-musicbrainzngs/ python-musicbrainzngs/trunk/ python-musicbrainzngs/trunk/PKGBUILD Modified: beets/trunk/PKGBUILD --------------------------------------+ beets/trunk/PKGBUILD | 31 +++++++---------- python-jellyfish/trunk/PKGBUILD | 58 +++++++++++++++++++++++++++++++++ python-munkres/trunk/PKGBUILD | 46 ++++++++++++++++++++++++++ python-musicbrainzngs/trunk/PKGBUILD | 48 +++++++++++++++++++++++++++ 4 files changed, 166 insertions(+), 17 deletions(-) Modified: beets/trunk/PKGBUILD =================================================================== --- beets/trunk/PKGBUILD 2017-01-10 17:08:05 UTC (rev 206606) +++ beets/trunk/PKGBUILD 2017-01-10 17:17:53 UTC (rev 206607) @@ -3,15 +3,14 @@ # Contributor: Adrian Sampson <[email protected]> pkgname=beets -pkgver=1.4.2 +pkgver=1.4.3 pkgrel=1 pkgdesc='Flexible music library manager and tagger' arch=('any') url='http://beets.radbox.org/' license=('MIT') -depends=('mutagen' 'python2-enum34' 'python2-jellyfish' 'python2-munkres' - 'python2-musicbrainzngs' 'python2-setuptools' 'python2-six' - 'python2-unidecode' 'python2-yaml') +depends=('mutagen' 'python-jellyfish' 'python-munkres' 'python-musicbrainzngs' + 'python-setuptools' 'python-six' 'python-unidecode' 'python-yaml') optdepends=('bash-completion: Bash completion' 'gst-plugins-bad: Chromaprint/Acoustid, BPD, ReplayGain plugins' 'gst-plugins-good: Chromaprint/Acoustid, BPD, ReplayGain plugins' @@ -19,31 +18,29 @@ 'gst-libav: Chromaprint/Acoustid, BPD, ReplayGain plugins' 'gst-python: Chromaprint/Acoustid, BPD, ReplayGain plugins' 'imagemagick: Thumbnails plugin' - 'python2-beautifulsoup4: Lyrics plugin' - 'python2-flask: Web plugin' - 'python2-gobject: ReplayGain plugin' - 'python2-mpd: MPDStats plugin' - 'python2-pathlib: Thumbnails plugin' - 'python2-pyacoustid: Chromaprint/Acoustid plugin' - 'python2-pylast: LastGenre plugin' - 'python2-requests: Chromaprint/Acoustid, BPD, FetchArt plugins' - 'python2-xdg: Thumbnails plugin') -_commit='44f33cabc7e2c5ea6fd79fac3b73ac54fa11d568' + 'python-beautifulsoup4: Lyrics plugin' + 'python-flask: Web plugin' + 'python-gobject: ReplayGain plugin' + 'python-mpd: MPDStats plugin' + 'python-pyacoustid: Chromaprint/Acoustid plugin' + 'python-pylast: LastGenre plugin' + 'python-requests: Chromaprint/Acoustid, BPD, FetchArt plugins' + 'python-xdg: Thumbnails plugin') source=("https://github.com/sampsyo/beets/releases/download/v${pkgver}/beets-${pkgver}.tar.gz" 'beet') -sha256sums=('b54c72e220d7696740823d0a4e4f38d57d1e463daaf06da5194a358d3a14ca6a' +sha256sums=('b93fbe11998a29cd432b0a88741b9ced0e5ac50e80362d41e13e867d851ae464' 'b081285b202f82d09802ebca73d28bbf1902179ad3a820e4c0157f80bf959d89') build() { cd beets-${pkgver} - python2 setup.py build + python setup.py build } package() { cd beets-${pkgver} - python2 setup.py install --root="${pkgdir}" --optimize='1' + python setup.py install --root="${pkgdir}" --optimize='1' install -dm 755 "${pkgdir}"/usr/share/bash-completion/completions/ install -m 644 ../beet "${pkgdir}"/usr/share/bash-completion/completions/ Added: python-jellyfish/trunk/PKGBUILD =================================================================== --- python-jellyfish/trunk/PKGBUILD (rev 0) +++ python-jellyfish/trunk/PKGBUILD 2017-01-10 17:17:53 UTC (rev 206607) @@ -0,0 +1,58 @@ +# $Id$ +# Maintainer: Maxime Gauduin <[email protected]> +# Maintainer: Jelle van der Waa <[email protected]> + +pkgbase=python-jellyfish +pkgname=('python-jellyfish' 'python2-jellyfish') +pkgver=0.5.6 +pkgrel=1 +pkgdesc='A python library for doing approximate and phonetic matching of strings' +arch=('i686' 'x86_64') +url='https://github.com/jamesturk/jellyfish' +license=('BSD') +depends=('glibc') +makedepends=('git' 'python-setuptools' 'python2-setuptools') +_commit='a319d6ae04134f3c2bcd383012afab5645fba503' +source=("python-jellyfish-${pkgver}.tar.gz::https://github.com/jamesturk/jellyfish/archive/${pkgver}.tar.gz" + "git+https://github.com/jamesturk/cjellyfish.git#commit=${_commit}") +sha256sums=('2e31dddf863a360966fd997ebd60c692ad56cbdbb0a352956c0aeae6af1b07b5' + 'SKIP') + +prepare() { + pushd jellyfish-${pkgver} + rm -rf cjellyfish + ln -s ../cjellyfish . + popd + + mv {,python-}jellyfish-${pkgver} + cp -r python{,2}-jellyfish-${pkgver} +} + +build() { + for py in python{,2}; do + pushd ${py}-jellyfish-${pkgver} + ${py} setup.py build + popd + done +} + +package_python-jellyfish() { + depends+=('python') + + cd python-jellyfish-${pkgver} + + python setup.py install --root="${pkgdir}" --optimize='1' + + install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-jellyfish/ +} + +package_python2-jellyfish() { + depends+=('python2') + + cd python2-jellyfish-${pkgver} + + python2 setup.py install --root="${pkgdir}" --optimize='1' + + install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python2-jellyfish/ +} +# vim: ts=2 sw=2 et: Property changes on: python-jellyfish/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Added: python-munkres/trunk/PKGBUILD =================================================================== --- python-munkres/trunk/PKGBUILD (rev 0) +++ python-munkres/trunk/PKGBUILD 2017-01-10 17:17:53 UTC (rev 206607) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Maxime Gauduin <[email protected]> +# Contributor: Adrian Sampson <[email protected]> + +pkgbase=python-munkres +pkgname=('python-munkres' 'python2-munkres') +pkgver=1.0.9 +pkgrel=1 +pkgdesc='Munkres algorithm for Python' +arch=('any') +url='https://github.com/bmc/munkres' +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools') +source=("python-munkres-${pkgver}.tar.gz::https://github.com/bmc/munkres/archive/release-${pkgver}.tar.gz") +sha256sums=('1dae30b882f409bab8d913af7bbf41877359b1ece3fa0ea31d6486a454f3493b') + +prepare() { + mv {,python-}munkres-release-${pkgver} + cp -r python{,2}-munkres-release-${pkgver} +} + +build() { + for py in python{,2}; do + pushd ${py}-munkres-release-${pkgver} + ${py} setup.py build + popd + done +} + +package_python-munkres() { + depends=('python') + + cd python-munkres-release-${pkgver} + + python setup.py install --root="${pkgdir}" --optimize='1' +} + +package_python2-munkres() { + depends=('python2') + + cd python2-munkres-release-${pkgver} + + python2 setup.py install --root="${pkgdir}" --optimize='1' +} + +# vim: ts=2 sw=2 et: Property changes on: python-munkres/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Added: python-musicbrainzngs/trunk/PKGBUILD =================================================================== --- python-musicbrainzngs/trunk/PKGBUILD (rev 0) +++ python-musicbrainzngs/trunk/PKGBUILD 2017-01-10 17:17:53 UTC (rev 206607) @@ -0,0 +1,48 @@ +# $Id$ +# Maintainer: Maxime Gauduin <[email protected]> +# Contributor: Adrian Sampson <[email protected]> + +pkgbase=python-musicbrainzngs +pkgname=('python-musicbrainzngs' 'python2-musicbrainzngs') +pkgver=0.6 +pkgrel=2 +pkgdesc="Python bindings for Musicbrainz' NGS webservice" +arch=('any') +url="https://github.com/alastair/python-musicbrainzngs" +license=('BSD') +makedepends=('python-setuptools' 'python2-setuptools') +source=("python-musicbrainzngs-${pkgver}.tar.gz::https://github.com/alastair/python-musicbrainzngs/archive/v${pkgver}.tar.gz") +sha256sums=('ec447bcab906fe7c4dbd714a1dff1b00adcd20d0011968df1a740e6b1fb09cb5') + +prepare() { + cp -r python{,2}-musicbrainzngs-${pkgver} +} +build() { + for py in python{,2}; do + pushd ${py}-musicbrainzngs-${pkgver} + ${py} setup.py build + popd + done +} + +package_python-musicbrainzngs() { + depends=('python') + + cd python-musicbrainzngs-${pkgver} + + python setup.py install --root="${pkgdir}" --optimize='1' + + install -Dm 644 COPYING -t "${pkgdir}"/usr/share/licenses/python-musicbrainzngs/ +} + +package_python2-musicbrainzngs() { + depends=('python2') + + cd python2-musicbrainzngs-${pkgver} + + python2 setup.py install --root="${pkgdir}" --optimize='1' + + install -Dm 644 COPYING -t "${pkgdir}"/usr/share/licenses/python2-musicbrainzngs/ +} + +# vim: ts=2 sw=2 et: Property changes on: python-musicbrainzngs/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property
