blob: cf2395e8d56d5aff726e2081fe54949904df9330 (
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
|
# Maintainer: AkechiShiro <akechishiro-aur at lahfa dot xyz>
_pyname=openstep-parser
pkgname=python-${_pyname}-git
pkgver=1.5.3.r16.ga62840b
pkgrel=1
pkgdesc='OpenStep plist parser and writer written in Cython'
arch=(x86_64)
url="https://github.com/kronenthaler/$_pyname"
license=(BSD)
depends=(python)
conflicts=(python-openstep-plist python-openstep-parser)
provides=(python-openstep-parser)
makedepends=(cython
git
python-setuptools-scm)
checkdepends=(python-pytest)
source=("git+https://github.com/kronenthaler/$_pyname")
sha256sums=(SKIP)
pkgver() {
cd "$_pyname"
git describe --long --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$_pyname"
python setup.py build
}
check() {
cd "$_pyname"
python setup.py test
}
package() {
cd "$_pyname"
python setup.py install --root="$pkgdir" --optimize=1
}
|