void-packages/srcpkgs/python3-zipp/template

31 lines
784 B
Bash

# Template file for 'python3-zipp'
pkgname=python3-zipp
version=0.6.0
revision=1
archs=noarch
wrksrc="zipp-${version}"
build_style=python-module
pycompile_module="zipp.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="python3"
short_desc="Pathlib-compatible Zipfile object wrapper"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="MIT"
homepage="https://github.com/jaraco/zipp"
changelog="https://raw.githubusercontent.com/jaraco/zipp/master/CHANGES.rst"
distfiles="${PYPI_SITE}/z/zipp/zipp-${version}.tar.gz"
checksum=3718b1cbcd963c7d4c5511a8240812904164b7f381b647143a89d3b98f9bcd8e
post_install() {
vlicense LICENSE
}
python-zipp_package() {
depends=python
short_desc+=" - Python 2"
pkg_install() {
vmove "usr/lib/python2.7"
vlicense LICENSE
}
}