aboutsummaryrefslogtreecommitdiff
path: root/examples/python2.7/python.p5m.gen
blob: 68c16ea99421ec0827e431ac3e3c6c077eafa763 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh

set -e
set -u

tmp=/tmp/cibs-python.$$

proto=${proto:-work/proto/python}

cat <<'META' > $tmp
set name=pkg.fmri value=pkg:/runtime/python$(pyver)@$(ips-version)
set name=pkg.summary value="Minimal subset of the Python language (version $(pyver))"
set name=info.upstream-url value="$(home)"
set name=info.source-url value="$(download)"

license $(license-file) license="$(license)"

depend fmri=pkg:/runtime/python$(pyver)-minimal@$(ips-version) type=require
depend fmri=pkg:/runtime/python$(pyver)-minimal@$(ips-version) type=incorporate

<transform file path=.*\.py -> add pkg.depend.bypass-generate .*>

META

/usr/share/cibs/scripts/make-payload $proto >> $tmp
cat $tmp
rm $tmp