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


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

Re: how to properly split up into python3-foo and foo-util package?

From Andrey Rakhmatullin <wrar@wrar.name>
Newsgroups linux.debian.maint.python
Subject Re: how to properly split up into python3-foo and foo-util package?
Date 2023-07-12 13:30 +0200
Message-ID <GQGcG-aGN-11@gated-at.bofh.it> (permalink)
References <GQwdj-4nI-3@gated-at.bofh.it> <GQFTj-azS-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jul 12, 2023 at 11:05:57AM +0000, c.buhtz@posteo.jp wrote:
> What do you mean by the terms "simple Python package" and "two packages"?
> These terms do not exists in Python context.
These are Debian terms.

> Python do differentiate between
> "Distribution Package" (the name you would find e.g. on PyPI) and "Import
> Packages" (the name you use with your "import" statement). And there is also
> a difference with "Debian Package" (a deb-file). Of course all three type of
> packages can be the same but don't have to.
> 
> Am 12.07.2023 02:21 schrieb Christoph Anton Mitterer:
> > debian/control (all boring fields removed):
> >   Source: foo
> 
> I assume that "foo" is the "Distribution Package" ?
It's the Debian source package as the context is debian/control. Or what
do you mean?

> > 1) Is there some mechanism in dh_python that would automatically split
> >    (respectively install) the files to the two packages, and I'm just
> >    to dumb to use it?
> 
> I don't understand why there are two packages? Why two? I can not find that
> in your setup.
  Package: python3-foo
  Package: foo-util

> > debian/control (all boring fields removed):
> >   Source: foo
> >   Package: python3-foo
> >   Package: foo-util
> 
> You build two Debian packages (deb-files) out of one source tarball?
> Interesting to know that this is possible.
It's definitely possible and I would expect any good guide to mention
this.

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


Thread

how to properly split up into python3-foo and foo-util package? Christoph Anton Mitterer <calestyo@scientia.org> - 2023-07-12 02:50 +0200
  Re: how to properly split up into python3-foo and foo-util package? Andrey Rakhmatullin <wrar@wrar.name> - 2023-07-12 11:20 +0200
    Re: how to properly split up into python3-foo and foo-util package? Gregor Riepl <onitake@gmail.com> - 2023-07-12 12:20 +0200
      Re: how to properly split up into python3-foo and foo-util package? Andrey Rakhmatullin <wrar@wrar.name> - 2023-07-12 13:30 +0200
    Re: how to properly split up into python3-foo and foo-util package? Simon McVittie <smcv@debian.org> - 2023-07-12 12:20 +0200
      Re: how to properly split up into python3-foo and foo-util package? Andrey Rakhmatullin <wrar@wrar.name> - 2023-07-12 13:30 +0200
  Re: how to properly split up into python3-foo and foo-util package? Simon McVittie <smcv@debian.org> - 2023-07-12 12:00 +0200
  Re: how to properly split up into python3-foo and foo-util  package? c.buhtz@posteo.jp - 2023-07-12 13:10 +0200
    Re: how to properly split up into python3-foo and foo-util package? Andrey Rakhmatullin <wrar@wrar.name> - 2023-07-12 13:30 +0200
      Re: how to properly split up into python3-foo and foo-util  package? c.buhtz@posteo.jp - 2023-07-12 14:00 +0200
        Re: how to properly split up into python3-foo and foo-util package? Andrey Rakhmatullin <wrar@wrar.name> - 2023-07-12 20:30 +0200
  Re: how to properly split up into python3-foo and foo-util package? Christoph Anton Mitterer <calestyo@scientia.org> - 2023-07-17 23:20 +0200
  Re: how to properly split up into python3-foo and foo-util package? Christoph Anton Mitterer <calestyo@scientia.org> - 2023-07-17 23:40 +0200
    Re: how to properly split up into python3-foo and foo-util package? Andrey Rakhmatullin <wrar@wrar.name> - 2023-07-18 00:00 +0200
  Re: how to properly split up into python3-foo and foo-util package? Christoph Anton Mitterer <calestyo@scientia.org> - 2023-07-17 23:40 +0200
    Re: how to properly split up into python3-foo and foo-util package? Simon McVittie <smcv@debian.org> - 2023-07-18 01:30 +0200

csiph-web