Files
RedBear-OS/recipes/wip/dev/lang/python37/recipe.toml
T
vasilito 637da791ff fix: rename cxx → gcc13/gcc-native (resolve package name conflict)
recipes/dev/gcc13 was claiming name='cxx' — conflicted with
local/recipes/dev/gcc-native also claiming 'cxx'. Renamed to match
directory names for unique package identification by the cookbook.
2026-07-12 19:15:26 +03:00

28 lines
693 B
TOML

[package]
name = "python37"
version = "3.7.17"
#TODO not compiled or tested
#TODO does the patch is still needed?
#TODO maybe the script is wrong
[source]
tar = "https://www.python.org/ftp/python/3.7.17/Python-3.7.17.tar.xz"
patches = [
"redox.patch",
]
[build]
template = "custom"
dependencies = [
"openssl1",
]
script = """
cp ../config.site ./
sed -i 's|#define HAVE_PTHREAD_KILL 1|/* #undef HAVE_PTHREAD_KILL */|g' pyconfig.h
sed -i 's|#define HAVE_SCHED_SETSCHEDULER 1|/* #undef HAVE_SCHED_SETSCHEDULER */|g' pyconfig.h
sed -i 's|#define HAVE_SYS_RESOURCE_H 1|/* #undef HAVE_SYS_RESOURCE_H */|g' pyconfig.h
COOKBOOK_CONFIGURE_FLAGS+=(
--disable-ipv6
)
cookbook_configure
"""