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

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

31 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031
pkgname: python-sphinxcontrib-qthelp
pkgver: '2.0.0'
pkgrel: '6'
pkgdesc: Sphinx extension which outputs QtHelp document
url: 'https://github.com/sphinx-doc/sphinxcontrib-qthelp'
arch: x86_64
depends: []
makedepends:
- python-setuptools
- python-wheel
- python-flit-core
source:
- 'https://github.com/sphinx-doc/sphinxcontrib-qthelp/archive/refs/tags/${pkgver}.tar.gz'
sha256sums:
- 8bbb0bc76ad38fc552a73292740b55bdf9ea2ab3d5111ebd58e47cd6225855b2
build: |
  cd sphinxcontrib-qthelp-${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}       \
    sphinxcontrib-qthelp

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