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 <aluc...@archlinux.org> +# Contributor: Guillaume Hayot <gha...@postblue.info> +# Contributor: Arvedui <arve...@posteo.de> +# Contributor: Marc Plano-Lesay <marc.planole...@gmail.com> +# Contributor: Joost Bremmer <toos...@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: