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

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

39 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233343536373839
pkgname: 'python-certifi'
pkgver: '2026.07.22'
pkgrel: '1'
pkgdesc: 'Python package for providing Mozilla''s CA Bundle'
url: 'https://pypi.python.org/pypi/certifi'
arch: x86_64
license:
- MPL2

depends: []
makedepends:
- 'python-setuptools'
- 'python-wheel'

source:
- 'https://github.com/certifi/python-certifi/archive/refs/tags/${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${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}       \
    certifi

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

  install -Dm644 LICENSE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE

package: |
  true