diff options
author | Ivan Konovalov | 2019-07-06 20:57:48 +0500 |
---|---|---|
committer | Ivan Konovalov | 2019-07-06 20:57:48 +0500 |
commit | 317cb92c7c84d8f3c7148a8be6d154c941301a7c (patch) | |
tree | a0a4fe167fb569e0a9fec90aedd5d568a84cf329 | |
download | aur-317cb92c7c84d8f3c7148a8be6d154c941301a7c.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 7 | ||||
-rw-r--r-- | PKGBUILD | 19 |
3 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8bbabda460a6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python-yadisk-async + pkgdesc = Yandex.Disk REST API client library for Python with async/await support + pkgver = 1.3.0 + pkgrel = 1 + url = https://github.com/ivknv/yadisk-async + arch = any + license = LGPL3 + makedepends = python-pip + depends = python>=3.6.0 + depends = python-aiohttp + source = https://files.pythonhosted.org/packages/source/y/yadisk-async/yadisk-async-1.3.0.tar.gz + sha256sums = e2f0386556ffe3872dddc629dbe963b4d06a699f03eeee5adc5904f2bd5a7836 + +pkgname = python-yadisk-async + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..5f6c8003aee9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +.*.sw[a-z] +.sw[a-z] +*.py[co] +*.tar.xz +*.tar.gz +pkg/ +src/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e2a7a432bc1f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer: Ivan Konovalov <ivknv0@gmail.com> + +pkgname=python-yadisk-async +_name=${pkgname#python-} +_py=py3 +pkgver=1.3.0 +pkgrel=1 +pkgdesc="Yandex.Disk REST API client library for Python with async/await support" +arch=('any') +url="https://github.com/ivknv/yadisk-async" +license=('LGPL3') +depends=('python>=3.6.0' 'python-aiohttp') +makedepends=('python-pip') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-$pkgver.tar.gz") +sha256sums=("e2f0386556ffe3872dddc629dbe963b4d06a699f03eeee5adc5904f2bd5a7836") + +package() { + PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps *.tar.gz +} |