Browse Source

Add 'python-aiofile' Arch Linux PKGBUILD

master
Pekka Helenius 3 years ago
parent
commit
33c657629b
1 changed files with 24 additions and 0 deletions
  1. +24
    -0
      arch_linux/python-aiofile/PKGBUILD

+ 24
- 0
arch_linux/python-aiofile/PKGBUILD View File

@ -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/"
}

Loading…
Cancel
Save