blob: ead88333908ad356a2a86dfd1d04b7eb0ca556e4 (
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
|
# Contributor: Jonatan R. Fischer <jonafischer at gmail dot com>
pkgname=python-junitparser
_name=${pkgname#python-}
pkgver=3.2.0
pkgrel=1
pkgdesc="junitparser handles JUnit/xUnit Result XML files. Use it to parse and manipulate existing Result XML files, or create new JUnit/xUnit result XMLs from scratch."
arch=('any')
url="https://github.com/weiwei/junitparser"
license=('Apache 2.0')
depends=('python')
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools' 'python-setuptools-scm'
'python-pytest' 'python-anyio' 'python-pytest-curio')
source=("${_name}-$pkgver.tar.gz::https://github.com/weiwei/junitparser/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('25771690d2d450a2426a78b58fd9719b5098bd44f05eb5aedf9a4731bb63157f')
build() {
cd $_name-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd $_name-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
}
check() {
cd $_name-$pkgver
python -m pytest
}
|