Date: Saturday, December 5, 2020 @ 13:57:43
  Author: alucryd
Revision: 770607

upgpkg: python-munkres 1.1.4-1

Modified:
  python-munkres/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-12-05 13:56:49 UTC (rev 770606)
+++ PKGBUILD    2020-12-05 13:57:43 UTC (rev 770607)
@@ -2,8 +2,8 @@
 # Contributor: Adrian Sampson <adr...@radbox.org>
 
 pkgname=python-munkres
-pkgver=1.1.2
-pkgrel=5
+pkgver=1.1.4
+pkgrel=1
 pkgdesc='Munkres algorithm for Python'
 arch=(any)
 url=https://github.com/bmc/munkres
@@ -13,9 +13,16 @@
   git
   python-setuptools
 )
-source=(git+https://github.com/bmc/munkres.git#tag=release-${pkgver})
-sha256sums=(SKIP)
+_tag=ac8af9e3b6093e4be8e3935829bc7d7fc45a84d2
+source=(git+https://github.com/bmc/munkres.git#tag=${_tag})
+b2sums=(SKIP)
 
+pkgver() {
+  cd munkres
+
+  git describe --tags | sed 's/^release-//'
+}
+
 build() {
   cd munkres
 

Reply via email to