blob: 563fbd1153bb11aff8cb55355ce7a23957b0dd8c (
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
32
33
34
35
36
37
38
39
40
|
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
# Contributor: Valery Kartel <valery.kartel@gmail.com>
pkgname=py-coverage
_pkgname=coverage
pkgver=4.1b2
pkgrel=0
pkgdesc="Code coverage measurement for Python"
url="https://pypi.python.org/pypi/coverage"
arch="all"
license="apache2"
depends=
depends_dev=
makedepends="python2-dev py-setuptools"
install=
subpackages="$pkgname-tools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
tools() {
pkgdesc="$pkgdesc (command line tools)"
depends="$pkgname"
arch="noarch"
mkdir -p "$subpkgdir"/usr
mv "$pkgdir"/usr/bin "$subpkgdir"/usr
}
md5sums="e68db75497aed61bc6c28990dbb4d99d coverage-4.1b2.tar.gz"
sha256sums="234f49523c94b0e588a9d2f0af55ec7a85a4c302e917f753eff2a444bc40d04d coverage-4.1b2.tar.gz"
sha512sums="c74a2190553bb12a24ea3e06bc4a50cea3c555e81fb149219a029069925fcd4481ff02c1774c92b9341d15c18b51e8c28713a2e7b50e565c0a07a7a5f6804f7e coverage-4.1b2.tar.gz"
|