void-packages/srcpkgs/python-pathlib2/template

21 lines
601 B
Bash

# Template file for 'python-pathlib2'
pkgname=python-pathlib2
version=2.3.3
revision=1
archs=noarch
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=25199318e8cc3c25dcb45cbe084cc061051336d5a9ea2a12448d3d8cb748f742
post_install() {
vlicense LICENSE.rst
}