aboutsummaryrefslogtreecommitdiff
path: root/examples/python2.7/python-minimal.p5m.gen
blob: bfb85fe1d62005e82a3ada323e18d720e6bad765 (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
#!/bin/sh

set -e
set -u

tmp=/tmp/cibs-python-minimal.$$

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

cat <<'META' > $tmp
set name=pkg.fmri value=pkg:/runtime/python$(pyver)-minimal@$(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)"

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

META

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