Path: csiph.com!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, 18 Feb 2025 22:40:01 +0100 Message-ID: References: X-Original-To: Emmanuel Arias X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Feb 18 21:37:57 2025 Old-Return-Path: X-Amavis-Spam-Status: No, score=-110.437 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, 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, MURPHY_FINANCE10=0.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=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: VM 8.2.0b under 29.4 (x86_64-pc-linux-gnu) X-Debian-User: edd X-Mailing-List: archive/latest/22830 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/26548.64929.74712.119971@rob.eddelbuettel.com Approved: robomod@news.nic.it Lines: 76 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Dirk Eddelbuettel , debian-python X-Original-Date: Tue, 18 Feb 2025 15:37:37 -0600 X-Original-Message-ID: <26548.64929.74712.119971@rob.eddelbuettel.com> X-Original-References: <26548.58731.571734.173421@rob.eddelbuettel.com> Xref: csiph.com linux.debian.maint.python:16726 Hi Emanuel, Thanks for the prompt reply! On 18 February 2025 at 18:18, Emmanuel Arias wrote: | Hi! | On Tue, Feb 18, 2025 at 01:54:19PM -0600, Dirk Eddelbuettel wrote: | >=20 | > Hi all, | >=20 | > I have long maintained rpy2 (and rpy before) which provides a bridg= e from | > Python to R (which I tend to care more for), and am on friendly ter= ms with | > its author. You can see my repo at salsa [1], it is pretty vanilla.= | >=20 | > The upcoming upstream release will split into three packages, all i= n the same | > source repo [2]. I am a casual Python user, and not all into packag= ing there | > (source or for Debian). But I can wondering that this arrangement m= ust exist | > elsewhere. Is there a good pattern I can borrow to build (and then = install ?) | > rpy2-interfaces to then build (and install ?) rpy2-objects to then = build | > rpy2? | > | Seems very similar to basemap[0] |=20 | [0] https://sources.debian.org/src/basemap/1.4.1-1/ I may have been unclear in what I was looking for. If I read this corr= ectly, then it "bends" the upstreeam layout to effectively undo the package sp= lit? I was thinking more along the lines of 'how do I create three binary Py= thon packages that are interdependent from one source repo'. Is that doable?= Dirk | > Python users see these as independent as they are in three differen= t PyPI | > packages. | >=20 | > Is there a best or recommended way to approach this? CCs welcome, = I am not | > subscribed to debian-python. | >=20 | > Cheers, Dirk=20 | >=20 | >=20 | > [1] https://salsa.debian.org/edd/rpy2 | > [2] https://github.com/rpy2/rpy2 | > --=20 | > dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org |=20 | --=20 | cheers, | Emmanuel Arias |=20 | =E2=A2=80=E2=A3=B4=E2=A0=BE=E2=A0=BB=E2=A2=B6=E2=A3=A6=E2=A0=80 | =E2=A3=BE=E2=A0=81=E2=A2=A0=E2=A0=92=E2=A0=80=E2=A3=BF=E2=A1=81 eam= anu@debian.org | =E2=A2=BF=E2=A1=84=E2=A0=98=E2=A0=B7=E2=A0=9A=E2=A0=8B=E2=A0=80 Ope= nPGP: 13796755BBC72BB8ABE2AEB5 FA9DEC5DE11C63F1 =20 | =E2=A0=88=E2=A0=B3=E2=A3=84 | x[DELETED ATTACHMENT signature.asc, application/pgp-signature] --=20 dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org