From a0ee3d91fab8b673b2dbe63b54e4edad2a494032 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Fri, 15 Mar 2024 14:54:40 -0500 Subject: [PATCH] Add Debian 'Replaces: colcon' field Upstream Debian has decided to package colcon, and they created a package simply called 'colcon' which provides only the /usr/bin/colcon executable and some weak dependencies as a sort of replacement for colcon-common-extensions. This conflicts with our python3-colcon-core package during unpacking. We could add 'Conflicts: colcon', but I think this is a great use case for 'Replaces:' because the only file provided by 'colcon' is /usr/bin/colcon, which we obviously provide here. This way, folks can still successfully install 'colcon' and get the weak dependencies even if our version of python-colcon-core is installed, and our copy of /usr/bin/colcon will take precedence over the one provided by 'colcon'. --- stdeb.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/stdeb.cfg b/stdeb.cfg index 3c5672b71..9eb1227d1 100644 --- a/stdeb.cfg +++ b/stdeb.cfg @@ -3,5 +3,6 @@ No-Python2: Depends3: python3-distlib, python3-empy (<4), python3-packaging, python3-pytest, python3-setuptools, python3 (>= 3.8) | python3-importlib-metadata Recommends3: python3-pytest-cov Suggests3: python3-pytest-repeat, python3-pytest-rerunfailures +Replaces3: colcon Suite: focal jammy noble bookworm trixie X-Python3-Version: >= 3.6