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


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

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

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From c.buhtz@posteo.jp
Newsgroups linux.debian.maint.python
Subject Re: how to properly split up into python3-foo and foo-util package?
Date Wed, 12 Jul 2023 13:10:01 +0200
Message-ID <GQFTj-azS-9@gated-at.bofh.it> (permalink)
References <GQwdj-4nI-3@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Wed Jul 12 11:06:19 2023
Old-Return-Path <c.buhtz@posteo.jp>
X-Amavis-Spam-Status No, score=-9.508 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .posteo. - helo: .mout02.posteo. - helo-domain: .posteo.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
MIME-Version 1.0
Content-Type text/plain; charset=US-ASCII; format=flowed
Content-Transfer-Encoding 7bit
Mail-Followup-To debian-python@lists.debian.org
X-Mailing-List <debian-python@lists.debian.org> archive/latest/20956
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/1d5e9291839645c002219fab366a3eea@posteo.de
Approved robomod@news.nic.it
Lines 38
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 12 Jul 2023 11:05:57 +0000
X-Original-Message-ID <1d5e9291839645c002219fab366a3eea@posteo.de>
X-Original-References <22369ae5afe61e349375507a47c8945486503182.camel@scientia.org>
Xref csiph.com linux.debian.maint.python:15042

Show key headers only | View raw


Dear Christoph,

I'm sure I can not help you but I'm asking because I want to learn.

Do you have a link to your repository?

What do you mean by the terms "simple Python package" and "two 
packages"? These terms do not exists in Python context. 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" ?

> 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.

Am 12.07.2023 02:21 schrieb Christoph Anton Mitterer:
> 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 would be great if you could upload your "foo" repository somewhere 
when it works as an example.

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