python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / python-discogs_client / template
blobc22fc31c343dc3f1a69909bd775432561fb66185
1 # Template file for 'python-discogs_client'
2 pkgname=python-discogs_client
3 version=2.2.0
4 revision=3
5 noarch=yes
6 wrksrc="${pkgname#*-}-${version}"
7 build_style=python-module
8 hostmakedepends="python-setuptools python3-setuptools"
9 depends="python-requests python-six python-oauthlib"
10 pycompile_module="discogs_client"
11 short_desc="Official Discogs API client for Python2"
12 maintainer="Georg Schabel <gescha@posteo.de>"
13 homepage="https://github.com/discogs/discogs_client"
14 license="2-clause-BSD"
15 distfiles="${homepage}/archive/v${version}.tar.gz"
16 checksum=b31e3fd8f17f46b9c7221182ed6be96774a334ac8be4e434ee99943d27170945
18 post_install() {
19         vlicense LICENSE
22 python3-discogs_client_package() {
23         noarch=yes
24         depends="python3-requests python3-six python3-oauthlib"
25         pycompile_module="discogs_client"
26         short_desc="${short_desc/Python2/Python3}"
27         pkg_install() {
28                 vmove usr/lib/python3*
29                 vlicense LICENSE
30         }