Date: Wednesday, April 12, 2023 @ 09:36:53
  Author: jelle
Revision: 1444837

upgpkg: python-pyfakefs 5.1.0-1: python 3.11 rebuild

Modified:
  python-pyfakefs/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-12 09:33:09 UTC (rev 1444836)
+++ PKGBUILD    2023-04-12 09:36:53 UTC (rev 1444837)
@@ -2,7 +2,7 @@
 
 pkgname=python-pyfakefs
 pkgver=5.1.0
-pkgrel=3
+pkgrel=1
 pkgdesc='pyfakefs implements a fake file system that mocks the Python file 
system modules'
 url=https://github.com/jmcgeheeiv/pyfakefs/
 license=(APACHE)
@@ -17,7 +17,7 @@
 )
 _tag=13d0e542cf76c253c0b7973f932787b14379e990
 source=(git+https://github.com/jmcgeheeiv/pyfakefs.git#tag=${_tag})
-sha256sums=(SKIP)
+sha256sums=('SKIP')
 
 pkgver() {
   cd pyfakefs
@@ -34,7 +34,8 @@
 check() {
   cd  pyfakefs
 
-  tox -e py310
+  local python_version=$(python -c 'import sys; print("".join(map(str, 
sys.version_info[:2])))')
+  tox -e "py${python_version}"
 }
 
 package() {

Reply via email to