git » python-more-itertools.git » commit 239ef8e

chore: python-more-itertools; update pkgver() function

author George Rawlinson
2022-10-10 02:50:57 UTC
committer George Rawlinson
2022-10-10 02:50:57 UTC
parent 82a89d32618c60695d0d4ba4ceb78cd4ecd2013b

chore: python-more-itertools; update pkgver() function

PKGBUILD +1 -4

diff --git a/PKGBUILD b/PKGBUILD
index ede4143..b798aa4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,10 +24,7 @@ b2sums=('SKIP')
 pkgver() {
   cd "$pkgname"
 
-  # temporary workaround until this is resolved
-  # https://github.com/more-itertools/more-itertools/issues/648
-  #git describe --tags | sed 's/^v//'
-  grep __version__ more_itertools/__init__.py | cut -d ' ' -f 3 | sed -e "s/'//g"
+  git describe --tags | sed 's/^v//'
 }
 
 build() {