diff options
author | Armin Kuster <akuster808@gmail.com> | 2019-03-08 06:37:26 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-09 14:41:20 +0000 |
commit | 28e631d6dbc0a126253c0a072b8f39ff683bfa3a (patch) | |
tree | 916c9815220fcfa122fe16f6a12707210e64392e | |
parent | 94e2e294e2788c233d7e8932c20d6699cb28b1ea (diff) | |
download | openembedded-core-contrib-28e631d6dbc0a126253c0a072b8f39ff683bfa3a.tar.gz |
python: time.tzset missing
import time
time.tzset()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'time' has no attribute 'tzset'
enable tzset in both python versions
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/python/python3_3.7.2.bb | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python_2.7.15.bb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3_3.7.2.bb b/meta/recipes-devtools/python/python3_3.7.2.bb index 9626ee546b..4d10986f3b 100644 --- a/meta/recipes-devtools/python/python3_3.7.2.bb +++ b/meta/recipes-devtools/python/python3_3.7.2.bb @@ -65,6 +65,7 @@ EXTRANATIVEPATH += "python3-native" CACHED_CONFIGUREVARS = " \ ac_cv_file__dev_ptmx=yes \ ac_cv_file__dev_ptc=no \ + ac_cv_working_tzset=yes \ " PACKAGECONFIG_class-target ??= "readline ${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'pgo', '', d)}" diff --git a/meta/recipes-devtools/python/python_2.7.15.bb b/meta/recipes-devtools/python/python_2.7.15.bb index 8df1dfd1ba..3e1af4baf6 100644 --- a/meta/recipes-devtools/python/python_2.7.15.bb +++ b/meta/recipes-devtools/python/python_2.7.15.bb @@ -42,7 +42,7 @@ inherit autotools multilib_header python-dir pythonnative ptest CONFIGUREOPTS += " --with-system-ffi " -EXTRA_OECONF += "ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no" +EXTRA_OECONF += "ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no ac_cv_working_tzset=yes" PACKAGECONFIG ??= "bdb" PACKAGECONFIG[bdb] = ",,db" |