void-packages/srcpkgs/python-pathlib2/template

21 lines
605 B
Bash

# Template file for 'python-pathlib2'
pkgname=python-pathlib2
version=2.2.1
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://pypi.python.org/pypi/pathlib2"
license="MIT"
distfiles="${PYPI_SITE}/p/pathlib2/pathlib2-${version}.tar.gz"
checksum=ce9007df617ef6b7bd8a31cd2089ed0c1fed1f7c23cf2bf1ba140b3dd563175d
post_install() {
vlicense LICENSE.rst LICENSE
}