diff options
author | Marcell Meszaros | 2022-06-16 02:35:57 +0200 |
---|---|---|
committer | Marcell Meszaros | 2022-06-16 02:35:57 +0200 |
commit | 30791904c8581cbd55fcf6ba5ecca218dca62cb9 (patch) | |
tree | 44c9bdb26c0149be2ec0205ab1857d3b0a03e0b3 | |
parent | a36c8e2ad86aa29f9c787ef74e9531f1bfd48c9a (diff) | |
download | aur-30791904c8581cbd55fcf6ba5ecca218dca62cb9.tar.gz |
updpkg 21.0.0-4: hopefully fix tests, using the universally available C.UTF-8 locale
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 5 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = python2-pyopenssl pkgdesc = Wrapper module for OpenSSL, legacy Python 2 version pkgver = 21.0.0 - pkgrel = 3 + pkgrel = 4 url = https://pypi.org/project/pyopenssl/21.0.0/ arch = any license = Apache @@ -6,7 +6,7 @@ pkgname='python2-pyopenssl' _name="${pkgname#python2-}" pkgver=21.0.0 -pkgrel=3 +pkgrel=4 pkgdesc='Wrapper module for OpenSSL, legacy Python 2 version' arch=('any') url="https://pypi.org/project/${_name}/${pkgver}/" @@ -44,12 +44,10 @@ build() { } check() { - ( - echo 'Temporarily force-enabling UTF-8 encoding (LC_ALL=en_US.UTF-8) even if disabled; needed for the tests.' - export LC_ALL=en_US.UTF-8 cd "${_tarname}" - python2 setup.py pytest - ) + echo 'Running tests...' + echo '-- Using LC_ALL=C.UTF-8 locale to ensure UTF-8 filesystem encoding is used in Python 2' + LC_ALL=C.UTF-8 python2 setup.py pytest } package() { |