upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-nose-cover3 / trunk / PKGBUILD
blob2958a8b19775c3d362804dcc4d152cf6ef0fe317
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-nose-cover3
4 pkgver=0.1.0
5 pkgrel=10
6 pkgdesc="Coverage 3.x support for Nose"
7 arch=(any)
8 url="https://github.com/ask/nosecover3"
9 license=('LGPL')
10 options=('!emptydirs')
11 depends=('python-nose' 'python-coverage')
12 makedepends=('python-setuptools' 'git')
13 source=("git+https://github.com/ask/nosecover3.git#tag=v$pkgver")
14 sha512sums=('SKIP')
16 prepare() {
17   cd nosecover3
18   sed -i 's/extra.update(use_2to3=True)/pass/' setup.py
21 build() {
22   cd nosecover3
23   2to3 -wn nosecover3
24   python setup.py build
27 package() {
28   cd nosecover3
29   python setup.py install --root="${pkgdir}" --optimize=1