void-packages/srcpkgs/python3-discogs_client/template

22 lines
826 B
Bash

# Template file for 'python3-discogs_client'
pkgname=python3-discogs_client
version=2.2.2
revision=4
wrksrc="discogs-client-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-requests python3-six python3-oauthlib"
short_desc="Official Discogs API client for Python3"
maintainer="Georg Schabel <gescha@posteo.de>"
license="BSD-2-Clause"
homepage="https://github.com/discogs/discogs_client"
distfiles="${PYPI_SITE}/d/discogs-client/discogs-client-${version}.tar.gz
https://raw.githubusercontent.com/discogs/discogs_client/master/LICENSE"
checksum="aeae43fb9281e27c580d1bcd484e6c309f4f3a05af3908016ee3363786ef43d8
1af62aeddccb57134218ddbdc67d0473524ca736703d7cce01db59b2e07da542"
skip_extraction="LICENSE"
post_install() {
vlicense ${XBPS_SRCDISTDIR}/${pkgname}-${version}/LICENSE
}