XPost: linux.debian.devel.mentors
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
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEJKVN2yNUZnlcqOI+wufLJ66wtgMFAmglHKYACgkQwufLJ66w tgOpwA//UWp1akunIONy3e+qQMXw2uyfo26GI00xAjYZh+O0ptzq4qhGCb2gEayk 7Xdt2o2lMI7Nsc9FvptgpgMJCriKf0v8rhGaaL7JA0kgdtspQqmp81Pmwybtf/Qw QGBBAX3cEJqh3LX7fQbQlMQSySrVV0AVFK2/VMhR2HNzVoQ1rfQpILZGtkxuWQHv SCTs4Rj6O1MVasl6CJe3GOwgKFywvErA8Y4QRqapOYjIBBOSKhbou5bgrdurjSYU Tzc6s+Kk8XsO3xg7eZn6N3mMB9/bOz1tLy4LZvOppJFy6KBBwEw/FixPJmxcBmzV LhqyzzdtFR81M57XTp1kY/67q0+fD31LLpLTe2Uv4racANNi7Ps/VIN1Z0RLzV0A pCrZ9dkGawtJvefSUN75mXZA10xaRzqHfHn4CsVXkpdp/cArZZr0q334/3PHFDDi ehqMSYNpOoD26a3l3jRYtIdBZIDa6RpLZDIuLTtTHge/YYB6HUdKeFY8KaY57xzC cIDQn84lk7gJ/CPKHrcDmFGx3y1YEWVvYbX1cEvNuRMVv9FLp1He+L5aeJ+2PMmu fwfsGC+BoHRbTwO+Fst4iZEVhru56B/Euscy11R9SJnpPBj6c8aLpN59Dblnh7ti GyctWZKWNGskhMQSVEvUPnTssUEoPxpii/U9cLr2pbWNt63ntSE=
=anRY
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)