blob: 08f18fbe43577579d3c3d960c77c5408d8cbab28 (
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
41
42
|
# Contributor: Orson Teodoro <orsonteodoro@hotmail.com>
# Maintainer: Orson Teodoro <orsonteodoro@hotmail.com>
pkgname=py3-lit
pkgver=0.6.0_rc1
_pkgname=lit
_pkgver=0.6.0rc1
pkgrel=0
pkgdesc="lit is a tool for executing LLVM and Clang style test suites, summarizing their results, and providing indication of failures."
url="https://pypi.python.org/pypi/lit"
arch="noarch"
license="BSD-3-Clause NSCA"
makedepends="py3-setuptools"
options="check"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/"${pkgname#py3-}-$_pkgver
subpackages="$pkgname:_py3 $pkgname-doc"
build() {
cd "$builddir"
python3 setup.py build
}
check() {
cd "$builddir"
python3 setup.py check
}
package() {
install -d "$pkgdir"/usr/share/doc/$pkgname/
install -t "$pkgdir"/usr/share/doc/$pkgname/ "$builddir"/README.txt
}
_py3() {
local python="python3"
pkgdesc="$pkgdesc (for $python)"
depends="$depends $python" ## remove if arch isn't noarch
install_if="$pkgname=$pkgver-r$pkgrel $python"
cd "$builddir"
$python setup.py install --prefix=/usr --root="$subpkgdir"
}
sha512sums="c6572ed06bfb99796be49d305e31c4da87dd964cf7125aa7b37cf61ffce7bf68b0835771bafbfa9a98b067c3edfa1294e36bac6f4d96cb36aaa1aece04f8e069 py3-lit-0.6.0_rc1.tar.gz"
|