Date: Friday, September 30, 2022 @ 12:12:56
  Author: alucryd
Revision: 1319029

upgpkg: python-trio 0.22.0-1

Modified:
  python-trio/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-09-30 11:05:36 UTC (rev 1319028)
+++ PKGBUILD    2022-09-30 12:12:56 UTC (rev 1319029)
@@ -1,7 +1,7 @@
 # Maintainer: Maxime Gauduin <[email protected]>
 
 pkgname=python-trio
-pkgver=0.21.0
+pkgver=0.22.0
 pkgrel=1
 pkgdesc='A friendly Python library for async concurrency and I/O'
 arch=(any)
@@ -21,25 +21,24 @@
   python-setuptools
 )
 provides=(python-multio-provider)
-_tag=077e8fc3f1634b42ef5024814898439d8a8430d4
+_tag=87ea87018da2085180138bd952abcac67961be62
 source=(git+https://github.com/python-trio/trio.git#tag=${_tag})
-sha256sums=('SKIP')
+b2sums=(SKIP)
 
 pkgver() {
   cd trio
-
-  git describe --tags | sed 's/^v//'
+  _version=$(git describe --tags | sed 's/^v//')
+  echo "__version__ = '${_version}'" > trio/_version.py
+  echo ${_version}
 }
 
 build() {
   cd trio
-
   python setup.py build
 }
 
 package() {
   cd trio
-
   python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
   install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-trio/
 }

Reply via email to