Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××.be>
To: gentoo-user@l.g.o
Subject: [gentoo-user] ebuild : how to check for python version
Date: Sun, 02 Aug 2020 14:47:53
Message-Id: 3N72GZ77.5GQLEHKR.MQE4Q2EH@4TY2KWZJ.LFRWJOCL.NKJKNN4X
1 Hi,
2 in an ebuild I have to apply a patch only if this package is installed
3 for python3.9.
4 The ebuild should work for PYTHON_COMPAT=( python3_{8,9} )
5
6 How can I check for Pythons version in src_prepare or similar functions.
7
8 Many thanks for a hint,
9 Helmut

Replies

Subject Author
Re: [gentoo-user] ebuild : how to check for python version Ramon Fischer <Ramon_Fischer@×××××××.de>
Re: [gentoo-user] ebuild : how to check for python version Alexey Mishustin <shumkar@×××××××.ru>
Re: [gentoo-user] ebuild : how to check for python version Mike Gilbert <floppym@g.o>