void-packages/srcpkgs/python-ruamel.yaml/template
2019-12-23 18:05:35 +01:00

30 lines
885 B
Bash

# Template file for 'python-ruamel.yaml'
pkgname=python-ruamel.yaml
version=0.16.5
revision=3
wrksrc="ruamel.yaml-${version}"
build_style=python-module
pycompile_module="ruamel/yaml"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
short_desc="YAML parser/emitter in Python2"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://bitbucket.org/ruamel/yaml"
changelog="https://bitbucket.org/ruamel/yaml/raw/default/CHANGES"
distfiles="${PYPI_SITE}/r/ruamel.yaml/ruamel.yaml-${version}.tar.gz"
checksum=412a6f5cfdc0525dee6a27c08f5415c7fd832a7afcb7a0ed7319628aed23d408
post_install() {
vlicense LICENSE
}
python3-ruamel.yaml_package() {
pycompile_module="ruamel/yaml"
short_desc="${short_desc/Python2/Python3}"
depends="python3-ruamel.yaml.clib"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}