From 7153d41b763b158f3ccd05a75f8f387df8bf970e Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Wed, 30 Oct 2024 00:14:54 +0800 Subject: [PATCH] python-patiencediff 0.2.15-1 --- PKGBUILD | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index b2d73ba..0cf77a5 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,31 +5,25 @@ # Maintainer: Future Linux Team pkgname=python-patiencediff -pkgver=0.2.14 +pkgver=0.2.15 pkgrel=1 pkgdesc="Patiencediff Python and C implementations" arch=('x86_64') url="https://www.breezy-vcs.org" license=('GPL2') depends=('glibc' 'python') -makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel') -source=(git+https://github.com/breezy-team/patiencediff.git#tag=84e7d1ccb8f623bc082a4412f6b8686523b57a0b) -sha256sums=(SKIP) - -pkgver() { - cd ${pkgname#*-} - - git describe --tags | sed 's/^v//' -} +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#*-} + cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --no-isolation } package() { - cd ${pkgname#*-} + cd ${pkgname#*-}-${pkgver} python3 -m installer --destdir=${pkgdir} dist/*.whl }