void-packages/srcpkgs/python-pathlib/template

21 lines
567 B
Bash

# Template file for 'python-pathlib'
pkgname=python-pathlib
version=1.0.1
revision=2
noarch=yes
wrksrc="pathlib-${version}"
build_style=python2-module
pycompile_module="pathlib.py"
hostmakedepends="python-setuptools"
depends="python"
short_desc="Backport of Python 3.4 pathlib module"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="MIT"
homepage="https://pypi.org/project/pathlib/"
distfiles="${PYPI_SITE}/p/pathlib/pathlib-${version}.tar.gz"
checksum=6940718dfc3eff4258203ad5021090933e5c04707d5ca8cc9e73c94a7894ea9f
post_install() {
vlicense LICENSE.txt
}