diff options
author | postblue | 2017-01-28 01:02:16 +0100 |
---|---|---|
committer | postblue | 2017-01-28 01:02:16 +0100 |
commit | 7748b1a90874d65f908198516dc24f34d7a725b2 (patch) | |
tree | 028425acacb270c963ba1bbc6d832e603083f627 | |
parent | 4a8a3a828a50ef78e82279adb3364307a79afda3 (diff) | |
download | aur-7748b1a90874d65f908198516dc24f34d7a725b2.tar.gz |
Updating thanks to Toost_Inc's patch
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 21 insertions, 12 deletions
@@ -1,18 +1,20 @@ # Generated by mksrcinfo v8 -# Wed Jan 11 17:37:23 UTC 2017 +# Sat Jan 28 00:02:09 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 + pkgver = 2.2.1 + pkgrel = 1 url = https://github.com/discogs/discogs_client arch = any - license = custom:Discogs + license = BSD 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 + source = discogs-client-2.2.1.tar.gz::https://pypi.python.org/packages/1f/1f/62a8cee111ff72c5ad379039adef8c872813602ffd516ba35368726f14c2/discogs-client-2.2.1.tar.gz + source = LICENSE::https://github.com/discogs/discogs_client/raw/master/LICENSE + md5sums = c82be8006e1c02fcfc2bb42a2e312151 + md5sums = c1e6695335325feb11337315fb930f21 pkgname = python-discogs-client @@ -1,22 +1,29 @@ # Maintainer: Guillaume Hayot <ghayot@postblue.info> # Contributor: Arvedui <arvedui@posteo.de> # Contributor: Marc Plano-Lesay <marc.planolesay@gmail.com> +# Contributor: Joost Bremmer <toost.b@gmail.com> pkgname=python-discogs-client -pkgver=2.2.0 -pkgrel=2 +pkgver=2.2.1 +pkgrel=1 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') +# pypi doesn't ship a license so we have to get it from gh +source=(discogs-client-$pkgver.tar.gz::https://pypi.python.org/packages/1f/1f/62a8cee111ff72c5ad379039adef8c872813602ffd516ba35368726f14c2/${pkgname#python-}-${pkgver}.tar.gz + LICENSE::https://github.com/discogs/discogs_client/raw/master/LICENSE) +md5sums=('c82be8006e1c02fcfc2bb42a2e312151' + 'c1e6695335325feb11337315fb930f21') url="https://github.com/discogs/discogs_client" -license=("custom:Discogs") +license=("BSD") package() { - cd $srcdir/discogs_client-$pkgver + cd $srcdir/${pkgname#python-}-$pkgver python setup.py install --root=$pkgdir --optimize=1 + cd $srcdir install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } + +# vim: set ts=2 sw=2 et: |