[arch-commits] Commit in (3 files)
Maxime Gauduin
alucryd at archlinux.org
Wed Jan 13 14:21:21 UTC 2021
Date: Wednesday, January 13, 2021 @ 14:21:21
Author: alucryd
Revision: 820463
add python-discogs-client for beets
Added:
python-discogs-client/
python-discogs-client/trunk/
python-discogs-client/trunk/PKGBUILD
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Added: python-discogs-client/trunk/PKGBUILD
===================================================================
--- python-discogs-client/trunk/PKGBUILD (rev 0)
+++ python-discogs-client/trunk/PKGBUILD 2021-01-13 14:21:21 UTC (rev 820463)
@@ -0,0 +1,43 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Guillaume Hayot <ghayot at postblue.info>
+# Contributor: Arvedui <arvedui at posteo.de>
+# Contributor: Marc Plano-Lesay <marc.planolesay at gmail.com>
+# Contributor: Joost Bremmer <toost.b at gmail.com>
+
+pkgname=python-discogs-client
+pkgver=2.3.0
+pkgrel=3
+pkgdesc='Official Python Client for the Discogs API'
+arch=(any)
+url=https://github.com/discogs/discogs_client
+license=(BSD)
+depends=(
+ python-six
+ python-requests
+ python-oauthlib
+)
+makedepends=(
+ git
+ python-setuptools
+)
+_tag=c159195a43ceb3def5a9be2acce43bbad71a2e32
+source=(git+https://github.com/discogs/discogs_client.git#tag=${_tag})
+b2sums=(SKIP)
+
+pkgver() {
+ cd discogs_client
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ cd discogs_client
+ python setup.py build
+}
+
+package() {
+ cd discogs_client
+ python setup.py install --root=$pkgdir --optimize=1 --skip-build
+ install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-discogs-client
+}
+
+# vim: set ts=2 sw=2 et:
More information about the arch-commits
mailing list