python-pytest: update to 3.5.1. (#13862)

This commit is contained in:
maxice8 2018-04-26 14:44:17 -03:00 committed by Alessio Sergi
parent a0a0060bbd
commit d9ac451215

View file

@ -1,7 +1,8 @@
# Template file for 'python-pytest'
pkgname=python-pytest
version=3.5.0
version=3.5.1
revision=1
noarch=yes
wrksrc="${pkgname/python-//}-${version}"
build_style=python-module
pycompile_module="_pytest"
@ -15,12 +16,9 @@ maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://docs.pytest.org/en/latest/"
distfiles="${PYPI_SITE}/p/pytest/pytest-${version}.tar.gz"
checksum=fae491d1874f199537fd5872b5e1f0e74a009b979df9d53d1553fd03da1703e1
alternatives="
python-pytest:pytest:/usr/bin/pytest2
python-pytest:py.test:/usr/bin/py.test2
"
noarch=yes
checksum=54713b26c97538db6ff0703a12b19aeaeb60b5e599de542e7fca0ec83b9038e8
alternatives="python-pytest:pytest:/usr/bin/pytest2
python-pytest:py.test:/usr/bin/py.test2"
do_check() {
python3 setup.py test
@ -33,15 +31,13 @@ post_install() {
python3-pytest_package() {
noarch=yes
pycompile_module="_pytest"
alternatives="
python-pytest:pytest:/usr/bin/pytest3
python-pytest:py.test:/usr/bin/py.test3
"
alternatives="python-pytest:pytest:/usr/bin/pytest3
python-pytest:py.test:/usr/bin/py.test3"
short_desc="${short_desc/Python2/Python3}"
depends="python3-hypothesis python3-more-itertools python3-pluggy python3-py"
pkg_install() {
vmove usr/bin/*3
vmove usr/lib/python3*
vmove "usr/bin/*3"
vmove "usr/lib/python3*"
vlicense LICENSE
}
}