void-packages/srcpkgs/python-pathlib2/template
2017-01-16 18:58:17 +01:00

20 lines
605 B
Bash

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