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

recipes/utils/python-hatch-fancy-pypi-readme/PAGBUILD.yaml main

35 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435
pkgname: 'python-hatch-fancy-pypi-readme'
pkgver: '25.1.0'
pkgrel: '3'
pkgdesc: 'Fancy PyPI READMEs with Hatch'
url: 'https://github.com/hynek/hatch-fancy-pypi-readme'
arch: x86_64
depends: []
makedepends:
- 'python-setuptools'
- 'python-wheel'
- 'python-hatchling'

source:
- 'https://github.com/hynek/hatch-fancy-pypi-readme/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd hatch-fancy-pypi-readme-${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}       \
    hatch-fancy-pypi-readme

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

package: |
  true