🔒 Repository is read-only – file editing is disabled.

recipes/utils/python-yaml/PAGBUILD.yaml main

30 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930
pkgname: python-yaml
pkgver: '6.0.3'
pkgrel: '2'
pkgdesc: Python bindings for YAML, using fast libYAML library
url: 'https://pyyaml.org/wiki/PyYAML'
arch: x86_64
depends: []
makedepends:
- yaml
- cython
source:
- 'https://files.pythonhosted.org/packages/source/P/PyYAML/pyyaml-${pkgver}.tar.gz'
sha256sums:
- d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f
build: |
  cd pyyaml-${pkgver}

  pip3 wheel -w dist \
    --no-build-isolation \
    --no-deps $PWD
  pip3 install --no-index \
    --find-links dist \
    --no-cache-dir    \
    --no-user         \
    --root=${PKGDIR}       \
    PyYAML

  find ${PKGDIR} -type d -name vendor -o -name tests |xargs rm -rf
package: |
  true