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

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

35 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435
pkgname: 'python-pam'
pkgver: '2.0.2'
pkgrel: '6'
pkgdesc: ' Pure Python interface to the Pluggable Authentication Modules system on Linux.'
url: 'https://github.com/FirefighterBlu3/python-pam'
arch: x86_64
depends: []
makedepends:
- 'python-setuptools'
- 'python-wheel'
- pam

source:
- 'https://files.pythonhosted.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd python-pam-${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}       \
    python-pam

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

package: |
  true