blob: 6d1c29d468b03c92a9741d619475d7ef19b31216 (
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
|
# Maintainer: Matthew Geskey <vitrvvivs.architectus@gmail.com>
pkgname=python-yacker-git
pkgver=2019.1.r0.ge959885
pkgrel=2
pkgdesc="A YAML wrapper around Packer"
arch=('any')
url="https://gitlab.com/matilda.peak/yacker"
source=(
'git+https://gitlab.com/vitrvvivs/yacker.git'
'requirements.txt.patch'
)
md5sums=(
'SKIP'
'e99ac7a240eca1e3f2e70775417af49b'
)
depends=('packer' 'python' 'python-pyaml')
makedepends=('python-setuptools')
_name=yacker
pkgver() {
cd "$_name"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$srcdir/$_name"
git apply "$srcdir/requirements.txt.patch"
}
build() {
cd "$srcdir/$_name"
python setup.py build
}
package() {
cd "$srcdir/$_name"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
# vim:set ts=2 sw=2 et:
|