[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1105039: ITP:python3-berkeleydb/18.1.14-1 -- Python interface for Berkeley DB (Python 3.x)



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 Stoutner
soren@debian.org

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: