From 1251e2d8ddb98997636c916116a8a8063a22f266 Mon Sep 17 00:00:00 2001 From: Georg Schabel Date: Thu, 28 Jul 2016 14:17:33 +0200 Subject: [PATCH] New package: python-discogs_client-2.2.0 Closes: #4517 [via git-merge-pr] --- srcpkgs/python-discogs_client/template | 31 ++++++++++++++++++++++++++ srcpkgs/python3.4-discogs_client | 1 + 2 files changed, 32 insertions(+) create mode 100644 srcpkgs/python-discogs_client/template create mode 120000 srcpkgs/python3.4-discogs_client diff --git a/srcpkgs/python-discogs_client/template b/srcpkgs/python-discogs_client/template new file mode 100644 index 00000000000..ed7a1348b12 --- /dev/null +++ b/srcpkgs/python-discogs_client/template @@ -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 " +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 + } +} diff --git a/srcpkgs/python3.4-discogs_client b/srcpkgs/python3.4-discogs_client new file mode 120000 index 00000000000..9eafeefc622 --- /dev/null +++ b/srcpkgs/python3.4-discogs_client @@ -0,0 +1 @@ +python-discogs_client \ No newline at end of file