blob: 0a763d7208ec4f76468ea9b2c620a9c32881b848 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: Adam Mckaig <adam.mckaig@gmail.com>
# Maintainer: Eric Anderson <ejona86@gmail.com>
# vim: ts=4 sts=4 et sw=4
pkgname=figleaf
pkgver=0.6.1
pkgrel=2
pkgdesc='Python code coverage analysis tool. A minimal replacement for coverage.py'
arch=('any')
url="http://pypi.python.org/pypi/figleaf/$pkgver"
license=('BSD')
depends=('python2')
makedepends=('python2-setuptools')
source=("https://web.archive.org/web/20150803033715_/http://darcs.idyll.org/~t/projects/figleaf-$pkgver.tar.gz")
sha256sums=('04d22485db08f9f60c7de92407753423fa0f574c00211e409e8b0f9482f2f062')
prepare() {
cd "$srcdir/figleaf-$pkgver"
sed -i -e "s|^#\!.*/usr/bin/env python|#!/usr/bin/env python2|" \
figleaf/annotate_sections.py
}
build() {
cd "$srcdir/figleaf-$pkgver"
python2 setup.py build
}
package() {
cd "$srcdir/figleaf-$pkgver"
python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
|