[arch-commits] Commit in python-pylast/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Sep 20 05:47:46 UTC 2015


    Date: Sunday, September 20, 2015 @ 07:47:45
  Author: foutrelis
Revision: 141176

archrelease: copy trunk to community-staging-any

Added:
  python-pylast/repos/community-staging-any/
  python-pylast/repos/community-staging-any/PKGBUILD
    (from rev 141175, python-pylast/trunk/PKGBUILD)

----------+
 PKGBUILD |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

Copied: python-pylast/repos/community-staging-any/PKGBUILD (from rev 141175, python-pylast/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-09-20 05:47:45 UTC (rev 141176)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Steven Allen <steven at stebalien.com>
+# Contributor: Limao Luo <luolimao+AUR at gmail.com>
+# Contributor: Wieland Hoffmann <the_mineo at web.de>
+# Contributor: Amr Hassan <amr.hassan at 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:



More information about the arch-commits mailing list