void-packages/srcpkgs/python-voluptuous/template
2019-03-01 12:04:45 -03:00

31 lines
898 B
Bash

# Template file for 'python-voluptuous'
pkgname=python-voluptuous
version=0.11.5
revision=1
archs=noarch
wrksrc="voluptuous-${version}"
build_style=python-module
pycompile_module="voluptuous"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 data validation library"
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
license="BSD-3-Clause"
homepage="https://github.com/alecthomas/voluptuous"
changelog="https://raw.githubusercontent.com/alecthomas/voluptuous/master/CHANGELOG.md"
distfiles="${PYPI_SITE}/v/voluptuous/voluptuous-${version}.tar.gz"
checksum=567a56286ef82a9d7ae0628c5842f65f516abcb496e74f3f59f1d7b28df314ef
post_install() {
vlicense COPYING
}
python3-voluptuous_package() {
depends="python3"
pycompile_module="voluptuous"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense COPYING
}
}