Commit a7aead4c authored by Jochen Sprickerhof's avatar Jochen Sprickerhof Committed by Michael Tremer

Rename Python package to python3-location

To comply with the Debian Python policy. Also add a transitional package
with the old name.
Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
parent fb965e86
......@@ -54,7 +54,7 @@ Architecture: any
Pre-Depends:
${misc:Pre-Depends}
Depends:
location-python (= ${binary:Version}),
python3-location,
${misc:Depends},
${python3:Depends}
Multi-Arch: same
......@@ -66,14 +66,14 @@ Architecture: any
Pre-Depends:
${misc:Pre-Depends}
Depends:
location-python (= ${binary:Version}),
python3-location,
${misc:Depends},
${python3:Depends}
Multi-Arch: foreign
Description: Tools to author location databases
This package contains tools that are required to build location databases
Package: location-python
Package: python3-location
Architecture: any
Section: python
Pre-Depends:
......@@ -82,6 +82,16 @@ Depends:
${misc:Depends},
${python3:Depends},
${shlibs:Depends}
Replaces: location-python (<< 0.9.14-1~)
Breaks: location-python (<< 0.9.14-1~)
Multi-Arch: foreign
Description: Python modules for libloc
This package contains Python bindings for libloc
Package: location-python
Depends: python3-location, ${misc:Depends}
Architecture: all
Priority: optional
Section: oldlibs
Description: transitional package
This is a transitional package. It can safely be removed.
......@@ -22,7 +22,7 @@ override_dh_systemd_enable:
override_dh_install:
dh_install
# lintian: unknown-file-in-python-module-directory
rm debian/location-python/usr/lib/python3*/site-packages/_location.la
rm debian/python3-location/usr/lib/python3*/site-packages/_location.la
# linitan: binaries-have-file-conflict (d/location-importer.install)
rm debian/location-python/usr/lib/python3*/site-packages/location/database.py
rm debian/location-python/usr/lib/python3*/site-packages/location/importer.py
rm debian/python3-location/usr/lib/python3*/site-packages/location/database.py
rm debian/python3-location/usr/lib/python3*/site-packages/location/importer.py
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment