void-packages/srcpkgs/python-pathlib2/template

21 lines
607 B
Bash

# Template file for 'python-pathlib2'
pkgname=python-pathlib2
version=2.3.2
revision=1
noarch=yes
wrksrc="pathlib2-${version}"
build_style=python2-module
pycompile_module="pathlib2.py"
hostmakedepends="python-setuptools"
depends="python-six python-scandir"
short_desc="Backport of Python 3.4+ pathlib module"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/mcmtroffaes/pathlib2"
license="MIT"
distfiles="${PYPI_SITE}/p/pathlib2/pathlib2-${version}.tar.gz"
checksum=8eb170f8d0d61825e09a95b38be068299ddeda82f35e96c3301a8a5e7604cb83
post_install() {
vlicense LICENSE.rst LICENSE
}