Merge pull request #207866 from Skallwar/dt-schema_2022_12
dt-schema: 2022.1 -> 2022.12
This commit is contained in:
commit
ed72317e92
@ -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
|
||||
|
@ -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=[
|
Loading…
Reference in New Issue
Block a user