void-packages/srcpkgs/python-scandir/template

20 lines
585 B
Bash

# Template file for 'python-scandir'
pkgname=python-scandir
version=1.8
revision=1
wrksrc="scandir-${version}"
build_style=python2-module
pycompile_module="scandir.py"
hostmakedepends="python-devel"
makedepends="${hostmakedepends}"
short_desc="Backport of the scandir module from Python 3.5+"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/benhoyt/scandir"
license="BSD-3-Clause"
distfiles="${PYPI_SITE}/s/scandir/scandir-${version}.tar.gz"
checksum=8d5011d3a99042c4d90e8adda0052d4475aae3d57bb927012267a6c59186d870
post_install() {
vlicense LICENSE.txt
}