summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5bf4606d01f5b2eeb8960d996c503f0aab37c990 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Filipe LaĆ­ns (FFY00) <filipe.lains@gmail.com>
pkgname=python-asynctest
_pkgname=${pkgname#python-}
pkgver=0.12.2
pkgrel=1
pkgdesc="Enhance the standard unittest package with features for testing asyncio libraries."
arch=('any')
url="https://github.com/Martiusweb/asynctest"
license=('Apache')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('5506e9462d627dc533a407168fe82183623993a4e0336e5805caba75920eb579')

build() {
  cd "$srcdir"/$_pkgname-$pkgver
  python setup.py build
}

package() {
  cd "$srcdir"/$_pkgname-$pkgver
  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}