void-packages/srcpkgs/python-scandir/template

20 lines
586 B
Bash

# Template file for 'python-scandir'
pkgname=python-scandir
version=1.9.0
revision=1
wrksrc="scandir-${version}"
build_style=python2-module
pycompile_module="scandir.py"
hostmakedepends="python-setuptools"
makedepends="python-devel"
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=44975e209c4827fc18a3486f257154d34ec6eaec0f90fef0cca1caa482db7064
post_install() {
vlicense LICENSE.txt
}