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


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

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 Christoph Anton Mitterer <calestyo@scientia.org>
Newsgroups linux.debian.maint.python
Subject Re: how to properly split up into python3-foo and foo-util package?
Date Mon, 17 Jul 2023 23:20:01 +0200
Message-ID <GSDNn-Wh4-9@gated-at.bofh.it> (permalink)
References <GQwdj-4nI-3@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Jul 17 21:18:11 2023
Old-Return-Path <calestyo@scientia.org>
X-Amavis-Spam-Status No, score=-1.374 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SARE_MSGID_LONG40=0.637, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate: -3.5
X-Sender-ID instrampxe0y3a|x-authuser|calestyo@scientia.org
Arc-Seal i=1; s=arc-2022; d=mailchannels.net; t=1689627678; a=rsa-sha256; cv=none; b=ddEKbwARShdvySASgqANWzwm8uafLV55S3DQWxH+t8dq3GblqiRWgJcVMJ0CU+acjzxMee t6HNhqyDe6vRlUOgSNMIDUkuEpwuNxF4l1yno2czANibeOsw39gcH91FLa4upQMbvMdEzG qQ0r9nUMCIPUm2YF9we5/kw4lKtt772T5cq84eFPOVpbvF6U/LRDapY9nNwBhwGXcJpLiQ n1gTptZ0vXRIHqDAI2Bi3UsD2M4Q9fwgmnjp4/z2zXghDdTCpa6ETrHEPOUKFRnhXPP9+r Td67hcsd34yteHBmNSUwbdqbzCZZTHbDnziRW+U9FJHXu1Y5B9d23LUs+dxz1g==
Arc-Message-Signature i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1689627678; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=C2xAbQPK48LL8EbWajdaK0GiY79bxpU2Qv42qfuICtU=; b=Kn3nogXaBt9AAUI0hT78JQRtXOE2zEoSL9vxy5mMMjuOKLAVmuzFQ0+qgR4SBqilTJeS8T Ygpa4mLtUJnKqPxzqPwDTUOi7seWU3ZFz5OxLEMVehpFLO974oxxCkO3zO23/V2drweLMn nTAsz0/88agPQShkGweWfKCJaKO5nUvcIZd0J3qwFttIJSR1HneDfbi2icLL5mRyrf1+Nd clLPtCz9/Q1bHpPQRFBzeJBC6NZKtHbcqnRzzx8J8u1q7+YtCkCCgWsxYwen4sEJA0zG3E lq8zcPaGiNlq8PraueItsedG6oqMlJs/lmx2eKAu/TBqkQIW8aZqCi6CxkgA7w==
Arc-Authentication-Results i=1; rspamd-5595f87fc9-xvhdq; auth=pass smtp.auth=instrampxe0y3a smtp.mailfrom=calestyo@scientia.org
X-Sender-ID instrampxe0y3a|x-authuser|calestyo@scientia.org
X-Mc-Relay Neutral
X-Mc-Copy stored-urls
X-Mailchannels-Senderid instrampxe0y3a|x-authuser|calestyo@scientia.org
X-Mailchannels-Auth-ID instrampxe0y3a
X-Bubble-Inform 5fb4cadf5528f74d_1689627678458_2160615458
X-Mc-Loop-Signature 1689627678458:3612775050
X-Mc-Ingress-Time 1689627678458
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
User-Agent Evolution 3.48.4-1
MIME-Version 1.0
X-Authuser calestyo@scientia.org
X-Mailing-List <debian-python@lists.debian.org> archive/latest/20964
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/dd9588803df50725742f5080bcaa630a012683ac.camel@scientia.org
Approved robomod@news.nic.it
Lines 49
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc c.buhtz@posteo.jp
X-Original-Date Mon, 17 Jul 2023 23:01:10 +0200
X-Original-Message-ID <dd9588803df50725742f5080bcaa630a012683ac.camel@scientia.org>
X-Original-References <22369ae5afe61e349375507a47c8945486503182.camel@scientia.org>
Xref csiph.com linux.debian.maint.python:15049

Show key headers only | View raw


On Wed, 12 Jul 2023 11:05:57 +0000, c.buhtz@posteo.jp:

> Do you have a link to your repository?

I'm afraid it's not (yet) publicly available. The whole thing started
out as a poorly written set of shell scripts 10 years ago and I finally
got my act together to re-implement it in Python.

It still lacks a reasonable test suite, documentation, etc. pp. ... and
I wouldn't wan to "release" it in that (not even) half finished status.



> What do you mean by the terms "simple Python package" and "two
> packages"?

Sorry for the confusion... as Andrey already explained, the "two
packages" referred to Debian packages - not Python package (of which my
example would indeed have only one).


>     debian/control (all boring fields removed):
>       Source: foo
> 
> 
> I assume that "foo" is the "Distribution Package" ?

Indeed.



> I don't understand why there are two packages? Why two? I can not
> find that in your setup.

Again, this meant Debian packages... as already said by Andrey, it
follows from the conrol file,... and Simon gave good reasons why this
would make sense.


> You build two Debian packages (deb-files) out of one source tarball?
> Interesting to know that this is possible.

That's absolutely common... you should rather look at "monsters" like
the gcc Debian source packages, which build a few gazillion (it seems
sometimes ;-) ) binary packages out of one source package :-D


Cheers,
Chris

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