void-packages/srcpkgs/python-scandir/template

20 lines
587 B
Bash

# Template file for 'python-scandir'
pkgname=python-scandir
version=1.10.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>"
license="BSD-3-Clause"
homepage="https://github.com/benhoyt/scandir"
distfiles="${PYPI_SITE}/s/scandir/scandir-${version}.tar.gz"
checksum=4d4631f6062e658e9007ab3149a9b914f3548cb38bfb021c64f39a025ce578ae
post_install() {
vlicense LICENSE.txt
}