1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
4 pkgdesc='Bringing the power of python to stream editing'
8 url="https://github.com/gfxmonk/piep"
10 depends=('python-pygments')
11 makedepends=('python-setuptools')
12 checkdepends=('python-nose')
13 source=("https://github.com/gfxmonk/$pkgname/archive/version-$pkgver.tar.gz"
15 sha512sums=('9d36c31a90fbdc43ff1c7f66a6496290305c5402d7020d2e559b84b9eb796e7945f12c38d5d4167a3518d2664128403e34102445bf60475d21122de73983a5f9'
16 '3193b38ed2249c16758388d306aa9a8d1adcf345e12fb1c6edbe11b9d2279a8340a65040c373a425f80288a54e92750545c7ba708ada02cc44bd799c1333fcb6')
19 cd $pkgname-version-$pkgver
20 patch -p1 -i ../piep-python3.8.patch
24 cd $pkgname-version-$pkgver
29 cd $pkgname-version-$pkgver
30 python setup.py nosetests
34 cd $pkgname-version-$pkgver
35 python setup.py install --root="$pkgdir" --optimize=1
38 # vim:set ts=2 sw=2 et: