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

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

24 linii Raw ← Powrót
123456789101112131415161718192021222324
pkgname: python-pycparser
pkgver: '3.00'
pkgrel: '1'
pkgdesc: C parser and AST generator written in Python
url: 'https://github.com/eliben/pycparser'
arch: x86_64
depends: []
makedepends:
- python-build
- python-installer
- python-setuptools
- python-wheel
source:
- 'https://github.com/eliben/pycparser/archive/refs/tags/release_v${pkgver}.tar.gz'
sha256sums:
- e5d1c6879786a7ef12dd32b5a755db499000a79435926048b85b433a4b077b6a
build: |
  cd pycparser-release_v${pkgver}
  python -m build --wheel --no-isolation

  python -m installer --destdir=${PKGDIR} dist/*.whl
  install -Dm644 LICENSE -t ${PKGDIR}/usr/share/licenses/${pkgname}/
package: |
  true