void-packages/srcpkgs/python-yaml/template
Alessio Sergi 217e7d31f2 srcpkgs: remove python3.4-* transitional dummy packages
After more than a year the switch to python3 packages, it is time to say
them goodbye. So long, and thanks for all the fish.
2017-12-20 11:29:51 +01:00

23 lines
688 B
Bash

# Template file for 'python-yaml'
pkgname=python-yaml
version=3.12
revision=3
wrksrc="PyYAML-${version}"
build_style=python-module
pycompile_module="yaml"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="libyaml-devel python-devel python3-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-yaml_package() {
pycompile_module="yaml"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}