Files
Arch-R/packages/python/devel/pyyaml/package.mk
Rudi Heitbaum f8e126383d pyyaml: initial package
required by mesa-24.2.0

does not build with libyaml (performance gains would not be achieved
with the precompile of libyaml increasing the overall build time.)
2024-08-16 01:57:42 +00:00

18 lines
651 B
Makefile

# SPDX-License-Identifier: GPL-2.0-only
# Copyright (C) 2024-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="pyyaml"
PKG_VERSION="6.0.2"
PKG_SHA256="d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e"
PKG_LICENSE="MIT"
PKG_SITE="https://pypi.org/project/PyYAML/"
PKG_URL="https://files.pythonhosted.org/packages/source/${PKG_NAME:0:1}/${PKG_NAME}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_HOST="Python3:host setuptools:host"
PKG_LONGDESC="YAML parser and emitter for Python"
PKG_TOOLCHAIN="manual"
makeinstall_host() {
export DONT_BUILD_LEGACY_PYC=1
exec_thread_safe python3 setup.py install --prefix="${TOOLCHAIN}"
}