mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
python-yaml: update to 3.13.
This commit is contained in:
parent
f7a6cc7e39
commit
2f68548a88
1 changed files with 13 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-yaml'
|
# Template file for 'python-yaml'
|
||||||
pkgname=python-yaml
|
pkgname=python-yaml
|
||||||
version=3.12
|
version=3.13
|
||||||
revision=3
|
revision=1
|
||||||
wrksrc="PyYAML-${version}"
|
wrksrc="PyYAML-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="yaml"
|
pycompile_module="yaml"
|
||||||
|
@ -9,15 +9,24 @@ hostmakedepends="python-setuptools python3-setuptools"
|
||||||
makedepends="libyaml-devel python-devel python3-devel"
|
makedepends="libyaml-devel python-devel python3-devel"
|
||||||
short_desc="YAML parser and emitter for Python2"
|
short_desc="YAML parser and emitter for Python2"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://pyyaml.org/wiki/PyYAML"
|
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
homepage="http://pyyaml.org/wiki/PyYAML"
|
||||||
distfiles="${PYPI_SITE}/P/PyYAML/PyYAML-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/P/PyYAML/PyYAML-${version}.tar.gz"
|
||||||
checksum=592766c6303207a20efc445587778322d7f73b161bd994f227adaa341ba212ab
|
checksum=3ef3092145e9b70e3ddd2c7ad59bdd0252a94dfe3949721633e41344de00a6bf
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
python3 setup.py test
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
python3-yaml_package() {
|
python3-yaml_package() {
|
||||||
pycompile_module="yaml"
|
pycompile_module="yaml"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue