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

Levente Polyak anthraxx at archlinux.org
Wed Aug 7 20:49:36 UTC 2019


    Date: Wednesday, August 7, 2019 @ 20:49:36
  Author: anthraxx
Revision: 498248

upgpkg: python-pyotp 2.3.0-1

Modified:
  python-pyotp/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-07 20:45:12 UTC (rev 498247)
+++ PKGBUILD	2019-08-07 20:49:36 UTC (rev 498248)
@@ -4,10 +4,10 @@
 pkgbase=python-pyotp
 pkgname=('python-pyotp' 'python2-pyotp')
 _pkgname=pyotp
-_gitcommit=b6f7c814c38654bf7061b760ec3049c250ea2fbf
-pkgver=2.2.7
+_gitcommit=041f5d3c65379d7188821caf92436c7f226ec60e
+pkgver=2.3.0
 pkgrel=1
-pkgdesc='PyOTP is a Python library for generating and verifying one-time passwords'
+pkgdesc='Python library for generating and verifying one-time passwords'
 url='https://pyotp.readthedocs.io/'
 arch=('any')
 license=('MIT')
@@ -20,7 +20,7 @@
 
 pkgver() {
   cd ${_pkgname}
-  git describe --always --tags | sed 's/^v//;s/-/+/g'
+  git describe --always --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
 }
 
 build() {



More information about the arch-commits mailing list