From 3cd9ca2e879309bce9363696881102dc088b2859 Mon Sep 17 00:00:00 2001 From: prspkt Date: Mon, 25 Mar 2019 23:19:21 +0200 Subject: testing/py-discogs-client: upgrade to python3 - add py3-oauthlib and py3-six depends --- testing/py3-discogs-client/APKBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 testing/py3-discogs-client/APKBUILD (limited to 'testing/py3-discogs-client/APKBUILD') diff --git a/testing/py3-discogs-client/APKBUILD b/testing/py3-discogs-client/APKBUILD new file mode 100644 index 0000000000..27d4a75cc4 --- /dev/null +++ b/testing/py3-discogs-client/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Carlo Landmeter +# Maintainer: +pkgname=py3-discogs-client +_pkgname=discogs-client +pkgver=2.2.2 +pkgrel=0 +pkgdesc="Official Python API client for Discogs" +url="https://github.com/discogs/discogs_client" +arch="noarch" +license="BSD-2-Clause" +provides="py-discogs-client" # for backwards compatibility +replaces="py-discogs-client=$pkgver-r$pkgrel" # for backwards compatibility +depends="python3 py3-requests py3-oauthlib py3-six" +makedepends="python3-dev py3-setuptools" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir"/$_pkgname-$pkgver + +build() { + cd "$builddir" + python3 setup.py build +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="cf08526f739216efa9ef628f28650c8074cd6ddb21e0ab5431a8c8864c1f2707f612b065baf6b2f907b7fa7cdf2cfe5905cbefddb02c6f8f1c7796b0631a2ba7 discogs-client-2.2.2.tar.gz" -- cgit v1.2.3