python-ruamel_yaml 0.18.6-1

This commit is contained in:
xhaa123 2024-10-21 22:46:49 +08:00
commit 9bccd758e5

30
PKGBUILD Normal file
View File

@ -0,0 +1,30 @@
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Your Name <youremail@domain.com>
pkgname=python-ruamel_yaml
pkgver=0.18.6
pkgrel=1
pkgdesc="ruamel.yaml is a YAML 1.2 loader/dumper package for Python."
arch=('x86_64')
url="https://yaml.readthedocs.io/en/latest/"
license=('MIT')
depends=('python-ruamel-yaml-clib')
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-flit-core')
source=(https://pypi.debian.net/ruamel.yaml/ruamel.yaml-${pkgver}.tar.gz)
sha256sums=(8b27e6a217e786c6fbe5634d8f3f11bc63e0f80f6a5890f28863d9c45aac311b)
build() {
cd ruamel.yaml-${pkgver}
CFLAGS="$CFLAGS -Wno-error=incompatible-pointer-types" \
python3 -m build --wheel --skip-dependency-check --no-isolation
}
package() {
cd ruamel.yaml-${pkgver}
python3 -m installer --destdir=${pkgdir} dist/*.whl
}