And the diff for bumping llvmlite to 0.47.0, as needed for the numpy 2.4 transition that is currently underway.

Once again, MR!7 is updated.

https://salsa.debian.org/pkg-llvm-team/llvmlite/-/merge_requests/7


--
Stuart Prescott   http://www.nanonanonano.net/ [email protected]
Debian Developer  http://www.debian.org/       [email protected]
GPG fingerprint   90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7
diff --git a/debian/changelog b/debian/changelog
index eac6de1..4403690 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+llvmlite (0.47.0-0.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Upload llvmlite 0.47.0 for numba 0.65 as needed for numpy 2.4 transition.
+
+ -- Stuart Prescott <[email protected]>  Mon, 11 May 2026 17:40:33 +1000
+
 llvmlite (0.46.0-0.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --git a/debian/patches/0005-Add-compatibility-shim-for-old-clean-command-pybuild.patch b/debian/patches/0005-Add-compatibility-shim-for-old-clean-command-pybuild.patch
new file mode 100644
index 0000000..a31e07e
--- /dev/null
+++ b/debian/patches/0005-Add-compatibility-shim-for-old-clean-command-pybuild.patch
@@ -0,0 +1,28 @@
+From: Stuart Prescott <[email protected]>
+Date: Mon, 11 May 2026 15:10:53 +1000
+Subject: Add compatibility shim for old clean command/pybuild
+
+---
+ setup.py | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 8bda9bf..c0b4ce3 100644
+--- a/setup.py
++++ b/setup.py
+@@ -111,10 +111,14 @@ class LlvmliteInstall(install):
+ 
+ class LlvmliteClean(Command):
+     """Custom clean command to tidy up the project root."""
++    user_options = [
++        ('all', 'a', '(Compatibility with original clean command)'),
++    ]
++
+     # Required to implement but there don't appear to be any relevant flags
+     # for this command, so do nothing
+     def initialize_options(self) -> None:
+-        pass
++        self.all = False
+ 
+     # Required to implement but there don't appear to be any relevant flags
+     # for this command, so do nothing
diff --git a/debian/patches/series b/debian/patches/series
index bb52353..a2fa7f1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ use-local-objectsinv.patch
 0002-Support-llvm-21.patch
 0003-Skip-llvm-version-test.patch
 0004-Skip-failing-tests-with-llvm-21.patch
+0005-Add-compatibility-shim-for-old-clean-command-pybuild.patch

Reply via email to