Files
binary-repo/dev/python/py3-yaml/ympbuild
T
2025-06-19 20:14:50 +00:00

29 lines
672 B
Bash

#!/usr/bin/env bash
name='py3-yaml'
release='3'
version='6.0.2'
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=('9377c381ac3fccad8df73d96b5139ef8b1a2c57a0d913e95ab0a2275d66b5caa')
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
}