From f8e126383d2dd241dcf5dbb112c8e43791436787 Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Sat, 20 Jul 2024 03:59:59 +0000 Subject: [PATCH] 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.) --- packages/python/devel/pyyaml/package.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 packages/python/devel/pyyaml/package.mk diff --git a/packages/python/devel/pyyaml/package.mk b/packages/python/devel/pyyaml/package.mk new file mode 100644 index 0000000000..6141591ded --- /dev/null +++ b/packages/python/devel/pyyaml/package.mk @@ -0,0 +1,17 @@ +# 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}" +}