summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpostblue2017-01-11 18:38:44 +0100
committerpostblue2017-01-11 18:38:44 +0100
commit4a8a3a828a50ef78e82279adb3364307a79afda3 (patch)
treef8bc07342ed8935f47e342807cb8a75e5150da62
downloadaur-4a8a3a828a50ef78e82279adb3364307a79afda3.tar.gz
Initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD22
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1c71ebcc4fb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Wed Jan 11 17:37:23 UTC 2017
+pkgbase = python-discogs-client
+ pkgdesc = This is the official Discogs API client for Python. You can use it to query the Discogs music database for metadata on artists, releases, and more.
+ pkgver = 2.2.0
+ pkgrel = 2
+ url = https://github.com/discogs/discogs_client
+ arch = any
+ license = custom:Discogs
+ makedepends = python-setuptools
+ depends = python
+ depends = python-requests
+ depends = python-oauthlib
+ source = discogs-client-2.2.0.tar.gz::https://github.com/discogs/discogs_client/archive/v2.2.0.tar.gz
+ md5sums = a30f35e514249a6eeadddd9c89bf9db9
+
+pkgname = python-discogs-client
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..cede342b3a4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Guillaume Hayot <ghayot@postblue.info>
+# Contributor: Arvedui <arvedui@posteo.de>
+# Contributor: Marc Plano-Lesay <marc.planolesay@gmail.com>
+
+pkgname=python-discogs-client
+pkgver=2.2.0
+pkgrel=2
+pkgdesc="This is the official Discogs API client for Python. You can use it to query the Discogs music database for metadata on artists, releases, and more."
+depends=('python' "python-requests" "python-oauthlib")
+makedepends=('python-setuptools')
+arch=('any')
+source=(discogs-client-$pkgver.tar.gz::https://github.com/discogs/discogs_client/archive/v$pkgver.tar.gz)
+md5sums=('a30f35e514249a6eeadddd9c89bf9db9')
+url="https://github.com/discogs/discogs_client"
+license=("custom:Discogs")
+
+package() {
+ cd $srcdir/discogs_client-$pkgver
+ python setup.py install --root=$pkgdir --optimize=1
+
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}