mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-22 00:08:22 +00:00
python3-pycrypto: drop time.clock
The use of time.clock() is deprecated in python 3.8, change to use time.process_time(). Reference: https://docs.python.org/3.3/library/time.html#time.clock Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
inherit distutils3
|
||||
require python-pycrypto.inc
|
||||
|
||||
SRC_URI += "file://0001-Replace-time.clock-with-time.process_time.patch"
|
||||
|
||||
# We explicitly call distutils_do_install, since we want it to run, but
|
||||
# *don't* want the autotools install to run, since this package doesn't
|
||||
# provide a "make install" target.
|
||||
|
||||
Reference in New Issue
Block a user