pkgname=python-patiencediff pkgver=0.2.15 pkgrel=1 pkgdesc="Patiencediff Python and C implementations" arch=('x86_64') url="https://www.breezy-vcs.org/" license=('GPL-2.0-or-later') depends=('glibc' 'python') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=(https://github.com/breezy-team/patiencediff/archive/v${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(77b905e2f02029244a46b99ac3682e4a50ccc2f7e0cc66c1a025282328647b5d) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }