Package: llvmlite-doc
Severity: normal
X-Debbugs-Cc: none, Diane Trout <di...@ghic.org>

Hello,

I had some time to work on updating numba to 0.59.1 and discovered it
needs llvmlite 0.43.0dev0, the current debian/watch file is too strict
to detect that version number

Also llvmlite and numba are tightly bound, would it be possible for me
as numba maintainer to help update llvmlite?

Attached is the patch I made to llvmlite to allow be to do
gbp import-orig --uscan
so I could have a llvmlite 0.43.0dev0 package to test numba against.

>From 483c2b825bed861e7ead2c135bf35686543289b6 Mon Sep 17 00:00:00 2001
From: Diane Trout <di...@ghic.org>
Date: Tue, 23 Apr 2024 19:18:23 -0700
Subject: [PATCH] Update d/watch to use @ANY_VERSION@ to detect version
 0.43.0dev0

---
 debian/changelog | 6 ++++++
 debian/watch     | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ec1faf6..5ed5640 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+llvmlite (0.42.0-2) UNRELEASED; urgency=medium
+
+  * Update d/watch to use @ANY_VERSION@ to detect version 0.43.0dev0
+
+ -- Diane Trout <di...@ghic.org>  Tue, 23 Apr 2024 19:16:11 -0700
+
 llvmlite (0.42.0-1) unstable; urgency=medium
 
   * Upload to unstable.
diff --git a/debian/watch b/debian/watch
index 6ede6b4..c8d3ac0 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,4 @@
 version=4
-opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%llvmlite-$1.tar.gz%" \
+opts="filenamemangle=s%(?:.*?)?v@ANY_VERSION@@ARCHIVE_EXT@%llvmlite-$1.tar.gz%" \
     https://github.com/numba/llvmlite/tags \
-    (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate
+    (?:.*?/)?v@ANY_VERSION@@ARCHIVE_EXT@ debian uupdate
-- 
2.30.2

Reply via email to