void-packages/srcpkgs/python-pathlib2/template

21 lines
607 B
Bash

# Template file for 'python-pathlib2'
pkgname=python-pathlib2
version=2.3.0
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=d32550b75a818b289bd4c1f96b60c89957811da205afcceab75bc8b4857ea5b3
post_install() {
vlicense LICENSE.rst LICENSE
}