python-yaml: update to 5.3.

- Remove pycompile_module (xlint)
This commit is contained in:
Peter Bui 2020-01-19 14:45:55 -05:00 committed by Helmut Pozimski
parent 887c462247
commit e2660d1c67

View file

@ -1,10 +1,9 @@
# Template file for 'python-yaml'
pkgname=python-yaml
version=5.2
revision=2
version=5.3
revision=1
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"
@ -12,7 +11,7 @@ maintainer="Peter Bui <pbui@github.bx612.space>"
license="MIT"
homepage="http://pyyaml.org/wiki/PyYAML"
distfiles="${PYPI_SITE}/P/PyYAML/PyYAML-${version}.tar.gz"
checksum=c0ee8eca2c582d29c3c2ec6e2c4f703d1b7f1fb10bc72317355a746057e7346c
checksum=e9f45bd5b92c7974e59bcd2dcc8631a6b6cc380a904725fce7bc08872e691615
do_check() {
python3 setup.py test
@ -23,7 +22,6 @@ post_install() {
}
python3-yaml_package() {
pycompile_module="yaml"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*