[arch-commits] Commit in (4 files)
Maxime Gauduin
alucryd at archlinux.org
Tue Jun 16 12:33:55 UTC 2015
Date: Tuesday, June 16, 2015 @ 14:33:54
Author: alucryd
Revision: 135474
Provide py2 and py3 versions of pylasty
Added:
python-pylast/
python-pylast/trunk/
python-pylast/trunk/PKGBUILD
Deleted:
python2-pylast/
----------+
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
Added: python-pylast/trunk/PKGBUILD
===================================================================
--- python-pylast/trunk/PKGBUILD (rev 0)
+++ python-pylast/trunk/PKGBUILD 2015-06-16 12:33:54 UTC (rev 135474)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# 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.2.1
+pkgrel=1
+pkgdesc='A Python interface to Last.fm and Libre.fm'
+arch=('any')
+url='https://github.com/pylast/pylast'
+license=('Apache')
+depends=('python2-six')
+makedepends=('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() {
+ cd pylast-${pkgver}
+
+ python setup.py install --root="${pkgdir}" --optimize='1'
+}
+
+package_python2-pylast() {
+ cd python2-pylast-${pkgver}
+
+ python2 setup.py install --root="${pkgdir}" --optimize='1'
+}
+
+# vim: ts=2 sw=2 et:
Property changes on: python-pylast/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list