diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-05-06 11:18:06 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-05-08 14:32:48 +0200 |
| commit | aff1a7696b6fe7b83374ea20c2e08772b7186cc2 (patch) | |
| tree | f4df018ebae5510196d2d98e93a73186f460f75c /dev-lang/python/python-3.14.0_beta1.ebuild | |
| parent | 327899889ff0d4841870c0a81fa5adaa4b3fada0 (diff) | |
| download | gentoo-aff1a7696b6fe7b83374ea20c2e08772b7186cc2.tar.gz gentoo-aff1a7696b6fe7b83374ea20c2e08772b7186cc2.tar.bz2 gentoo-aff1a7696b6fe7b83374ea20c2e08772b7186cc2.zip | |
python-utils-r1.eclass: Switch python_optimize to use -s
Switch `python_optimize()` to use a combination of `-s` and `-p` options
instead of `-d`, since the latter does not seem to work correctly
in some cases, e.g. with `www-servers/uwsgi`:
```
The stripdir path '/tmp/portage/www-servers/uwsgi-2.0.27/image/usr/lib/python3.13/site-packages/' is not a valid prefix for source path '/tmp/portage/www-servers/uwsgi-2.0.27/image/usr/lib/python3.13/site-packages/uwsgidecorators.py'; ignoring
```
These options are supported in all Python versions the eclasses
currently do support.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-lang/python/python-3.14.0_beta1.ebuild')
0 files changed, 0 insertions, 0 deletions
