<pre style='margin:0'>
Zhenfu Shi (i0ntempest) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2fad8e9c3b5b801518c05705ae4859d4f5c43951">https://github.com/macports/macports-ports/commit/2fad8e9c3b5b801518c05705ae4859d4f5c43951</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 2fad8e9c3b5 micropython: submission
</span>2fad8e9c3b5 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2fad8e9c3b5b801518c05705ae4859d4f5c43951
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Thu Jun 30 18:08:22 2022 -0400
<span style='display:block; white-space:pre;color:#404040;'> micropython: submission
</span>---
devel/micropython/Portfile | 69 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/micropython/Portfile b/devel/micropython/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..dd71299ce10
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/micropython/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,69 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup makefile 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name micropython
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.19.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {i0ntempest @i0ntempest} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Python implementation for microcontrollers and constrained systems
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description The MicroPython project aims to put an implementation of Python 3.x on \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ microcontrollers and small embedded systems. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MicroPython implements the entire Python 3.4 syntax (including exceptions, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ with, yield from, etc., and additionally async/await keywords from Python 3.5). \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ The following core datatypes are provided: str (including basic Unicode support), \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bytes, bytearray, tuple, list, dict, set, frozenset, array.array, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ collections.namedtuple, classes and instances. Builtin modules include sys, time, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ and struct, etc. Select ports have support for _thread module (multithreading). \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Note that only a subset of Python 3 functionality is implemented for the data types and modules.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 8216d05bc459aa20e329c29836da5f7d27fe2449 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 940e3815e8c425c6eaed3a2aa30d320220cc012a2654b6e086e1b6f0567df350 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 72269360
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://micropython.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ${homepage}resources/source/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url ${homepage}download/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_xz yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+makefile.override-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PREFIX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${name} eq ${subport}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libffi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:mpy-cross
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.dir ${worksrcpath}/ports/unix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set docdir ${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -W ${worksrcpath} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ README.md LICENSE ACKNOWLEDGEMENTS CONTRIBUTING.md CODECONVENTIONS.md CODEOFCONDUCT.md \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport mpy-cross {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description MicroPython cross compiler utility
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description mpy-cross is the MicroPython cross compiler utility, used to pre-compile \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ python files into bytecode suitable for running on your target.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.dir ${worksrcpath}/mpy-cross
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 ${build.dir}/${subport} ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set docdir ${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -W ${build.dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ README.md \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>