void-packages/srcpkgs/python-ruamel.yaml/template
maxice8 dcf5ff5682 python-ruamel.yaml: update to 0.15.37.
Closes: #12768 [via git-merge-pr]
2018-03-21 21:51:41 -07:00

28 lines
787 B
Bash

# Template file for 'python-ruamel.yaml'
pkgname=python-ruamel.yaml
version=0.15.37
revision=1
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="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://bitbucket.org/ruamel/yaml"
distfiles="${PYPI_SITE}/r/ruamel.yaml/ruamel.yaml-${version}.tar.gz"
checksum=509842d96fb194f79b57483b76429f8956d8f7ade3cb49d1e5aeb5c5e9ef4918
post_install() {
vlicense LICENSE
}
python3-ruamel.yaml_package() {
pycompile_module="ruamel/yaml"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}