From 115f7b0200c1fb51cf90e9fc1333dd928e8ffb09 Mon Sep 17 00:00:00 2001 From: casparvl casparvl Date: Wed, 30 Jul 2025 09:35:06 +0000 Subject: [PATCH] Changed EasyConfig to use custom keywords from https://github.com/easybuilders/easybuild-easyblocks/pull/3860 --- .../easyconfigs/p/Python/Python-3.11.5-GCCcore-13.2.0.eb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/p/Python/Python-3.11.5-GCCcore-13.2.0.eb b/easybuild/easyconfigs/p/Python/Python-3.11.5-GCCcore-13.2.0.eb index 648dc05718a9..b7c4c3c1a81e 100644 --- a/easybuild/easyconfigs/p/Python/Python-3.11.5-GCCcore-13.2.0.eb +++ b/easybuild/easyconfigs/p/Python/Python-3.11.5-GCCcore-13.2.0.eb @@ -10,12 +10,18 @@ toolchainopts = {'pic': True} source_urls = ['https://www.python.org/ftp/%(namelower)s/%(version)s/'] sources = [SOURCE_TGZ] -patches = ['Python-3.11.5-custom-ctypes.patch'] checksums = [ {'Python-3.11.5.tgz': 'a12a0a013a30b846c786c010f2c19dd36b7298d888f7c4bd1581d90ce18b5e58'}, {'Python-3.11.5-custom-ctypes.patch': 'f145f6daf11f430da45c1da77f1795e4793ee170178a3e97a8286c3c5468f997'}, ] +# Like patches, but these will only be applied if EasyBuild is configured to filter LD_LIBRARY_PATH +# In that scenario, ctypes needs to be patched since it heavily relies on LD_LIBRRY_PATH to find libraries +patches_filter_ld_library_path = ['Python-3.11.5-custom-ctypes.patch'] +checksums_filter_ld_library_path = [ + {'Python-3.11.5-custom-ctypes.patch': 'f145f6daf11f430da45c1da77f1795e4793ee170178a3e97a8286c3c5468f997'}, +] + builddependencies = [ ('UnZip', '6.0'), ('pkgconf', '2.0.3'),