meta-openembedded/meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb
Ming Liu bd85cf0642 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>
2020-01-25 12:44:25 -08:00

12 lines
347 B
BlitzBasic

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.
do_install() {
distutils3_do_install
}