Files
binary-repo/dev/python/py3-yaml/ympbuild
T
2026-05-06 10:11:31 +03:00

29 lines
672 B
Bash

#!/usr/bin/env bash
name='py3-yaml'
release='4'
version='6.0.3'
url='https://github.com/yaml/pyyaml'
description='Python3 bindings for YAML'
email='aliriza.keskin@pardus.org.tr'
maintainer='aliriza'
license=('GPLv3')
source=("https://github.com/yaml/pyyaml/archive/refs/tags/$version.tar.gz")
depends=(libyaml python)
makedepends=(py3-wheel py3-setuptools py3-build py3-installer)
sha256sums=('c7b45011e052458ae79015d5eea3046c37d099023d4b253dde26ee1c29ea2f36')
group=(dev.python)
uses=()
arch=('x86_64')
cd pyyaml-$version
build () {
python -m build --wheel --config-setting=--with-libyaml
}
package () {
python -m installer --destdir="$DESTDIR" dist/*.whl
}