python-yaml: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-10-01 07:39:19 +07:00
parent b6b43b7312
commit c7d57c7448
4 changed files with 22 additions and 31 deletions

View file

@ -1,30 +0,0 @@
# Template file for 'python-yaml'
pkgname=python-yaml
version=5.3.1
revision=1
wrksrc="PyYAML-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
makedepends="libyaml-devel python-devel python3-devel"
short_desc="YAML parser and emitter for Python2"
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=b8eac752c5e14d3eca0e6dd9199cd627518cb5ec06add0de9d32baeee6fe645d
do_check() {
python3 setup.py test
}
post_install() {
vlicense LICENSE
}
python3-yaml_package() {
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-yaml

View file

@ -0,0 +1,22 @@
# Template file for 'python3-yaml'
pkgname=python3-yaml
version=5.3.1
revision=2
wrksrc="PyYAML-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="libyaml-devel python3-devel"
short_desc="YAML parser and emitter for Python 3"
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=b8eac752c5e14d3eca0e6dd9199cd627518cb5ec06add0de9d32baeee6fe645d
do_check() {
python3 setup.py test
}
post_install() {
vlicense LICENSE
}