uboot: Use semantic versioning for 2022.04 and 2022.07

Setuptools >66 only allows for semantic versioning, but old U-Boot
versions don't use semver yet.
This makes compilation fail with an error.
This commit is contained in:
ColorfulRhino
2024-07-02 14:33:46 +02:00
committed by Igor
parent e29b960649
commit 7da8ffb20b
3 changed files with 85 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: ColorfulRhino <ColorfulRhino@armbian.com>
Date: Tue, 2 Jul 2024 13:37:16 +0200
Subject: Use semantic versioning for pylibfdt
Setuptools >66 only allows for semantic versioning which old U-Boot
versions don't yet use.
---
scripts/dtc/pylibfdt/setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/dtc/pylibfdt/setup.py b/scripts/dtc/pylibfdt/setup.py
index 992cdec30f5..66614c4cd4d 100755
--- a/scripts/dtc/pylibfdt/setup.py
+++ b/scripts/dtc/pylibfdt/setup.py
@@ -112,11 +112,11 @@ libfdt_module = Extension(
swig_opts = swig_opts,
)
setup(
name='libfdt',
- version= version,
+ version='2022.07',
author='Simon Glass <sjg@chromium.org>',
description='Python binding for libfdt',
ext_modules=[libfdt_module],
package_dir={'': objdir},
py_modules=['pylibfdt/libfdt'],
--
Armbian