aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-junit-xml
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-06-20 13:01:32 +0300
committerprspkt <prspkt@protonmail.com>2019-06-20 13:01:32 +0300
commit3c4eacd6f6943e3cbef58cef57119e10d3f89369 (patch)
tree65a3500b37d3dcdd9852068195dc1c96b29d0e33 /testing/py3-junit-xml
parentc7441365d1389540baaec5047ef131208cbf0fc7 (diff)
downloadaports-3c4eacd6f6943e3cbef58cef57119e10d3f89369.tar.bz2
aports-3c4eacd6f6943e3cbef58cef57119e10d3f89369.tar.xz
testing/py3-junit-xml: modernize
* Add proper runtime and checkdepends.
Diffstat (limited to 'testing/py3-junit-xml')
-rw-r--r--testing/py3-junit-xml/APKBUILD18
1 files changed, 5 insertions, 13 deletions
diff --git a/testing/py3-junit-xml/APKBUILD b/testing/py3-junit-xml/APKBUILD
index 91e0bc2065..200e69b1d4 100644
--- a/testing/py3-junit-xml/APKBUILD
+++ b/testing/py3-junit-xml/APKBUILD
@@ -2,35 +2,27 @@
pkgname=py3-junit-xml
_pkgname=junit-xml
pkgver=1.8
-pkgrel=2
+pkgrel=3
pkgdesc="Creates JUnit XML test result documents that can be read by tools such as Jenkins"
url="https://pypi.python.org/pypi/junit-xml"
arch="noarch"
license="MIT"
-depends="python3"
+depends="py3-six"
makedepends="py3-setuptools"
-checkdepends="py3-six"
+checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
-prepare() {
- default_prepare
-}
-
build() {
- cd "$builddir"
python3 setup.py build
}
check() {
- cd "$builddir"
- python3 setup.py test
+ py.test-3
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="8fcef94ea73a77ad597bb3280578f0fea86573b779eb4aea1e458e55f1866637a7b43aa04502a65ecb1f2a7403cc61a76ccd35feb4b69eeb6fdc8352914d61a4 junit-xml-1.8.tar.gz
-af01b010c4272ebb3fedcbefe5d19c842976765575d35c3649ffb1dfa2313ea9638c6eef2e489651f164e1398b5f12954f15516ac339ef99a49a5d32120f5c4a disable_failing_test.patch"
+sha512sums="8fcef94ea73a77ad597bb3280578f0fea86573b779eb4aea1e458e55f1866637a7b43aa04502a65ecb1f2a7403cc61a76ccd35feb4b69eeb6fdc8352914d61a4 junit-xml-1.8.tar.gz"