[arch-commits] Commit in python-pylast/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 17:02:01 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:02:01
  Author: felixonmars
Revision: 752189

archrelease: copy trunk to community-staging-any

Added:
  python-pylast/repos/community-staging-any/
  python-pylast/repos/community-staging-any/PKGBUILD
    (from rev 752188, python-pylast/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: python-pylast/repos/community-staging-any/PKGBUILD (from rev 752188, python-pylast/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 17:02:01 UTC (rev 752189)
@@ -0,0 +1,41 @@
+# 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=4.0.0
+pkgrel=2
+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
+)
+_tag=49e2831cf607f6f7247ba63f03b51a495695e3c6
+source=(git+https://github.com/pylast/pylast.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+  cd pylast
+
+  git describe --tags
+}
+
+build() {
+  cd pylast
+
+  python setup.py build
+}
+
+package() {
+  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