Path: csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Emmanuel Arias Newsgroups: linux.debian.maint.python Subject: Re: Existing package splits into dependent subpackages -- best packaging practice ? Date: Tue, 25 Feb 2025 18:00:01 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Feb 25 16:56:05 2025 Old-Return-Path: X-Amavis-Spam-Status: No, score=-112.849 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, PGPSIGNATURE=-5, 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: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="89RmDhsC/obc0dmo" Content-Disposition: inline X-Debian-User: eamanu X-Mailing-List: archive/latest/22847 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/Z732D5DYhVcX-syH@debian Approved: robomod@news.nic.it Lines: 120 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-python X-Original-Date: Tue, 25 Feb 2025 13:55:43 -0300 X-Original-Message-ID: X-Original-References: <26548.58731.571734.173421@rob.eddelbuettel.com> <26548.64929.74712.119971@rob.eddelbuettel.com> Xref: csiph.com linux.debian.maint.python:16741 --89RmDhsC/obc0dmo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! On Tue, Feb 18, 2025 at 03:37:37PM -0600, Dirk Eddelbuettel wrote: >=20 > Hi Emanuel, >=20 > Thanks for the prompt reply! >=20 > 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 bridge = =66rom > | > Python to R (which I tend to care more for), and am on friendly terms= 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 in = the same > | > source repo [2]. I am a casual Python user, and not all into packagin= g there > | > (source or for Debian). But I can wondering that this arrangement mus= t exist > | > elsewhere. Is there a good pattern I can borrow to build (and then in= stall ?) > | > rpy2-interfaces to then build (and install ?) rpy2-objects to then bu= ild > | > rpy2? > | > > | Seems very similar to basemap[0] > |=20 > | [0] https://sources.debian.org/src/basemap/1.4.1-1/ >=20 > I may have been unclear in what I was looking for. If I read this correc= tly, > then it "bends" the upstreeam layout to effectively undo the package spli= t? >=20 > I was thinking more along the lines of 'how do I create three binary Pyth= on > packages that are interdependent from one source repo'. Is that doable? >=20 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? cheers! > Dirk >=20 > | > Python users see these as independent as they are in three different = 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 eaman= u@debian.org > | =E2=A2=BF=E2=A1=84=E2=A0=98=E2=A0=B7=E2=A0=9A=E2=A0=8B=E2=A0=80 OpenP= GP: 13796755BBC72BB8ABE2AEB5 FA9DEC5DE11C63F1 =20 > | =E2=A0=88=E2=A0=B3=E2=A3=84 > | x[DELETED ATTACHMENT signature.asc, application/pgp-signature] >=20 > --=20 > dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org --=20 cheers, Emmanuel Arias =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 eamanu@de= bian.org =E2=A2=BF=E2=A1=84=E2=A0=98=E2=A0=B7=E2=A0=9A=E2=A0=8B=E2=A0=80 OpenPGP: = 13796755BBC72BB8ABE2AEB5 FA9DEC5DE11C63F1 =20 =E2=A0=88=E2=A0=B3=E2=A3=84 --89RmDhsC/obc0dmo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEE3lnVbvHK7ir4q61+p3sXeEcY/EFAme99g8ACgkQ+p3sXeEc Y/F6bA//SnVu+3wSCxi2y1l6aWmtDkBd2wwSJ1AzXWIcSzX/UkAFqzEyNeTIIfSY skEb1GIIBmQ5DfuLvybdD0JM6VNOb4RpFPLstAoiNVhMNSJPoCZA/PJqu1xmH5Ct hw/N1zLDwYxfVJkX2qEuQBI8eazsSpbDfZYtT0T5u1fQLWRRYeMxxR2broONv/On pGJ78Dsx4frJS1CaWcXtwVx+VNUs5g//Wq//J9EkDirWv14VnZDwRClHdZtXXupK XI/tNUBhIJX4tMyAwcn/bWJFaCSiiTUGd2c3fMzEFl9uQDljQIw0lKzTVsd5+647 QWsFz4Atnbm/EXffW8VRmOgfaeRzl9+eKuPsQmkeUyE0wBCUUTFYeybDxIZ9zf4Z a/ydUDaVt7UYlHtM3EPqmhecFSECKDfyK3vftTre4gDGbKrkeuMzABd1M5LvxjqW DCcFeoAOS0LLsTGipl9JIFs2fZkU5vWcN0Px6rZTnn08/AkKM90ea8ywPRc2nQD/ 3ZOchC3aesASVTqmjmvaks5AbY/dBkXtOyq4KXtSOcQUkxjXrAEqtJ7v2KroPl2A gNW0ZW9+INaduZImwyFJLtxTPCne/pxUf5zBNPK6rbMESnKq9V59wcKbL/oSTzPJ qs6uLtEeQOAhCeJGtH5Dlg203MQM03LVqHUuNc7trthl1Kh0Brk= =rtsI -----END PGP SIGNATURE----- --89RmDhsC/obc0dmo--