Control: tags 1008688 + patch

Dear maintainer,

this bug is currently blocking the python3.10-default transition, hence
I've prepared an NMU for cwiid (versioned as 0.6.91-2.1). The diff is
attached to this message.

Cheers
-- 
Sebastian Ramacher
diff -Nru cwiid-0.6.91/debian/changelog cwiid-0.6.91/debian/changelog
--- cwiid-0.6.91/debian/changelog	2020-11-11 12:39:34.000000000 +0100
+++ cwiid-0.6.91/debian/changelog	2022-04-07 00:27:18.000000000 +0200
@@ -1,3 +1,12 @@
+cwiid (0.6.91-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload
+
+  [ Graham Inggs ]
+  * Support Python with 2-digit minor version (Closes: #1008688)
+
+ -- Sebastian Ramacher <sramac...@debian.org>  Thu, 07 Apr 2022 00:27:18 +0200
+
 cwiid (0.6.91-2) unstable; urgency=medium
 
   * modified the debian patch "wminput-Makefile.in.patch", after
diff -Nru cwiid-0.6.91/debian/patches/python3.10.patch cwiid-0.6.91/debian/patches/python3.10.patch
--- cwiid-0.6.91/debian/patches/python3.10.patch	1970-01-01 01:00:00.000000000 +0100
+++ cwiid-0.6.91/debian/patches/python3.10.patch	2022-04-07 00:26:23.000000000 +0200
@@ -0,0 +1,15 @@
+Description: Support Python with 2-digit minor version
+Author: Graham Inggs <gin...@debian.org>
+Last-Update: 2022-01-28
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -67,7 +67,7 @@
+ fi
+ AC_SUBST(PYTHON)
+ if test $PYTHON; then
+-	PYTHON_VERSION=[`$PYTHON -c 'import sys; print (sys.version[:3])'`]
++	PYTHON_VERSION=[`$PYTHON -c 'import sys; print ("%d.%d" % sys.version_info[:2])'`]
+ 	AC_SUBST(PYTHON_VERSION)
+ 	AC_DEFINE([HAVE_PYTHON],1,[Define to 1 if python support is enabled])
+ fi
diff -Nru cwiid-0.6.91/debian/patches/series cwiid-0.6.91/debian/patches/series
--- cwiid-0.6.91/debian/patches/series	2020-11-11 12:39:34.000000000 +0100
+++ cwiid-0.6.91/debian/patches/series	2022-04-07 00:26:23.000000000 +0200
@@ -5,3 +5,4 @@
 fix_wiid_pc.patch
 python-setup.py.patch
 wminput-Makefile.in.patch
+python3.10.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to