From 926548513d28b826d021991620ab4ae0f0d7bde1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=28=D0=A5?= =?UTF-8?q?=D1=80=D0=B0=D0=BC=D1=8B=D1=87=D0=AA=29=20=D0=A5=D1=80=D0=B0?= =?UTF-8?q?=D0=BC=D0=BE=D0=B2?= Date: Sun, 6 Apr 2025 16:16:47 +0300 Subject: [PATCH] python3-pyyaml 6.0.2-1 --- python3-pyyaml/alr.sh | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 python3-pyyaml/alr.sh diff --git a/python3-pyyaml/alr.sh b/python3-pyyaml/alr.sh new file mode 100644 index 0000000..7d6d920 --- /dev/null +++ b/python3-pyyaml/alr.sh @@ -0,0 +1,36 @@ +name='python3-pyyaml' +version='6.0.2' +release='1' +desc='YAML parser and emitter for Python.' +homepage='https://pyyaml.org/' +maintainer='Евгений Храмов ' +architectures=('all') +license=('MIT') +provides=('pyyaml') +conflicts=('pyyaml') + +deps=("python3") +deps_arch=("python") +deps_alpine=("python3") + +build_deps=("python3" "python3-pip" "python3-cython") +build_deps_arch=("python" "python-pip" "python-cython") +build_deps_alpine=("python3" "py3-pip" "py3-cython") + +sources=("https://files.pythonhosted.org/packages/source/p/PyYAML/pyyaml-6.0.2.tar.gz") +checksums=('blake2b-256:54ed79a089b6be93607fa5cdaedf301d7dfb23af5f25c398d5ead2525b063e17') + +build() { + cd "$srcdir/pyyaml-${version}" + python -m build --wheel --no-isolation +} + +package() { + cd "$srcdir/pyyaml-${version}" + pip install --root="${pkgdir}/" . --no-deps --ignore-installed --disable-pip-version-check +} + +files() { + printf '"%s" ' ./usr/local/lib64/python3.*/site-packages/yaml/* + printf '"%s" ' ./usr/local/lib64/python3.*/site-packages/pyyaml-${version}.dist-info/* +} \ No newline at end of file