[arch-commits] Commit in python-pylast (3 files)
Maxime Gauduin
alucryd at archlinux.org
Tue Jun 16 12:34:32 UTC 2015
Date: Tuesday, June 16, 2015 @ 14:34:32
Author: alucryd
Revision: 135475
archrelease: copy trunk to community-any
Added:
python-pylast/repos/
python-pylast/repos/community-any/
python-pylast/repos/community-any/PKGBUILD
(from rev 135474, python-pylast/trunk/PKGBUILD)
----------+
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
Copied: python-pylast/repos/community-any/PKGBUILD (from rev 135474, python-pylast/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD (rev 0)
+++ repos/community-any/PKGBUILD 2015-06-16 12:34:32 UTC (rev 135475)
@@ -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:
More information about the arch-commits
mailing list