[arch-commits] Commit in python-pylast/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Tue Jan 7 13:19:43 UTC 2020
Date: Tuesday, January 7, 2020 @ 13:19:42
Author: alucryd
Revision: 549846
upgpkg: python-pylast 3.2.0-1
Modified:
python-pylast/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-07 13:15:18 UTC (rev 549845)
+++ PKGBUILD 2020-01-07 13:19:42 UTC (rev 549846)
@@ -5,8 +5,8 @@
# Contributor: Amr Hassan <amr.hassan at gmail.com>
pkgname=python-pylast
-pkgver=3.1.0
-pkgrel=2
+pkgver=3.2.0
+pkgrel=1
pkgdesc='A Python interface to Last.fm and Libre.fm'
arch=(any)
url='https://github.com/pylast/pylast'
@@ -16,9 +16,15 @@
git
python-setuptools
)
-source=(git+https://github.com/pylast/pylast.git#tag=${pkgver})
-sha256sums=('SKIP')
+source=(git+https://github.com/pylast/pylast.git#tag=662e3bbdddf7416cf7814845095d22a6c9b13128)
+sha256sums=(SKIP)
+pkgver() {
+ cd pylast
+
+ git describe --tags
+}
+
build() {
cd pylast
@@ -28,7 +34,7 @@
package() {
cd pylast
- python setup.py install --root="${pkgdir}" --optimize='1' --skip-build
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list