[arch-commits] Commit in python-discogs-client (3 files)

Maxime Gauduin alucryd at archlinux.org
Wed Jan 13 14:21:36 UTC 2021


    Date: Wednesday, January 13, 2021 @ 14:21:36
  Author: alucryd
Revision: 820464

archrelease: copy trunk to community-any

Added:
  python-discogs-client/repos/
  python-discogs-client/repos/community-any/
  python-discogs-client/repos/community-any/PKGBUILD
    (from rev 820463, python-discogs-client/trunk/PKGBUILD)

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

Copied: python-discogs-client/repos/community-any/PKGBUILD (from rev 820463, python-discogs-client/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2021-01-13 14:21:36 UTC (rev 820464)
@@ -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