Source: python3.12
Source-Version: 3.12.0-5
Severity: important
Tags: patch

Hi!

Support for this arch got removed from in dpkg 1.22.0, which means that
once the host running dak gets its dpkg upgraded to that version it
might start being unhappy about the unknown architecture.

Attached a patch that removes references to this obsolete arch.

Thanks,
Guillem
From 9285d636afb9de383345fb5457c4ff17bbfe8ea4 Mon Sep 17 00:00:00 2001
From: Guillem Jover <guil...@debian.org>
Date: Sat, 25 Nov 2023 23:08:52 +0100
Subject: [PATCH] Remove references to obsolete avr32 arch

Support for this arch got removed from in dpkg 1.22.0, which means that
once the host running dak gets its dpkg upgraded to that version it
might start being unhappy about the unknown architecture.
---
 debian/control    | 2 +-
 debian/control.in | 2 +-
 debian/rules      | 8 ++++----
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index 165856c..1c54f45 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Build-Depends: debhelper (>= 11), dpkg-dev (>= 1.17.11),
   libexpat1-dev,
   libbluetooth-dev [linux-any] <!pkg.python3.12.nobluetooth>,
   locales-all,
-  libsqlite3-dev, libffi-dev (>= 3.0.5) [!or1k !avr32],
+  libsqlite3-dev, libffi-dev (>= 3.0.5) [!or1k],
   libgpm2 [linux-any],
   media-types | mime-support, netbase, bzip2, time, python3:any, python3.12:any <cross>,
   net-tools, xvfb <!nocheck>, xauth <!nocheck>, tzdata <!nocheck>,
diff --git a/debian/control.in b/debian/control.in
index 692cdbf..d118553 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -13,7 +13,7 @@ Build-Depends: debhelper (>= 11), @bd_dpkgdev@
   libexpat1-dev,
   libbluetooth-dev [linux-any] <!pkg.@PVER@.nobluetooth>,
   locales-all,
-  libsqlite3-dev, libffi-dev (>= 3.0.5) [!or1k !avr32],
+  libsqlite3-dev, libffi-dev (>= 3.0.5) [!or1k],
   libgpm2 [linux-any],
   media-types | mime-support, netbase, bzip2, time, python3@bd_qual@, @PVER@@bd_qual@ <cross>,
   net-tools, xvfb <!nocheck>, xauth <!nocheck>, tzdata <!nocheck>,
diff --git a/debian/rules b/debian/rules
index 550898a..791bce8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -444,7 +444,7 @@ common_configure_args = \
 #common_configure_args += \
 #		--without-builtin-hashlib-hashes
 
-ifneq (,$(filter $(DEB_HOST_ARCH), avr32 or1k))
+ifneq (,$(filter $(DEB_HOST_ARCH), or1k))
   common_configure_args += --without-ffi
 else
   common_configure_args += --with-system-ffi
@@ -601,11 +601,11 @@ endif
 ifneq (,$(filter $(DEB_HOST_ARCH),arm64))
   TEST_EXCLUDES += test_faulthandler
 endif
-ifneq (,$(filter $(DEB_HOST_ARCH), arm avr32))
+ifneq (,$(filter $(DEB_HOST_ARCH), arm))
   TEST_EXCLUDES += test_ctypes
 endif
 TEST_EXCLUDES += test_socket
-ifneq (,$(filter $(DEB_HOST_ARCH), arm armel avr32 m68k))
+ifneq (,$(filter $(DEB_HOST_ARCH), arm armel m68k))
   ifeq ($(on_buildd),yes)
     TEST_EXCLUDES += test_compiler
   endif
@@ -720,7 +720,7 @@ endif
 stamps/stamp-pybench:
 	echo "pybench run disabled for this build" > $(buildd_static)/pybench.log
 
-#ifeq (,$(filter $(DEB_HOST_ARCH), arm armel avr32 hppa mips mipsel mips64 mips64el m68k))
+#ifeq (,$(filter $(DEB_HOST_ARCH), arm armel hppa mips mipsel mips64 mips64el m68k))
   pybench_options = -C 2 -n 5 -w 4
 #endif
 
-- 
2.42.0

Reply via email to