From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 56B30159C96 for ; Mon, 29 Jul 2024 20:49:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 75A74E2B2A; Mon, 29 Jul 2024 20:49:38 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DC6DBE2AEE for ; Mon, 29 Jul 2024 20:49:37 +0000 (UTC) Message-ID: <3214c893-57d4-4211-8524-7b21d2d8a9b3@gentoo.org> Date: Mon, 29 Jul 2024 16:49:29 -0400 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [gentoo-user] Re: 17 new packages because pip wants to write poetry? To: gentoo-user@lists.gentoo.org References: <5298f915-8e1e-40d6-b64c-da720eafad6f@gentoo.org> Content-Language: en-US From: Eli Schwartz Autocrypt: addr=eschwartz@gentoo.org; keydata= xjMEZmeRNBYJKwYBBAHaRw8BAQdAYNZ7pUDWhx1i2f3p6L2ZLu4FcY18UoeGC04Gq/khqwfN I0VsaSBTY2h3YXJ0eiA8ZXNjaHdhcnR6QGdlbnRvby5vcmc+wpYEExYKAD4WIQTvUdMIsc4j CIi+DYTqQj6ToWND8QUCZoRL+gIbAwUJBKKGAAULCQgHAwUVCgkICwUWAgMBAAIeBQIXgAAK CRDqQj6ToWND8aB5AP9r4kB691nNtNwKkdRiOdl7/k6WYzokvHvDamXxRJ0I+gEAjZqR5V8y mfR3fy2Z+r2Joeqdt3CIv5IwPs64spBvigLOOARmZ5E0EgorBgEEAZdVAQUBAQdATT46Z06b 1X9xjXFCYFxmq/Tj3tSEKZInDWTpoHQp4l8DAQgHwn4EGBYKACYWIQTvUdMIsc4jCIi+DYTq Qj6ToWND8QUCZmeRNAIbDAUJBKKGAAAKCRDqQj6ToWND8a2RAP40KPfbfoiZAJW5boFmFJ3G TUBDJRh9CWHyaPqq2PN+0wD/R07oLzfnJUN209mzi9TuTuHjeZybysyqXSw4MAxkMAY= In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------bsKfSyk4I7K4NwMwSXZdIpoG" X-Archives-Salt: a056ed6c-e76f-4db7-92dc-adcb076f890d X-Archives-Hash: fb814d24b62e7c84733d3f800499d8eb This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------bsKfSyk4I7K4NwMwSXZdIpoG Content-Type: multipart/mixed; boundary="------------t2LTix1OL0GqBWVs0d06S9RT"; protected-headers="v1" From: Eli Schwartz To: gentoo-user@lists.gentoo.org Message-ID: <3214c893-57d4-4211-8524-7b21d2d8a9b3@gentoo.org> Subject: Re: [gentoo-user] Re: 17 new packages because pip wants to write poetry? References: <5298f915-8e1e-40d6-b64c-da720eafad6f@gentoo.org> In-Reply-To: --------------t2LTix1OL0GqBWVs0d06S9RT Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 7/29/24 4:09 PM, Grant Edwards wrote: > Right, but that's only useful after you track down the trigger for the > new packages. What would be nice is avoiding that "tracking down" > effort. [I know, I should just relax, hit 'Y', and trust that emerge > and the devs know what they're doing.] That's basically just emerge -t though? >> As for why it needs to format markdown -- build dependencies of >> python software often do, since they want to render the darned stuff >> into the https://pypi.org display page for that software >=20 > Oh. Is that display page (in html?) written into a log somewhere or > shown during the build? It's stored inside an installed file called /usr/lib/python3.XX/site-packages/${PN}-${PV}.dist-info/METADATA The file format is described at https://packaging.python.org/en/latest/specifications/core-metadata/#desc= ription Of course, the specific metadata field in question is not actually useful for installed packages, only for web repository uploads, but there you have it... There is some useful metadata in that file, for example pip needs it to be able to list which names and versions are installed, and also to check whether each python module has its dependencies (or Extras dependencies) installed. But the stuff that uses rst and markdown is totally unnecessary for this, even though python build systems have to add it. >> aside: there are pip manpages, funny you should mention that. >=20 > When installed on Gentoo using dev-python/pip? >=20 >> I could totally add another bdepend on sphinx for this! But I would ha= ve >> to package some things first. :( >=20 > No thanks, sphinx would pull in 10 more packages. :) >=20 > If I need pip documentation, I can google for it or look at the > rst.bz2 files install in /usr/share/doc... >=20 > Thanks for tolerating my whinging. Gentoo doesn't install the manpages, no. We should. And per policy, manpages cannot be disabled by a USE flag: https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0305 But what we can do is build the manpages ourselves and add an extra SRC_URI to download that. And in this case it's a royal pain to package, including the fact that it requires sphinxcontrib-towncrier which has never released any version that isn't an alpha... amazing... --=20 Eli Schwartz --------------t2LTix1OL0GqBWVs0d06S9RT-- --------------bsKfSyk4I7K4NwMwSXZdIpoG Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature.asc" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTnFNnmK0TPZHnXm3qEp9ErcA0vVwUCZqgAWgUDAAAAAAAKCRCEp9ErcA0vV1RF AP9oqntduR31swN0dDRsHe4urUOoMxhe4U58XiF3j1bkAAD8DQhHgbmSuekyOb76ViMv4BrfFy3Q AbjCskeAlM8dPwM= =huvw -----END PGP SIGNATURE----- --------------bsKfSyk4I7K4NwMwSXZdIpoG--