public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] ebuild : how to check for python version
@ 2020-08-02 14:47 Helmut Jarausch
  2020-08-02 16:15 ` Ramon Fischer
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Helmut Jarausch @ 2020-08-02 14:47 UTC (permalink / raw
  To: gentoo-user

Hi,
in an ebuild I have to apply a patch only if this package is installed  
for python3.9.
The ebuild should work for PYTHON_COMPAT=( python3_{8,9} )

How can I check for Pythons version in src_prepare or similar functions.

Many thanks for a hint,
Helmut


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-08-11 14:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-02 14:47 [gentoo-user] ebuild : how to check for python version Helmut Jarausch
2020-08-02 16:15 ` Ramon Fischer
2020-08-02 17:34   ` Helmut Jarausch
2020-08-02 20:13     ` james
2020-08-02 23:44 ` Alexey Mishustin
2020-08-03  8:05   ` Neil Bothwick
2020-08-03  9:57     ` Alexey Mishustin
2020-08-11 13:08 ` Mike Gilbert
2020-08-11 13:38   ` Helmut Jarausch
2020-08-11 14:35     ` Mike Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox