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

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

34 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334
pkgname: 'python-sphinxcontrib-serializinghtml'
pkgver: '2.0.0'
pkgrel: '6'
pkgdesc: 'Sphinx extension which outputs "serialized" HTML files (json and pickle)'
url: 'https://github.com/sphinx-doc/sphinxcontrib-serializinghtml'
arch: x86_64
depends: []
makedepends:
- 'python-setuptools'
- 'python-wheel'

source:
- 'https://github.com/sphinx-doc/sphinxcontrib-serializinghtml/archive/refs/tags/${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd sphinxcontrib-serializinghtml-${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-serializinghtml

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

package: |
  true