blob: cbb859e89483939d920ad8873040b64b6edd6625 (
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
|
# Maintainer: Modelmat <modelmat@outlook.com.au>
pkgname=frc-characterization-git
pkgver=2020.229
pkgrel=1
pkgdesc="Tools to help FRC teams measure the physical parameters of their robot"
arch=("x86_64")
url="https://github.com/wpilibsuite/frc-characterization"
license=("Apache")
provides=("frc-characterization")
depends=("python-matplotlib"
"python-statsmodels"
"python-frccontrol-git"
"python-pynetworktables"
"python-argcomplete"
"python-mako"
"python-console-menu-git"
"tk")
source=("$pkgname"::"git://github.com/wpilibsuite/frc-characterization")
md5sums=("SKIP")
pkgver() {
cd "$srcdir/$pkgname"
year=$(date +%Y)
echo $year.$(git rev-list --count --after="master@{$(($year - 1))-01-01}" master)
}
build() {
cd "$srcdir/$pkgname"
python setup.py build
}
package() {
cd "$srcdir/$pkgname"
python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build
}
|