New package: python-discogs_client-2.2.0
Closes: #4517 [via git-merge-pr]
This commit is contained in:
parent
a782be0af3
commit
1251e2d8dd
2 changed files with 32 additions and 0 deletions
31
srcpkgs/python-discogs_client/template
Normal file
31
srcpkgs/python-discogs_client/template
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Template file for 'python-discogs_client'
|
||||||
|
pkgname=python-discogs_client
|
||||||
|
version=2.2.0
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
|
build_style="python-module"
|
||||||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
depends="python-requests python-oauthlib"
|
||||||
|
pycompile_module="discogs_client"
|
||||||
|
short_desc="Official Discogs API client for Python2"
|
||||||
|
maintainer="Georg Schabel <gescha@posteo.de>"
|
||||||
|
homepage="https://github.com/discogs/discogs_client"
|
||||||
|
license="BSD-2"
|
||||||
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||||
|
checksum=b31e3fd8f17f46b9c7221182ed6be96774a334ac8be4e434ee99943d27170945
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
python3-discogs_client_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3-requests python3-oauthlib"
|
||||||
|
pycompile_module="discogs_client"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3.4-discogs_client
Symbolic link
1
srcpkgs/python3.4-discogs_client
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-discogs_client
|
Loading…
Reference in a new issue