Date: Friday, May 27, 2016 @ 13:37:55 Author: alucryd Revision: 177278
archrelease: copy trunk to community-any Added: python-pylast/repos/community-any/PKGBUILD (from rev 177277, python-pylast/trunk/PKGBUILD) Deleted: python-pylast/repos/community-any/PKGBUILD ----------+ PKGBUILD | 100 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-05-27 11:37:46 UTC (rev 177277) +++ PKGBUILD 2016-05-27 11:37:55 UTC (rev 177278) @@ -1,50 +0,0 @@ -# $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.4.2 -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=('e4bd8f9c8eef5662b2b03d61846c4c13b56a7b1c169476fe96c1a0e58d66da3b') - -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 177277, python-pylast/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-05-27 11:37:55 UTC (rev 177278) @@ -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.6.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=("python-pylast-${pkgver}.tar.gz::https://github.com/pylast/pylast/archive/${pkgver}.tar.gz") +sha256sums=('14e611d231b25a9b2bd1b59baf6fb248834a6377c8dc3162ecf0cb57206d1321') + +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: