diff -Nru numpy-1.19.5/debian/changelog numpy-1.19.5/debian/changelog --- numpy-1.19.5/debian/changelog 2022-07-31 18:06:15.000000000 +0000 +++ numpy-1.19.5/debian/changelog 2022-08-07 17:52:15.000000000 +0000 @@ -1,3 +1,11 @@ +numpy (1:1.19.5-1ubuntu1+20.04.sav0) focal; urgency=medium + + * Rebuild with both Python 3.8 and 3.9 (as supported by debian/rules): + - debian/control: Add python3.9-{dbg,dev} BDs for this custom build + - debian/rules: Explicitly set "PY3VERS=3.8 3.9" for both versions + + -- Rob Savoury Sun, 07 Aug 2022 10:52:15 -0700 + numpy (1:1.19.5-1ubuntu1~20.04.sav0) focal; urgency=medium * Backport to Focal for Boost 1.74 build with Python 3.9 (fix FTBFS of new diff -Nru numpy-1.19.5/debian/control numpy-1.19.5/debian/control --- numpy-1.19.5/debian/control 2022-07-31 17:37:30.000000000 +0000 +++ numpy-1.19.5/debian/control 2022-08-07 16:46:35.000000000 +0000 @@ -24,6 +24,8 @@ liblapack-dev [!arm !m68k], python3-all-dbg, python3-all-dev, + python3.9-dbg, + python3.9-dev, # python3-hypothesis (>= 5.19.1) , # python3-pytest , # python3-scipy , diff -Nru numpy-1.19.5/debian/rules numpy-1.19.5/debian/rules --- numpy-1.19.5/debian/rules 2022-07-31 17:38:05.000000000 +0000 +++ numpy-1.19.5/debian/rules 2022-08-07 16:45:57.000000000 +0000 @@ -2,7 +2,8 @@ export DH_VERBOSE=1 -PY3VERS=$(shell py3versions -vr) +#PY3VERS=$(shell py3versions -vr) +PY3VERS=3.8 3.9 PY3DEF=$(shell py3versions -dv) PY3LIBPATH := $(shell python3 -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print (b.build_platlib)")