upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / piep / trunk / PKGBUILD
blobd70f87eff7ed6b838da59093cda383e652467f23
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=piep
4 pkgdesc='Bringing the power of python to stream editing'
5 pkgver=0.9.2
6 pkgrel=6
7 arch=("any")
8 url="https://github.com/gfxmonk/piep"
9 license=("GPL")
10 depends=('python-pygments')
11 makedepends=('python-setuptools')
12 checkdepends=('python-nose')
13 source=("https://github.com/gfxmonk/$pkgname/archive/version-$pkgver.tar.gz"
14          piep-python3.8.patch)
15 sha512sums=('9d36c31a90fbdc43ff1c7f66a6496290305c5402d7020d2e559b84b9eb796e7945f12c38d5d4167a3518d2664128403e34102445bf60475d21122de73983a5f9'
16             '3193b38ed2249c16758388d306aa9a8d1adcf345e12fb1c6edbe11b9d2279a8340a65040c373a425f80288a54e92750545c7ba708ada02cc44bd799c1333fcb6')
18 prepare() {
19   cd $pkgname-version-$pkgver
20   patch -p1 -i ../piep-python3.8.patch
23 build() {
24   cd $pkgname-version-$pkgver
25   python setup.py build
28 check() {
29   cd $pkgname-version-$pkgver
30   python setup.py nosetests
33 package() {
34   cd $pkgname-version-$pkgver
35   python setup.py install --root="$pkgdir" --optimize=1
38 # vim:set ts=2 sw=2 et: