Bug#980769: pygobject: reduce Build-Depends

Helmut Grohne helmut at subdivi.de
Thu Jan 21 19:38:55 GMT 2021


Source: pygobject
Version: 3.38.0-1
Tags: patch
User: debian-cross at lists.debian.org
Usertags: cross-satisfiability

pygobject has unsatisfiably cross Build-Depends. Instead of looking into
such hard problem, I looked into easily droppable Build-Depends and
found some. Since pygobject is normally reproducible, I verified that a
nocheck build with the following dependencies turned into
Build-Conflicts results in the same binary artifacts as a regular full
build:
 * at-spi2-core is mentioned in debian/changelog as having been added to
   fix tests. That looks like a good candidate to annotate <!nocheck>.
 * dbus (formerly dbus-x11) is also mentioned in debian/changelog as
   being used during tests. Likewise.
 * The documentation was formerly built using docbook, but it now uses
   restructured text. Thus docbook-xsl and xsltproc can be dropped.
 * flake8 is invoked via setup.py quality which is conditional to
   DEB_BUILD_OPTIONS=nocheck. Thus python3-flake8 can also be annotated
   <!nocheck>.
 * debian/changelog also hints that locales is needed to make tests
   pass. Annotate <!nocheck>.

Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru pygobject-3.38.0/debian/changelog pygobject-3.38.0/debian/changelog
--- pygobject-3.38.0/debian/changelog	2020-09-18 10:30:51.000000000 +0200
+++ pygobject-3.38.0/debian/changelog	2021-01-21 20:21:05.000000000 +0100
@@ -1,3 +1,17 @@
+pygobject (3.38.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + at-spi2-core was added to fix failing tests. Annotate <!nocheck>.
+    + dbus is also used for running tests. Annotate <!nocheck>.
+    + Drop docbook-xsl and xsltproc. Documentation is now restructured text.
+    + Drop python3-cairo-dbg as Python no longer varies the path for debugged
+      extensions.
+    + python3-flake8 is used for setup.py quality. Annotate <!nocheck>.
+    + locales is evidently used in tests. Annotate <!nocheck>.
+
+ -- Helmut Grohne <helmut at subdivi.de>  Thu, 21 Jan 2021 20:21:05 +0100
+
 pygobject (3.38.0-1) unstable; urgency=medium
 
   * Team upload
diff --minimal -Nru pygobject-3.38.0/debian/control pygobject-3.38.0/debian/control
--- pygobject-3.38.0/debian/control	2020-09-18 10:30:51.000000000 +0200
+++ pygobject-3.38.0/debian/control	2021-01-21 20:21:05.000000000 +0100
@@ -7,13 +7,12 @@
 Priority: optional
 Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers at lists.alioth.debian.org>
 Uploaders: Iain Lane <laney at debian.org>, Jeremy Bicha <jbicha at debian.org>, Laurent Bigonville <bigon at debian.org>
-Build-Depends: at-spi2-core,
+Build-Depends: at-spi2-core <!nocheck>,
                autoconf-archive,
-               dbus (>= 1.8),
+               dbus (>= 1.8) <!nocheck>,
                debhelper-compat (= 12),
                dh-exec,
                dh-python,
-               docbook-xsl,
                dpkg-dev (>= 1.16.1~),
                gir1.2-gtk-3.0 <!nocheck>,
                gnome-pkg-tools (>= 0.10),
@@ -22,16 +21,14 @@
                libffi-dev (>= 3.3),
                libgirepository1.0-dev (>= 1.62.0-4~),
                libglib2.0-dev (>= 2.48.0),
-               locales,
+               locales <!nocheck>,
                python3-all-dbg,
                python3-all-dev,
-               python3-cairo-dbg,
                python3-cairo-dev (>= 1.11.1),
-               python3-flake8,
+               python3-flake8 <!nocheck>,
                python3-pytest <!nocheck>,
                python3-setuptools,
                xauth <!nocheck>,
-               xsltproc,
                xvfb <!nocheck>
 Rules-Requires-Root: no
 Standards-Version: 4.5.0


More information about the pkg-gnome-maintainers mailing list