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

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

36 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233343536
pkgname: python-attrs
pkgver: '26.1.0'
pkgrel: '1'
pkgdesc: The Attrs package is a theme for the sphinx documentation system.
url: 'https://www.attrs.org'
arch: x86_64
license:
- MIT
depends: []
makedepends:
- python-setuptools
- python-wheel
- python-hatch-fancy-pypi-readme
- python-hatch-vcs
source:
- 'https://files.pythonhosted.org/packages/source/a/attrs/attrs-${pkgver}.tar.gz'
sha256sums:
- d03ceb89cb322a8fd706d4fb91940737b6642aa36998fe130a9bc96c985eff32
build: |
  cd attrs-${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}       \
    attrs

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

  install -Dm644 LICENSE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE
package: |
  true