1 |
пн, 3 авг. 2020 г. в 11:05, Neil Bothwick <neil@××××××××××.uk>: |
2 |
> |
3 |
> On Mon, 3 Aug 2020 02:44:43 +0300, Alexey Mishustin wrote: |
4 |
> |
5 |
> > This should check if 3.9 is installed: |
6 |
> > if has_version '=dev-lang/python-3.9'; then |
7 |
> |
8 |
> Shouldn't that be has_version 'dev-lang/python:3.9' to check for any |
9 |
> version of 3.9? |
10 |
|
11 |
Sure! My fault. |
12 |
|
13 |
> However, that only checks for which python versions are installed before |
14 |
> the ebuild is invoked. Would it make more sense to check PYTHON_TARGETS |
15 |
> instead? That can also cover the situation of the package being |
16 |
> installed without 3.9 but then 3.9 being installed later as a rebuild |
17 |
> would be triggered by --changed-use. |
18 |
|
19 |
Looks like it's what Helmut was looking for. |
20 |
|
21 |
-- |
22 |
Best regards, |
23 |
Alex |