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 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: References: X-Original-To: Emmanuel Arias X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Feb 25 17:22:22 2025 Old-Return-Path: 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: archive/latest/22848 List-ID: List-URL: 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 , debian-python 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> <26548.64929.74712.119971@rob.eddelbuettel.com> Xref: csiph.com linux.debian.maint.python:16742 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