git » python-patiencediff.git » main » tree

[main] / PKGBUILD

# Maintainer: Maxime Gauduin <alucryd@archlinux.org>

pkgname=python-patiencediff
pkgver=0.2.14
pkgrel=3
pkgdesc='Patiencediff Python and C implementations'
arch=(armv7h 'aarch64')
url=https://www.breezy-vcs.org/
license=(GPL2)
depends=(
  glibc
  python
)
makedepends=(
  git
  python-build
  python-installer
  python-setuptools
  python-wheel
)
_tag=84e7d1ccb8f623bc082a4412f6b8686523b57a0b
source=(git+https://github.com/breezy-team/patiencediff.git#tag=${_tag})
sha256sums=(SKIP)

pkgver() {
  cd patiencediff
  git describe --tags | sed 's/^v//'
}

build() {
  cd patiencediff
  python -m build --wheel --no-isolation
}

package() {
  python -m installer --destdir="${pkgdir}" patiencediff/dist/*.whl
}

# vim: ts=2 sw=2 et: