[arch-commits] Commit in python-pylast/repos/community-any (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Sun Feb 26 11:58:18 UTC 2017
Date: Sunday, February 26, 2017 @ 11:58:17
Author: alucryd
Revision: 213853
archrelease: copy trunk to community-any
Added:
python-pylast/repos/community-any/PKGBUILD
(from rev 213852, python-pylast/trunk/PKGBUILD)
Deleted:
python-pylast/repos/community-any/PKGBUILD
----------+
PKGBUILD | 99 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-02-26 11:58:09 UTC (rev 213852)
+++ PKGBUILD 2017-02-26 11:58:17 UTC (rev 213853)
@@ -1,50 +0,0 @@
-# $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.7.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=('0b3c72dd734136532e1d78533718b6ae5e81681a1c62d5077f5f6a9fb8dc5a0e')
-
-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 213852, python-pylast/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-02-26 11:58:17 UTC (rev 213853)
@@ -0,0 +1,49 @@
+# $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.8.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=('a84c1c3acd62a072205e545ea2550ffbb7b702e073793bfcfbc9f86a14149e7e')
+
+prepare() {
+ cp -r {,python-}pylast-${pkgver}
+ mv {,python2-}pylast-${pkgver}
+}
+
+build() {
+ for py in python{,2}; do
+ pushd ${py}-pylast-${pkgver}
+ ${py} setup.py build
+ popd
+ done
+}
+
+package_python-pylast() {
+ depends=('python-six')
+
+ cd python-pylast-${pkgver}
+
+ python setup.py install --root="${pkgdir}" --optimize='1' --skip-build
+}
+
+package_python2-pylast() {
+ depends=('python2-six')
+
+ cd python2-pylast-${pkgver}
+
+ python2 setup.py install --root="${pkgdir}" --optimize='1' --skip-build
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list