[arch-commits] Commit in python-pylast/repos/community-any (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Thu Aug 9 12:03:20 UTC 2018
Date: Thursday, August 9, 2018 @ 12:03:20
Author: alucryd
Revision: 370625
archrelease: copy trunk to community-any
Added:
python-pylast/repos/community-any/PKGBUILD
(from rev 370624, python-pylast/trunk/PKGBUILD)
Deleted:
python-pylast/repos/community-any/PKGBUILD
----------+
PKGBUILD | 81 ++++++++++++++++++++++++-------------------------------------
1 file changed, 32 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-09 12:03:11 UTC (rev 370624)
+++ PKGBUILD 2018-08-09 12:03:20 UTC (rev 370625)
@@ -1,49 +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=2.3.0
-pkgrel=2
-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=('d82f57c7d1ecccfe6ab8137cae7bee7bb591b4d9f829704eea2a11271e200a94')
-
-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:
Copied: python-pylast/repos/community-any/PKGBUILD (from rev 370624, python-pylast/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-09 12:03:20 UTC (rev 370625)
@@ -0,0 +1,32 @@
+# $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>
+
+pkgname=python-pylast
+pkgver=2.4.0
+pkgrel=1
+pkgdesc='A Python interface to Last.fm and Libre.fm'
+arch=('any')
+url='https://github.com/pylast/pylast'
+license=('Apache')
+depends=('python-six')
+makedepends=('git' 'python-setuptools')
+source=("git+https://github.com/pylast/pylast.git#tag=${pkgver}")
+sha256sums=('SKIP')
+
+build() {
+ cd pylast
+
+ python setup.py build
+}
+
+package_python-pylast() {
+ cd pylast
+
+ python setup.py install --root="${pkgdir}" --optimize='1' --skip-build
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list