void-packages/srcpkgs/ranger/template
Doan Tran Cong Danh 8cce782d41 ranger: fix ./xbps-src check
- Correct pytest dependencies
- Stop checking their code styles, it's not our business
2019-12-07 19:41:15 +01:00

24 lines
754 B
Bash

# Template file for 'ranger'
pkgname=ranger
version=1.9.2
revision=1
archs=noarch
build_style=python3-module
pycompile_module="ranger"
hostmakedepends="python3"
makedepends="python3-devel"
depends="python3"
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"
homepage="https://ranger.github.io"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
checksum=0e1d1b1d3f78c227a6cfa783822e98591ca76a35c643d4814f40f73515d66b8a
do_check() {
# 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
}