head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.09.22.16.47.10; author abs; state Exp; branches; next ; commitid s8oGxWmvLnsKBDWG; desc @@ 1.1 log @Import mongodb-5.0.34 MongoDB 5.0 was released July 13, 2021, and the latest update (5.0.34) was released June 11, 2026 The main consumer of this version of mongodb in pkgsrc is net/unifi, and this will allow users to upgrade theit mongodb4 install (mongodb only allows version+1 upgrades, so 4.4 -> 5.0 then 5.0 -> 6.0 etc @ text @$NetBSD: patch-buildscripts_moduleconfig.py,v 1.1 2024/08/17 15:51:43 tnn Exp $ Python 3.12 support. Fix similar to waf. --- buildscripts/moduleconfig.py.orig 2024-08-17 15:28:15.030051822 +0000 +++ buildscripts/moduleconfig.py @@@@ -27,7 +27,13 @@@@ MongoDB SConscript files do. __all__ = ('discover_modules', 'discover_module_directories', 'configure_modules', 'register_module_test') # pylint: disable=undefined-all-variable -import imp +import sys +if sys.hexversion > 0x3040000: + import types + class imp(object): + new_module = lambda x: types.ModuleType(x) +else: + import imp import inspect import os @