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

Maxime Gauduin alucryd at archlinux.org
Mon Oct 12 15:15:56 UTC 2020


    Date: Monday, October 12, 2020 @ 15:15:56
  Author: alucryd
Revision: 723663

upgpkg: python-sniffio 1.2.0-1

Modified:
  python-sniffio/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-12 15:05:54 UTC (rev 723662)
+++ PKGBUILD	2020-10-12 15:15:56 UTC (rev 723663)
@@ -1,8 +1,8 @@
 # Maintainer: Maxime Gauduin <alucryd at archlinux.org>
 
 pkgname=python-sniffio
-pkgver=1.1.0
-pkgrel=3
+pkgver=1.2.0
+pkgrel=1
 pkgdesc='Sniff out which async library your code is running under'
 arch=(any)
 url=https://github.com/python-trio/sniffio
@@ -14,9 +14,16 @@
   python-pytest
   python-setuptools
 )
-source=(git+https://github.com/python-trio/sniffio.git#tag=v${pkgver})
+_tag=b93038b1a8b76607363f2f261bcf8e7ad4c53807
+source=(git+https://github.com/python-trio/sniffio.git#tag=${_tag})
 sha256sums=(SKIP)
 
+pkgver() {
+  cd sniffio
+
+  git describe --tags | sed 's/^v//'
+}
+
 build() {
   cd sniffio
 



More information about the arch-commits mailing list