void-packages/srcpkgs/python-yaml/template
2016-08-29 13:29:29 +02:00

25 lines
748 B
Bash

# Template file for 'python-yaml'
pkgname=python-yaml
version=3.12
revision=1
wrksrc="PyYAML-${version}"
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="yaml"
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="libyaml-devel python-devel python3.4-devel"
short_desc="YAML parser and emitter for Python2"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://pyyaml.org/wiki/PyYAML"
license="MIT"
distfiles="${PYPI_SITE}/P/PyYAML/PyYAML-${version}.tar.gz"
checksum=592766c6303207a20efc445587778322d7f73b161bd994f227adaa341ba212ab
python3.4-yaml_package() {
pycompile_version="3.4"
pycompile_module="yaml"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}