void-packages/srcpkgs/python-ruamel.yaml/template

29 lines
822 B
Bash

# Template file for 'python-ruamel.yaml'
pkgname=python-ruamel.yaml
version=0.16.9
revision=1
wrksrc="ruamel.yaml-${version}"
build_style=python-module
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=ee3264b83c3309b4ae7978afa185da6a1d278e3abc9fb942f1a0b57c622092f8
post_install() {
vlicense LICENSE
}
python3-ruamel.yaml_package() {
short_desc="${short_desc/Python2/Python3}"
depends="python3-ruamel.yaml.clib"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}