Merge pull request #207866 from Skallwar/dt-schema_2022_12

dt-schema: 2022.1 -> 2022.12
This commit is contained in:
Sandro 2023-03-30 16:31:07 +02:00 committed by GitHub
commit ed72317e92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 2 deletions

View file

@ -6,11 +6,12 @@
, rfc3987
, ruamel-yaml
, setuptools-scm
, libfdt
}:
buildPythonPackage rec {
pname = "dtschema";
version = "2022.01";
version = "2022.12";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -19,9 +20,14 @@ buildPythonPackage rec {
owner = "devicetree-org";
repo = "dt-schema";
rev = "refs/tags/v${version}";
hash = "sha256-wwlXIM/eO3dII/qQpkAGLT3/15rBLi7ZiNtqYFf7Li4=";
sha256 = "sha256-+wF6WdonZrkZEnlq/P6QeT3X7CMinxbapLa7q0t2zUc=";
};
patches = [
# Change name of pylibfdt to libfdt
./fix_libfdt_name.patch
];
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
@ -32,6 +38,7 @@ buildPythonPackage rec {
jsonschema
rfc3987
ruamel-yaml
libfdt
];
# Module has no tests

View file

@ -0,0 +1,13 @@
diff --git a/setup.py b/setup.py
index 62db8af..4a980c1 100755
--- a/setup.py
+++ b/setup.py
@@ -52,7 +52,7 @@ setuptools.setup(
'ruamel.yaml>0.15.69',
'jsonschema>=4.1.2',
'rfc3987',
- 'pylibfdt',
+ 'libfdt',
],
classifiers=[