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

recipes/gui/libvirt-python/PAGBUILD.yaml main

41 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435363738394041
pkgname: 'libvirt-python'
pkgver: '12.6.0'
pkgrel: '1'
pkgdesc: 'libvirt python binding'
url: 'https://pypi.python.org/pypi/libvirt-python'
arch: x86_64
license:
- LGPL2

depends:
- libvirt

makedepends:
- 'python-setuptools'
- libvirt

source:
- 'https://gitlab.com/libvirt/libvirt-python/-/archive/v${pkgver}/${pkgname}-v${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}       \
      libvirt-python

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

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

package: |
  true