void-packages/srcpkgs/python-scandir/template

20 lines
593 B
Bash

# Template file for 'python-scandir'
pkgname=python-scandir
version=1.4
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=ada8d3ddc82fd168b3f46feb393d37c722ed0553a10a3ce5426ddc5ec17d597a
post_install() {
vlicense LICENSE.txt LICENSE
}