summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 66bb8301f7f85bc879c65baa20f640e421bd4bfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Ivan Konovalov <ivknv0@gmail.com>

pkgname=python-yadisk
_name=${pkgname#python-}
_py=py3
pkgver=1.2.9
pkgrel=1
pkgdesc="Yandex.Disk REST API client library for Python"
arch=('any')
url="https://github.com/ivknv/yadisk"
license=('LGPL3')
depends=('python' 'python-requests')
makedepends=('python-pip' 'python-wheel')
source=("https://files.pythonhosted.org/packages/${_py}/${_name::1}/${_name}/${_name}-$pkgver-${_py}-none-any.whl")
sha256sums=("50c28031ce0053d6f22bedf7920457c9e01aa4ec9d0dec219be4c16e3e3a8985")

package() {
    PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps *.whl
}