diff options
author | Vyacheslav Konovalov | 2020-11-19 12:51:20 +0500 |
---|---|---|
committer | Vyacheslav Konovalov | 2020-11-19 12:51:20 +0500 |
commit | 59c81eb99e6c62febd515519cab43f5bcc6cfd11 (patch) | |
tree | bf92894681a4f1d96ef37deccf2477799b6f0e6a /PKGBUILD | |
parent | 3c1ebf1e5b51c2821a5c2c7c0c59fcd12ac44226 (diff) | |
download | aur-59c81eb99e6c62febd515519cab43f5bcc6cfd11.tar.gz |
Fix python-dnspython version, change source to pypi.org
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -1,30 +1,30 @@ # Maintainer: Vyacheslav Konovalov <vyachkonovalov@protonmail.com> -_commit=13f6eab17231b99abe33ff37cd309545f01729a9 +_path=a9/59/07c16836f593a0993f725ab9230a2af43599935ad1151c45229fcfdc90f3 pkgname=deemix pkgver=1.5.20 -pkgrel=1 +pkgrel=2 pkgdesc='A barebone deezer downloader library' arch=(any) url='https://t.me/deemixcommunity' license=('GPL3') depends=('python>=3.6' 'python-click' 'python-pycryptodomex' 'python-mutagen' 'python-spotipy' - 'python-eventlet' 'python-dnspython<2.0.0') + 'python-eventlet' 'python-dnspython') makedepends=('python-setuptools') -source=("https://notabug.org/RemixDev/deemix/archive/$_commit.tar.gz") -sha256sums=('789fa6a825716d0daef294fa1f70d0f992ec9b13817d4e3e0b81d60a9cd2e47b') +source=("https://files.pythonhosted.org/packages/$_path/deemix-$pkgver.tar.gz") +sha256sums=('a6c9a330e62d37b78bf7411089a63facbafc19ac3c7fb5634c03896d5c3db6fd') pkgver() { - cd deemix + cd deemix-$pkgver sed -En 's/^__version__ = "([0-9\.]+)"$/\1/p' deemix/__init__.py | tr -d '\n' } build() { - cd deemix + cd deemix-$pkgver python setup.py build } package() { - cd deemix + cd deemix-$pkgver python setup.py install --root="$pkgdir" --optimize=1 } |