void-packages/srcpkgs/python-scandir/template

20 lines
593 B
Bash

# Template file for 'python-scandir'
pkgname=python-scandir
version=1.6
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="3-clause-BSD"
distfiles="${PYPI_SITE}/s/scandir/scandir-${version}.tar.gz"
checksum=e0278a2d4bc6c0569aedbe66bf26c8ab5b2b08378b3289de49257f23ac624338
post_install() {
vlicense LICENSE.txt LICENSE
}