python3 package for sculpt
Provides recipes for deploying python3 on sculpt. Also adds the feature of triggering the execution of python scripts on ROM updates (see python3.run).
This commit is contained in:
committed by
Norman Feske
parent
a5d06a5ce8
commit
a67a5de5ef
5
recipes/pkg/python3/README
Normal file
5
recipes/pkg/python3/README
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
Python interpreter version 3
|
||||
|
||||
This package runs a non-interactive python interpreter. The programm will execute
|
||||
a file `hello.py` provided a File_system session.
|
||||
6
recipes/pkg/python3/archives
Normal file
6
recipes/pkg/python3/archives
Normal file
@@ -0,0 +1,6 @@
|
||||
_/raw/python3
|
||||
_/src/libc
|
||||
_/src/libpython3
|
||||
_/src/python3
|
||||
_/src/vfs
|
||||
_/src/vfs_jitterentropy
|
||||
1
recipes/pkg/python3/hash
Normal file
1
recipes/pkg/python3/hash
Normal file
@@ -0,0 +1 @@
|
||||
2018-07-03 c2dd737dddf6f94e923806cb769d47b26a0d8d17
|
||||
17
recipes/pkg/python3/runtime
Normal file
17
recipes/pkg/python3/runtime
Normal file
@@ -0,0 +1,17 @@
|
||||
<runtime ram="32M" caps="200" binary="python3" config="python3.config">
|
||||
|
||||
<requires> <file_system/> <rtc /> </requires>
|
||||
|
||||
<content>
|
||||
<rom label="python3"/>
|
||||
<rom label="python3.lib.so"/>
|
||||
<rom label="python3.config"/>
|
||||
<rom label="ld.lib.so"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
<rom label="vfs_jitterentropy.lib.so"/>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="python3.tar"/>
|
||||
</content>
|
||||
|
||||
</runtime>
|
||||
4
recipes/raw/python3/content.mk
Normal file
4
recipes/raw/python3/content.mk
Normal file
@@ -0,0 +1,4 @@
|
||||
content: python3.config
|
||||
|
||||
python3.config:
|
||||
cp $(REP_DIR)/recipes/raw/python3/$@ $@
|
||||
1
recipes/raw/python3/hash
Normal file
1
recipes/raw/python3/hash
Normal file
@@ -0,0 +1 @@
|
||||
2018-07-03 37f7f0945ff5a585afff1c4f4c43cab0a104e2bb
|
||||
18
recipes/raw/python3/python3.config
Normal file
18
recipes/raw/python3/python3.config
Normal file
@@ -0,0 +1,18 @@
|
||||
<config>
|
||||
<pythonpath name="/python/Lib/:" />
|
||||
<file name="hello.py" />
|
||||
<vfs>
|
||||
<dir name="dev">
|
||||
<log/>
|
||||
<jitterentropy name="urandom" />
|
||||
<jitterentropy name="random" />
|
||||
<rtc/>
|
||||
<zero/>
|
||||
</dir>
|
||||
<dir name="python">
|
||||
<tar name="python3.tar" />
|
||||
</dir>
|
||||
<fs />
|
||||
</vfs>
|
||||
<libc stdin="/dev/zero" stdout="/dev/log" stderr="/dev/log" rtc="/dev/rtc"/>
|
||||
</config>
|
||||
@@ -1 +1 @@
|
||||
2018-06-26 ed89744a780cb71d1c3f2fdfe52d6c90bc87c919
|
||||
2018-07-03 9f3f71ff1b0534b62b1a5328962a45487bbf83a3
|
||||
|
||||
@@ -1 +1 @@
|
||||
2018-06-26 beb1cff416381790963ca24d3d2d1d0d3b24d1c8
|
||||
2018-07-03 4fc9571da9b41bf0c36391cecd5f630e91923695
|
||||
|
||||
Reference in New Issue
Block a user