control: tags -1 +patch

On Sun, Feb 8, 2026 at 8:49 PM Roger Shimizu <[email protected]> wrote:
>
> Dear Maintainer,
>
> autopkgtest fails for dt-schema/2025.08-1 [1][2], so it blocks testing
> migration.
>
> [1] https://qa.debian.org/excuses.php?package=dt-schema
> [2] https://ci.debian.net/packages/d/dt-schema/testing/amd64/

I find out the patch from upstream that can resolve this issue.
Please kindly help to upload.

PS. If possible, please also update to the latest version: 2025.12
Thank you!

-Roger
From 792e6173c29df41441e41936dd0ab150882e581c Mon Sep 17 00:00:00 2001
From: Roger Shimizu <[email protected]>
Date: Sun, 8 Feb 2026 21:58:31 -0800
Subject: [PATCH] Patch: Update pyproject.toml to make autopkgtest work

Closes: #1127460
---
 ...-files-from-meta-schemas-and-schemas.patch | 36 +++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 37 insertions(+)
 create mode 100644 debian/patches/0002-Install-.yaml-files-from-meta-schemas-and-schemas.patch

diff --git a/debian/patches/0002-Install-.yaml-files-from-meta-schemas-and-schemas.patch b/debian/patches/0002-Install-.yaml-files-from-meta-schemas-and-schemas.patch
new file mode 100644
index 000000000000..21f55de13230
--- /dev/null
+++ b/debian/patches/0002-Install-.yaml-files-from-meta-schemas-and-schemas.patch
@@ -0,0 +1,36 @@
+Origin: upstream, 8d4887886b39f693b2066649547d168d09e3dc55
+From: Martin Blumenstingl <[email protected]>
+Date: Sat, 10 Jan 2026 15:30:02 +0100
+Subject: Install *.yaml files from meta-schemas and schemas
+
+The Arch Linux package uses the following commands to build and install
+the project:
+  $ python -m build --wheel --no-isolation
+  $ python -m installer --destdir="$pkgdir" dist/*.whl
+
+The installed output in $pkgdir however does not contain the *.yaml
+schemas from dtschema/meta-schemas and dtschema/schemas. Add setuptools
+configuration so the *.yaml files are installed.
+
+Signed-off-by: Martin Blumenstingl <[email protected]>
+---
+ pyproject.toml | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 0a3c6ddffaae..6b65fc609cde 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -5,6 +5,12 @@ build-backend = "setuptools.build_meta"
+ [tool.setuptools_scm]
+ write_to = "dtschema/version.py"
+ 
++[tool.setuptools.packages.find]
++include = ["dtschema"]
++
++[tool.setuptools.package-data]
++dtschema = ["meta-schemas/**/*.yaml", "schemas/**/*.yaml"]
++
+ [project]
+ name = "dtschema"
+ description = "DeviceTree validation schema and tools"
diff --git a/debian/patches/series b/debian/patches/series
index 9744ed70b2df..7bd70caca5f9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Switch-to-jsonschema-4.18.patch
+0002-Install-.yaml-files-from-meta-schemas-and-schemas.patch

Reply via email to