Source: newt Version: 0.52.21-4 Severity: minor Tags: patch newt was one of the early adopters of build profiles. As such it used the "stage1" profile. We've now deprecated that profile name, because it does not convey meaning. You can only understand what stage1 means for newt if you look at many other packages. For that reason, we've deprecated stage1. Please use "nopython" instead. I guess you'll immediately see what "nopython" means. That's the way it is supposed to work now. Please consider applying the attached patch.
Helmut
diff --minimal -Nru newt-0.52.21/debian/changelog newt-0.52.21/debian/changelog --- newt-0.52.21/debian/changelog 2019-12-17 08:32:55.000000000 +0100 +++ newt-0.52.21/debian/changelog 2020-01-24 06:03:24.000000000 +0100 @@ -1,3 +1,10 @@ +newt (0.52.21-4.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Rename stage1 build profile to nopython. Closes: #-1 + + -- Helmut Grohne <hel...@subdivi.de> Fri, 24 Jan 2020 06:03:24 +0100 + newt (0.52.21-4) unstable; urgency=medium * Switch from sgmltools-lite to docbook-utils for py2, sgmltools orphaned. diff --minimal -Nru newt-0.52.21/debian/control newt-0.52.21/debian/control --- newt-0.52.21/debian/control 2019-12-17 08:32:55.000000000 +0100 +++ newt-0.52.21/debian/control 2020-01-24 06:02:50.000000000 +0100 @@ -14,9 +14,9 @@ gettext, libfribidi-dev, tcl8.6-dev, - dh-python <!stage1>, - python3-all-dev:any <!stage1>, - libpython3-all-dev <!stage1> + dh-python <!nopython>, + python3-all-dev:any <!nopython>, + libpython3-all-dev <!nopython> Package: libnewt-dev Architecture: any @@ -63,7 +63,7 @@ Section: python Provides: ${python3:Provides} Depends: libnewt0.52 (=${binary:Version}) , ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends} -Build-Profiles: <!stage1> +Build-Profiles: <!nopython> Description: NEWT module for Python3 This module allows you to build a text UI for your Python3 scripts using newt. diff --minimal -Nru newt-0.52.21/debian/rules newt-0.52.21/debian/rules --- newt-0.52.21/debian/rules 2019-12-17 08:32:55.000000000 +0100 +++ newt-0.52.21/debian/rules 2020-01-24 06:03:13.000000000 +0100 @@ -11,7 +11,7 @@ # Magic debhelper rule. %: -ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),) +ifeq ($(filter nopython,$(DEB_BUILD_PROFILES)),) dh $@ --with python3 else dh $@ @@ -59,7 +59,7 @@ override_dh_auto_install: dh_auto_install -ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),) +ifeq ($(filter nopython,$(DEB_BUILD_PROFILES)),) for v in $(PY3VERS); do \ pylib=usr/lib/python3/dist-packages ; \ abitag=.$$($$v -c "import sysconfig; print(sysconfig.get_config_var('SOABI'))"); \