1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/py3-discogs-client/APKBUILD
2023-01-21 04:00:06 +01:00

33 lines
1 KiB
Text

# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=py3-discogs-client
_pyname=python3-discogs-client
pkgver=2.6
pkgrel=0
pkgdesc="Joalla Python Discogs API Client"
url="https://github.com/joalla/discogs_client"
arch="noarch"
license="BSD-2-Clause"
depends="py3-oauthlib py3-requests python3 py3-dateutil"
makedepends="py3-dateutil py3-setuptools py3-yaml"
source="https://files.pythonhosted.org/packages/source/p/python3-discogs-client/python3-discogs-client-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
replaces="py-discogs-client" # for backwards compatibility
provides="py-discogs-client=$pkgver-r$pkgrel" # for backwards compatibility
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
2b2ed4a56337b184266832682f7fa4d8726cc414b89446b2a6e96131d82c01c60bd78ac3336bdf94a3077ea25a313fbd532ba574cad64ddc9ab0229d0d7e44b1 python3-discogs-client-2.6.tar.gz
"