From bd85cf0642b9e5467da0ba91a3308d53410e7ece Mon Sep 17 00:00:00 2001 From: Ming Liu Date: Sat, 25 Jan 2020 15:19:53 +0100 Subject: 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 Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb') diff --git a/meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb b/meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb index 02d634cb00..a20eafec43 100644 --- a/meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb +++ b/meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb @@ -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. -- cgit v1.2.3-54-g00ecf