void-packages/srcpkgs/ranger/template
2020-01-02 11:04:21 +01:00

24 lines
757 B
Bash

# Template file for 'ranger'
pkgname=ranger
version=1.9.3
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="Nathan Owens <ndowens04@gmail.com>"
license="GPL-3.0-only"
homepage="https://ranger.github.io"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
checksum=ce088a04c91c25263a9675dc5c43514b7ec1b38c8ea43d9a9d00923ff6cdd251
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
}