Marcel Telka
2023-03-30 1f2f71153c7d8b9077ebab400aa46b9cd5817ce3
transforms/generate-cleanup: transform $(PYVER) for usr/bin files from Python packages only

1 files modified
6 ■■■■■ changed files
transforms/generate-cleanup 6 ●●●●● patch | view | raw | blame | history
transforms/generate-cleanup
@@ -85,8 +85,10 @@
<transform file -> \
    edit path "^(usr/lib/python3\.\d+/vendor-packages/(.*/)?[^/]+)\.abi3\.so$" "\1.so">
# Replace Python version by $(PYVER)
<transform dir file link hardlink -> \
    edit path "^(usr/bin/[^/]+-)3\.\d+$" "\1$!(PYVER)">
<transform file path=usr/bin/[^/]+-3\.\d+$ -> default tmp.fmri $(COMPONENT_FMRI)>
<transform file tmp.fmri=.*runtime/python -> edit path "^(usr/bin/[^/]+-)3\.\d+$" "\1$!(PYVER)">
<transform file tmp.fmri=.*library/python/ -> edit path "^(usr/bin/[^/]+-)3\.\d+$" "\1$!(PYVER)">
<transform file tmp.fmri=.* -> delete tmp.fmri .*>
<transform dir file link hardlink -> \
    edit path "^(usr/lib/python3\.\d+/vendor-packages/[^/]+-py)3\.\d+(\.egg-info(/.*)?)$" "\1$!(PYVER)\2">
<transform dir file link hardlink -> \