ranger: rebuild for Python 3.12

This commit is contained in:
Andrew J. Hesford 2023-09-23 21:02:56 -04:00
parent ff098cc3e3
commit 2ce88ac4f9

View file

@ -1,23 +1,16 @@
# Template file for 'ranger'
pkgname=ranger
version=1.9.3
revision=4
revision=5
build_style=python3-module
pycompile_module="ranger"
hostmakedepends="python3"
hostmakedepends="python3 python3-setuptools"
makedepends="python3-devel"
depends="python3"
checkdepends="python3-pytest flake8 ncurses-term"
checkdepends="python3-pytest"
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=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
}