29 lines
833 B
Bash
29 lines
833 B
Bash
# Template file for 'python-ruamel.yaml'
|
|
pkgname=python-ruamel.yaml
|
|
version=0.15.44
|
|
revision=1
|
|
wrksrc="ruamel.yaml-${version}"
|
|
build_style=python-module
|
|
pycompile_module="ruamel/yaml"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
makedepends="python-devel python3-devel"
|
|
short_desc="YAML parser/emitter in Python2"
|
|
maintainer="Orphaned <orphan@voidlinux.eu>"
|
|
license="MIT"
|
|
homepage="https://bitbucket.org/ruamel/yaml"
|
|
changelog="https://pypi.org/project/ruamel.yaml/"
|
|
distfiles="${PYPI_SITE}/r/ruamel.yaml/ruamel.yaml-${version}.tar.gz"
|
|
checksum=9c70302a81b51f2ed3b6a42abb9128c9a9beaa765b73ff317310eb59c4a5131a
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-ruamel.yaml_package() {
|
|
pycompile_module="ruamel/yaml"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|