python-yaml: drop package
This commit is contained in:
parent
b6b43b7312
commit
c7d57c7448
4 changed files with 22 additions and 31 deletions
|
@ -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
|
|
22
srcpkgs/python3-yaml/template
Normal file
22
srcpkgs/python3-yaml/template
Normal 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
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue