On Wed, 2025-05-14 at 15:43 -0700, Soren Stoutner wrote:
> On Wednesday, May 14, 2025 3:00:14 PM Mountain Standard Time André Flechs
> wrote:
> > Control: retitle -1 RFS:python3-berkeleydb/18.1.14-1 -- Python interface
> > for Berkeley DB (Python 3.x)
> >
> > Hello Phil,
> >
> > thank you for reply and the lintian hints.
> >
> > Can I ask a few questions?
> >
> > > W: python3-berkeleydb source: source-package-encodes-python-version
> >
> > How should I solve this?
> > If I rename the package to python-berkeleydb, I get
> >
> > > W: python3-berkeleydb source: mismatched-python-substvar
> >
> > which tells me that the packages should depend on ${python3:Depends} when it
> > appears to be a package for Python 2.x.
>
> The *source* package should be named python-berkleydb and the *binary* package
> should be name python3-berkleydb. You can see an example of how that is done
> for the python-slip10 package:
>
> https://tracker.debian.org/pkg/python-slip10
>
> https://salsa.debian.org/python-team/packages/python-slip10/-/blob/debian/
> master/debian/control?ref_type=heads
>
> It is done this way so that the source package does not change when newer
> versions of Python are release, and also so that two different binary packages
> can be shipped during transitions if that is desirable.
> Soren, Many thanks for helping here. It is nice when people offer a helping hand when I and others are not around. How Mentors should be. -- Regards Phil Donate: https://buymeacoffee.com/kathenasorg -- "I play the game for the game’s own sake" Arthur Conan Doyle - The Adventure of the Bruce-Partington Plans -- Internet Relay Chat (IRC): kathenas Website: https://kathenas.org Instagram: https://instagram.com/kathenasorg Threads: https://www.threads.net/@kathenasorg --
signature.asc
Description: This is a digitally signed message part

