pkgname: python-dbusmock pkgver: '0.38.1' pkgrel: '2' pkgdesc: Python library useful for writing tests for software which talks to D-Bus services. url: 'https://github.com/martinpitt/python-dbusmock' arch: x86_64 license: - GPL3 depends: - python-dbus - python-gobject makedepends: - python-setuptools source: - 'https://github.com/martinpitt/python-dbusmock/releases/download/${pkgver}/python_dbusmock-${pkgver}.tar.gz' sha256sums: - 221b65e1c2e48de9fd11bf7e8c165adaf91648f49a11f390d086a498386f2984 build: "cd python_dbusmock-${pkgver}\n\n pip3 wheel -w dist \\\n --no-build-isolation \\\n --no-deps $PWD\n pip3 install\ \ --no-index \\\n --find-links dist \\\n --no-cache-dir \\\n --no-user \\\n --root=${PKGDIR} \\\ \n python_dbusmock\n\nfind ${PKGDIR} -type d -name vendor -o -name tests |xargs rm -rf \n\ninstall -Dm644 COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING\n" package: | true