vp-build/srcpkgs/python-scandir/template

20 lines
593 B
Bash

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