|
@ -0,0 +1,24 @@ |
|
|
|
|
|
# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com> |
|
|
|
|
|
|
|
|
|
|
|
pkgname=python-aiofile |
|
|
|
|
|
_pkgname=aiofile |
|
|
|
|
|
pkgver=0.5.3.r59.g6f0fea3 |
|
|
|
|
|
pkgrel=1 |
|
|
|
|
|
pkgdesc='Real asynchronous file operations with asyncio support' |
|
|
|
|
|
arch=('any') |
|
|
|
|
|
url='https://github.com/mosquito/aiofile' |
|
|
|
|
|
license=('Apache') |
|
|
|
|
|
depends=('python') |
|
|
|
|
|
makedepends=('git' 'python' 'cython') |
|
|
|
|
|
source=("$pkgname::git+https://github.com/mosquito/${_pkgname}.git") |
|
|
|
|
|
sha512sums=('SKIP') |
|
|
|
|
|
|
|
|
|
|
|
pkgver() { |
|
|
|
|
|
cd $pkgname |
|
|
|
|
|
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
package() { |
|
|
|
|
|
cd $pkgname |
|
|
|
|
|
python setup.py install --root="$pkgdir/" |
|
|
|
|
|
} |