asciinema: remove failing nl_langinfo check

Fixes #3172
This commit is contained in:
Henrik Grimler 2018-12-28 15:24:55 +01:00 committed by Fredrik Fornwall
parent 71fcfc7075
commit c0d0a08581
2 changed files with 14 additions and 1 deletions

View File

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://asciinema.org/
TERMUX_PKG_DESCRIPTION="Record and share your terminal sessions, the right way"
TERMUX_PKG_VERSION=2.0.1
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SHA256=7087b247dae36d04821197bc14ebd4248049592b299c9878d8953c025ac802e4
TERMUX_PKG_SRCURL=https://github.com/asciinema/asciinema/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_BUILD_IN_SRC=yes

View File

@ -0,0 +1,13 @@
--- ../__main__.py.orig 2018-12-28 15:18:49.567468833 +0100
+++ ./asciinema/__main__.py 2018-12-28 15:19:17.550800251 +0100
@@ -50,10 +50,6 @@
def main():
- if locale.nl_langinfo(locale.CODESET).upper() != 'UTF-8':
- print("asciinema needs a UTF-8 native locale to run. Check the output of `locale` command.")
- sys.exit(1)
-
try:
cfg = config.load()
except config.ConfigError as e: