Package: dotenv-cli
Version: 3.4.0-1
Severity: normal
Tags: patch

ruby-dotenv used to provide /usr/bin/dotenv, but it doesn't since
bookworm. For some reason the changelog doesn't mention that.

I am including a patch that sets the conflicts to only apply to the
pre-bookworm version, please consider applying it.

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'stable-security'), (500, 'unstable'), 
(1, 'experimental')
Architecture: arm64 (aarch64)

Kernel: Linux 6.10.6-arm64 (SMP w/32 CPU threads)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dotenv-cli depends on:
ii  python3  3.12.5-1

dotenv-cli recommends no packages.

dotenv-cli suggests no packages.

-- no debconf information
From f930fc9f7ab4979e3c90bc030494145c6e994b2b Mon Sep 17 00:00:00 2001
From: Antonio Terceiro <terce...@debian.org>
Date: Tue, 27 Aug 2024 20:15:41 -0300
Subject: [PATCH] Only Conflicts with the pre-bookworm version of ruby-dotenv

---
 debian/control | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index e1d3760..fbe16e5 100644
--- a/debian/control
+++ b/debian/control
@@ -20,7 +20,7 @@ Testsuite: autopkgtest-pkg-python
 Package: dotenv-cli
 Architecture: all
 Depends: ${python3:Depends}, ${misc:Depends}
-Conflicts: ruby-dotenv
+Conflicts: ruby-dotenv (<< 2.4.0-2)
 Replaces: python3-dotenv-cli (<< 3.3.1-1)
 Breaks: python3-dotenv-cli (<< 3.3.1-1)
 Description: CLI that loads .env configuration
@@ -34,7 +34,7 @@ Description: CLI that loads .env configuration
 Package: python3-dotenv-cli
 Architecture: all
 Depends: dotenv-cli, ${misc:Depends}
-Conflicts: ruby-dotenv
+Conflicts: ruby-dotenv (<< 2.4.0-2)
 Section: oldlibs
 Description: transitional package
  This package provides the dotenv command. It reads the .env file from the
-- 
2.45.2

Attachment: signature.asc
Description: PGP signature

Reply via email to