29 lines
960 B
Plaintext

# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=py3-discogs-client
_pkgname=discogs-client
pkgver=2.2.2
pkgrel=1
pkgdesc="Official Python API client for Discogs"
url="https://github.com/discogs/discogs_client"
arch="noarch"
license="BSD-2-Clause"
provides="py-discogs-client" # for backwards compatibility
replaces="py-discogs-client=$pkgver-r$pkgrel" # for backwards compatibility
depends="python3 py3-requests py3-oauthlib py3-six"
makedepends="python3-dev py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
cd "$builddir"
python3 setup.py build
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="cf08526f739216efa9ef628f28650c8074cd6ddb21e0ab5431a8c8864c1f2707f612b065baf6b2f907b7fa7cdf2cfe5905cbefddb02c6f8f1c7796b0631a2ba7 discogs-client-2.2.2.tar.gz"