Andreas Wacknitz
2024-04-05 7fed103b26799c58bd185f75cbec69ec4c5461f7
commit | author | age
797b9b 1 #
MT 2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
6 #
7 # A full copy of the text of the CDDL should have accompanied this
8 # source.  A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
10 #
11
12 #
13 # Copyright 2022 Marcel Telka
14 #
15
16 # Create mediated symlinks in /usr/bin for python binaries
17 <transform file path=usr/bin/[^/]+-3\.\d+$ -> default tmp.fmri %{pkg.fmri} >
18 <transform file path=(usr/bin/)([^/]+)-(3\.\d+)$ tmp.fmri=.*runtime/python -> emit \
19     link path=%<1>%<2> target=%<2>-%<3> mediator=python mediator-version=%<3> >
20 <transform file path=(usr/bin/)([^/]+)-(3\.\d+)$ tmp.fmri=.*library/python/ -> emit \
21     link path=%<1>%<2> target=%<2>-%<3> mediator=python mediator-version=%<3> >
5cff2d 22 <transform file tmp.fmri=.* -> delete tmp.fmri .* >
8741d5 23
MT 24 # Bypass automatic detection of Python dependencies for files in
25 # vendor-packages directory.  Such dependencies are generated from Python
26 # project's metadata.
27 <transform file path=usr/lib/python3\.\d+/vendor-packages/ -> add \
28     pkg.depend.bypass-generate usr/lib/python3.* >