python-yaml: drop package
This commit is contained in:
parent
b6b43b7312
commit
c7d57c7448
|
@ -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
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-yaml
|
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue