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


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

Re: Existing package splits into dependent subpackages -- best packaging practice ?

Path csiph.com!news.mixmin.net!news2.arglkargh.de!news.karotte.org!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Dirk Eddelbuettel <edd@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Existing package splits into dependent subpackages -- best packaging practice ?
Date Tue, 25 Feb 2025 18:30:01 +0100
Message-ID <Kk6UN-1Vwy-3@gated-at.bofh.it> (permalink)
References <KhBV8-cGY-5@gated-at.bofh.it> <KhDay-dEJ-17@gated-at.bofh.it> <KhDtT-dLC-5@gated-at.bofh.it> <Kk6rL-1V6X-1@gated-at.bofh.it>
X-Original-To Emmanuel Arias <eamanu@debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Feb 25 17:22:22 2025
Old-Return-Path <edd@debian.org>
X-Amavis-Spam-Status No, score=-112.437 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-0.34, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, NICE_REPLY_A=-2.588, RCVD_IN_DNSWL_MED=-2.3, UNPARSEABLE_RELAY=0.001, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Mailer VM 8.2.0b under 29.4 (x86_64-pc-linux-gnu)
X-Debian-User edd
X-Mailing-List <debian-python@lists.debian.org> archive/latest/22848
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/26557.64571.860608.48719@rob.eddelbuettel.com
Approved robomod@news.nic.it
Lines 33
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Dirk Eddelbuettel <edd@debian.org>, debian-python <debian-python@lists.debian.org>
X-Original-Date Tue, 25 Feb 2025 11:22:03 -0600
X-Original-Message-ID <26557.64571.860608.48719@rob.eddelbuettel.com>
X-Original-References <26548.58731.571734.173421@rob.eddelbuettel.com> <Z7T5CfnNtak_B8fV@debian> <26548.64929.74712.119971@rob.eddelbuettel.com> <Z732D5DYhVcX-syH@debian>
Xref csiph.com linux.debian.maint.python:16742

Show key headers only | View raw


Hi Emmanuel, (and also Hi! to Julian whom I owe a follow-up too),

On 25 February 2025 at 13:55, Emmanuel Arias wrote:
| On Tue, Feb 18, 2025 at 03:37:37PM -0600, Dirk Eddelbuettel wrote:
| > I may have been unclear in what I was looking for.  If I read this correctly,
| > then it "bends" the upstreeam layout to effectively undo the package split?
| > 
| > I was thinking more along the lines of 'how do I create three binary Python
| > packages that are interdependent from one source repo'. Is that doable?
| > 
| I've forgotten the python-deadlib case. It is one upsream source
| repository and 12 binary packages from different folders from upsream.
| Maybe that you was looking?

Oh that looks very good. From a glance at debian/control some of these have
interdependencies too.  Ie python3-standard-aifc depends on
python3-standard-chunk which is the para in front of it. And debian/rules is
admirably simple.  That may work.  Then again the directory layout is a
little different because they are all 'sibblings'.

But as I have only three package, with the (old) "outer" package and two it
needs as top-level directories in the main repo, maybe I can just line up the
commands as per deadlib's loop.

I am still mighty confused about how to (normal) install step will pick up
the directories ... but the penny just dropped:  as per the *.install files
as you have it here. That could actually work.  Yay.

Dirk

-- 
dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Find similar


Thread

Existing package splits into dependent subpackages -- best packaging practice ? Dirk Eddelbuettel <edd@debian.org> - 2025-02-18 21:00 +0100
  Re: Existing package splits into dependent subpackages -- best  packaging practice ? Emmanuel Arias <eamanu@debian.org> - 2025-02-18 22:20 +0100
    Re: Existing package splits into dependent subpackages -- best  packaging practice ? Dirk Eddelbuettel <edd@debian.org> - 2025-02-18 22:40 +0100
      Re: Existing package splits into dependent subpackages -- best  packaging practice ? Julian Gilbey <julian@d-and-j.net> - 2025-02-23 23:40 +0100
      Re: Existing package splits into dependent subpackages -- best  packaging practice ? Emmanuel Arias <eamanu@debian.org> - 2025-02-25 18:00 +0100
        Re: Existing package splits into dependent subpackages -- best  packaging practice ? Dirk Eddelbuettel <edd@debian.org> - 2025-02-25 18:30 +0100

csiph-web