From 0b3f4ed292c4b494a83f912184ad284edc72c2e3 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Wed, 16 Oct 2024 21:35:03 +0200 Subject: python3-m2crypto: update 0.40.1 -> 0.42.0 This addresses python 3.13 issues. Use build_meta instead of classic setuptools. Drop all setup.py patches as no longer necessary. Signed-off-by: Alexander Kanavin Signed-off-by: Khem Raj --- .../python3-m2crypto/cross-compile-platform.patch | 33 ---------------------- 1 file changed, 33 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-m2crypto/cross-compile-platform.patch (limited to 'meta-python/recipes-devtools/python/python3-m2crypto/cross-compile-platform.patch') diff --git a/meta-python/recipes-devtools/python/python3-m2crypto/cross-compile-platform.patch b/meta-python/recipes-devtools/python/python3-m2crypto/cross-compile-platform.patch deleted file mode 100644 index 77ef7e557e..0000000000 --- a/meta-python/recipes-devtools/python/python3-m2crypto/cross-compile-platform.patch +++ /dev/null @@ -1,33 +0,0 @@ -Do not compute platform, this does not work in cross compile environment -since it pokes at the system for getting architecture values - -Upstream-Status: Inappropriate -Signed-off-by: Khem Raj - ---- a/setup.py -+++ b/setup.py -@@ -169,24 +169,6 @@ class _M2CryptoBuildExt(build_ext.build_ - log.debug('self.include_dirs = %s', self.include_dirs) - log.debug('self.library_dirs = %s', self.library_dirs) - -- if platform.system() == "Linux": -- # For RedHat-based distros, the '-D__{arch}__' option for -- # Swig needs to be normalized, particularly on i386. -- mach = platform.machine().lower() -- if mach in ('i386', 'i486', 'i586', 'i686'): -- arch = '__i386__' -- elif mach in ('ppc64', 'powerpc64', 'ppc64le', 'ppc64el'): -- arch = '__powerpc64__' -- elif mach in ('ppc', 'powerpc'): -- arch = '__powerpc__' -- else: -- arch = '__%s__' % mach -- self.swig_opts.append('-D%s' % arch) -- if mach in ('ppc64le', 'ppc64el'): -- self.swig_opts.append('-D_CALL_ELF=2') -- if mach in ('arm64_be'): -- self.swig_opts.append('-D__AARCH64EB__') -- - self.swig_opts.extend(['-I%s' % i for i in self.include_dirs]) - - # Some Linux distributor has added the following line in -- cgit v1.2.3-54-g00ecf