blob: e537b5668d576c9cae095a96099eb2b120768569 (
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
|
# Maintainer: taotieren <admin@taotieren.com>
pkgname=python-xmldiff-git
pkgver=2.6.3.r15.gca0e024
pkgrel=7
pkgdesc='A library and command line utility for diffing xml'
url='https://github.com/Shoobx/xmldiff'
license=('MIT')
arch=(any)
depends=(
libxslt
jade
python
python-lxml
python-six)
makedepends=(git
python-setuptools)
provides=("${pkgname%-git}" xmldiff)
conflicts=("${pkgname%-git}" xmldiff)
source=("$pkgname::git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/^v//g;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$pkgname"
python setup.py build
}
# check() {
# cd "$pkgname"
# python setup.py test
# }
package() {
cd "$pkgname"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
|