Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #14874

Re: Old generated binary dependencies after renaming psycopg

From Tomasz Rybak <serpent@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Old generated binary dependencies after renaming psycopg
Date 2023-01-30 22:50 +0100
Message-ID <FTKci-2hfh-5@gated-at.bofh.it> (permalink)
References <FOPvX-10md-1@gated-at.bofh.it> <FOQBH-10ZS-5@gated-at.bofh.it> <FP3pf-19cS-1@gated-at.bofh.it> <FP3Sh-19tZ-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Tue, 2023-01-17 at 23:26 +0000, Scott Kitterman wrote:
> 
[ cut ]
> 
> You'll need to add a py3dist-overrides file in /debian.  The details are in the dh-python or pybuild documentation.  I don't recall where.
> 

Thanks for tip. Summary, for others with similar problems:
Solution is described in dh-python documentation
(man dh_python3, section dependencies).

Mapping of name psyscopg to python3-psycopg3 is in file
/usr/share/dh-python/dist/cpython3_fallback, provided
by dh-python. It's quite long file, containing many
of such translations.

I created debian/python3-psycopg.pydist which got installed
to /usr/share/python3/dist/python3-psycopg, and provided proper
mapping. I guess when mapping in dh-python is fixed, I'll be
able to drop *.pydist files.

Best regards, and thanks for help!

-- 
Tomasz Rybak, Debian Developer <serpent@debian.org>
GPG: A565 CE64 F866 A258 4DDC F9C7 ECB7 3E37 E887 AA8C

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Old generated binary dependencies after renaming psycopg Tomasz Rybak <serpent@debian.org> - 2023-01-17 09:30 +0100
  Re: Old generated binary dependencies after renaming psycopg Julian Gilbey <julian@d-and-j.net> - 2023-01-17 10:40 +0100
    Re: Old generated binary dependencies after renaming psycopg Tomasz Rybak <serpent@debian.org> - 2023-01-18 00:20 +0100
      Re: Old generated binary dependencies after renaming psycopg Scott Kitterman <debian@kitterman.com> - 2023-01-18 00:50 +0100
        Re: Old generated binary dependencies after renaming psycopg Tomasz Rybak <serpent@debian.org> - 2023-01-30 22:50 +0100

csiph-web