blob: 5cfe1b46eeb6cc4f04c7bb785c3d3a65f5623653 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Maintainer: Chris Kitching <chriskitching@linux.com>
pkgname=python2-lnt-git
pkgver=r1796.1384b08
pkgrel=1
pkgdesc="LLVM nightly test infrastructure"
arch=('x86_64')
depends=(
python2
python2-pip
python2-setuptools
python2-six
python2-flask
python2-flask-restful
python2-jinja
python2-markupsafe
python2-sqlalchemy
python2-werkzeug
python2-argparse
python2-itsdangerous
python2-dateutil
python2-gnupg
python2-pytz
python2-wsgiref
python2-wtforms
python2-flask-wtf
python2-typing
python2-click
python2-yaml
python2-requests
python2-llvm-lit
sqlite
sqlite-tcl
tk
)
source=(
'git+https://github.com/llvm-mirror/lnt.git'
'requirements.patch'
)
md5sums=(
'SKIP'
'2426050291a6748ffece9c7ef3a5a9ee'
)
pkgver() {
cd "lnt"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "lnt"
patch -p1 < $srcdir/requirements.patch
}
build() {
cd "lnt"
python2 setup.py build
}
package() {
cd "lnt"
python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
|