void-packages/srcpkgs/python-scandir/template

20 lines
593 B
Bash

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