blob: 9aa2614599894a18a8aa8f43a5bdb202b4a5b712 (
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: Aleksy Grabowski <hurufu@gmail.com>
pkgname=python-timebudget-git
pkgver=0.7.r2.ge58b712
pkgrel=3
pkgdesc='A stupidly-simple tool to see where your time is going in Python programs'
arch=(any)
url='https://github.com/leopd/timebudget'
license=('Apache')
depends=(
python
licenses
)
makedepends=(
git
python-pip
)
provides=(
python-timebudget
)
conflicts=(
python-timebudget
)
source=('git+https://github.com/leopd/timebudget.git')
md5sums=('SKIP')
pkgver() {
git -C "$srcdir/timebudget" describe | awk -F - '{ print substr($1,2)".r"$2"."$3 }'
}
build() {
cd "${srcdir}/timebudget"
python setup.py build
}
package() {
cd "${srcdir}/timebudget"
python setup.py install -O1 --root="$pkgdir" --skip-build
}
|