ranger: fix ./xbps-src check

- Correct pytest dependencies
- Stop checking their code styles, it's not our business
This commit is contained in:
Doan Tran Cong Danh 2019-12-07 14:33:18 +07:00 committed by Piotr
parent a57d4db2fe
commit 8cce782d41

View file

@ -8,7 +8,7 @@ pycompile_module="ranger"
hostmakedepends="python3"
makedepends="python3-devel"
depends="python3"
checkdepends="python-pytest pylint flake8 ncurses-term"
checkdepends="python3-pytest flake8 ncurses-term"
short_desc="File manager with an ncurses frontend written in Python"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-only"
@ -17,5 +17,8 @@ distfiles="${homepage}/${pkgname}-${version}.tar.gz"
checksum=0e1d1b1d3f78c227a6cfa783822e98591ca76a35c643d4814f40f73515d66b8a
do_check() {
TERM=linux TERMINFO=/usr/share/terminfo make test
# test_pylint is failing,
# As a distro, we don't want to check their code style
TERM=linux TERMINFO=/usr/share/terminfo \
make test_flake8 test_doctest test_pytest test_other
}