[arch-commits] Commit in python-unidecode/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Mon Dec 21 13:34:47 UTC 2020


    Date: Monday, December 21, 2020 @ 13:34:47
  Author: alucryd
Revision: 781049

upgpkg: python-unidecode 1.1.2-1

Modified:
  python-unidecode/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-21 13:34:40 UTC (rev 781048)
+++ PKGBUILD	2020-12-21 13:34:47 UTC (rev 781049)
@@ -2,8 +2,8 @@
 # Contributor: Kwpolska <kwpolska at kwpolska.tk>
 
 pkgname=python-unidecode
-pkgver=1.1.1
-pkgrel=6
+pkgver=1.1.2
+pkgrel=1
 pkgdesc='ASCII transliterations of Unicode text'
 arch=(any)
 url=https://github.com/avian2/unidecode
@@ -13,11 +13,19 @@
   git
   python-setuptools
 )
-source=(git+https://github.com/avian2/unidecode.git#tag=unidecode-${pkgver})
+_tag=fdf8aa731c53154de04a019eaf91405fc5ff15a5
+source=(git+https://github.com/avian2/unidecode.git#tag=${_tag})
 sha256sums=(SKIP)
 
+pkgver() {
+  cd unidecode
+
+  git describe --tags | sed 's/^unidecode-//'
+}
+
 build() {
   cd unidecode
+
   python setup.py build
 }
 



More information about the arch-commits mailing list