mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-17 22:15:17 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
29 lines
824 B
Text
29 lines
824 B
Text
# Maintainer: Leonardo Arena <rnalrd@alpinelinx.org>
|
|
pkgname=py3-junit-xml
|
|
_pkgname=junit-xml
|
|
pkgver=1.8
|
|
pkgrel=7
|
|
pkgdesc="Creates JUnit XML test result documents that can be read by tools such as Jenkins"
|
|
options="!check" # 1 test fail
|
|
url="https://pypi.python.org/pypi/junit-xml"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="py3-six"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
py.test-3
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="8fcef94ea73a77ad597bb3280578f0fea86573b779eb4aea1e458e55f1866637a7b43aa04502a65ecb1f2a7403cc61a76ccd35feb4b69eeb6fdc8352914d61a4 junit-xml-1.8.tar.gz"
|