Date: Wednesday, August 26, 2015 @ 12:49:23 Author: alucryd Revision: 138784
archrelease: copy trunk to community-any Added: python-pylast/repos/community-any/PKGBUILD (from rev 138783, python-pylast/trunk/PKGBUILD) Deleted: python-pylast/repos/community-any/PKGBUILD ----------+ PKGBUILD | 99 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 50 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-08-26 10:49:08 UTC (rev 138783) +++ PKGBUILD 2015-08-26 10:49:23 UTC (rev 138784) @@ -1,49 +0,0 @@ -# $Id$ -# Maintainer: Maxime Gauduin <aluc...@archlinux.org> -# Contributor: Limao Luo <luolimao+...@gmail.com> -# Contributor: Wieland Hoffmann <the_mi...@web.de> -# Contributor: Amr Hassan <amr.has...@gmail.com> - -pkgbase=python-pylast -pkgname=('python-pylast' 'python2-pylast') -pkgver=1.2.1 -pkgrel=2 -pkgdesc='A Python interface to Last.fm and Libre.fm' -arch=('any') -url='https://github.com/pylast/pylast' -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools') -source=("http://pypi.python.org/packages/source/p/pylast/pylast-$pkgver.tar.gz") -sha256sums=('fd87ac3932ad6f137848fe36b4062ecf07cb043d93a6798e9acd00accccdea10') - -prepare() { - cp -r pylast-${pkgver} python2-pylast-${pkgver} -} - -build() { - cd pylast-${pkgver} - - python setup.py build - - cd ../python2-pylast-${pkgver} - - python2 setup.py build -} - -package_python-pylast() { - depends=('python-six') - - cd pylast-${pkgver} - - python setup.py install --root="${pkgdir}" --optimize='1' -} - -package_python2-pylast() { - depends=('python2-six') - - cd python2-pylast-${pkgver} - - python2 setup.py install --root="${pkgdir}" --optimize='1' -} - -# vim: ts=2 sw=2 et: Copied: python-pylast/repos/community-any/PKGBUILD (from rev 138783, python-pylast/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-08-26 10:49:23 UTC (rev 138784) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> +# Contributor: Steven Allen <ste...@stebalien.com> +# Contributor: Limao Luo <luolimao+...@gmail.com> +# Contributor: Wieland Hoffmann <the_mi...@web.de> +# Contributor: Amr Hassan <amr.has...@gmail.com> + +pkgbase=python-pylast +pkgname=('python-pylast' 'python2-pylast') +pkgver=1.3.0 +pkgrel=1 +pkgdesc='A Python interface to Last.fm and Libre.fm' +arch=('any') +url='https://github.com/pylast/pylast' +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools') +source=("http://pypi.python.org/packages/source/p/pylast/pylast-${pkgver}.tar.gz") +sha256sums=('691560ca7b9c39cbaa847b18df3306bd232bf15559f0a82cbf94b70923b74699') + +prepare() { + cp -r pylast-${pkgver} python2-pylast-${pkgver} +} + +build() { + cd pylast-${pkgver} + + python setup.py build + + cd ../python2-pylast-${pkgver} + + python2 setup.py build +} + +package_python-pylast() { + depends=('python-six') + + cd pylast-${pkgver} + + python setup.py install --root="${pkgdir}" --optimize='1' +} + +package_python2-pylast() { + depends=('python2-six') + + cd python2-pylast-${pkgver} + + python2 setup.py install --root="${pkgdir}" --optimize='1' +} + +# vim: ts=2 sw=2 et: