<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/python/micropython, branch master</title>
<subtitle>Community maintained packages for OpenWrt</subtitle>
<id>http://x-nagi.com/cgit/packages/atom?h=master</id>
<link rel='self' href='http://x-nagi.com/cgit/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/'/>
<updated>2023-11-01T22:57:40Z</updated>
<entry>
<title>micropython: Update to 1.21.0, refresh/redo patches</title>
<updated>2023-11-01T22:57:40Z</updated>
<author>
<name>Jeffery To</name>
<email>jeffery.to@gmail.com</email>
</author>
<published>2023-10-15T14:16:44Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=db9202ccc52a3ef360cd1918db9376a5cfa4b25f'/>
<id>urn:sha1:db9202ccc52a3ef360cd1918db9376a5cfa4b25f</id>
<content type='text'>
Removed 050-py-stackctrl-fix-gcc-13.patch as it has been merged in the
new version.

This also:

* Add STRIP= (empty value) to skip micropython's stripping step, letting
  the OpenWrt build system control stripping.

* Add a workaround for "variable might be clobbered" warning leading to
  build error on riscv64
  (https://github.com/micropython/micropython/issues/12838).

* Change Build/InstallDev to install host tools into an unversioned
  directory, and update micropython-lib to use the unversioned path.
  There is no need to keep available multiple versions of the host
  tools.

* Add a test.sh script for the packages feed CI.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>micropython: fix stackctrl compilation for GCC 13</title>
<updated>2023-08-07T09:41:14Z</updated>
<author>
<name>Jean-Paul Etienne</name>
<email>fractalclone@gmail.com</email>
</author>
<published>2023-08-05T22:13:10Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=4c1b74ede3a1d8c5b8b1594a01a2048325ee6c23'/>
<id>urn:sha1:4c1b74ede3a1d8c5b8b1594a01a2048325ee6c23</id>
<content type='text'>
On host PC using GCC 13, stackctrl.c fails to compile
with the following error:

../py/stackctrl.c: In function 'mp_stack_ctrl_init':
../py/stackctrl.c:32:32: error: storing the address of
   local variable 'stack_dummy'
   in 'mp_state_ctx.thread.stack_top' [-Werror=dangling-pointer=]
   32 |     MP_STATE_THREAD(stack_top) = (char *)&amp;stack_dummy;
../py/stackctrl.c:31:18: note: 'stack_dummy' declared here
   31 |     volatile int stack_dummy;
      |                  ^~~~~~~~~~~
In file included from ../py/runtime.h:29,
                 from ../py/stackctrl.c:27:
../py/mpstate.h:296:23: note: 'mp_state_ctx' declared here
  296 | extern mp_state_ctx_t mp_state_ctx;
      |                       ^~~~~~~~~~~~
cc1: all warnings being treated as errors

Fixed accordingly by ignoring -dangling-pointer warning
inside mp_stack_ctrl_init function.

Signed-off-by: Jean-Paul Etienne &lt;fractalclone@gmail.com&gt;
</content>
</entry>
<entry>
<title>micropython: Update to 1.20.0, refresh/rework patches</title>
<updated>2023-06-02T13:39:44Z</updated>
<author>
<name>Jeffery To</name>
<email>jeffery.to@gmail.com</email>
</author>
<published>2023-05-29T18:22:30Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=a4ae38494f0c12799b343eb521ca13123c0bb4e3'/>
<id>urn:sha1:a4ae38494f0c12799b343eb521ca13123c0bb4e3</id>
<content type='text'>
Patches 000-Makefile-no-errors.patch and 020-mpy-cross-fix-flags.patch
are no longer necessary.

This also adds a Build/InstallDev recipe to install files necessary for
micropython-lib.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>micropython: Update to 1.18, refresh patches</title>
<updated>2022-01-24T23:43:39Z</updated>
<author>
<name>Jeffery To</name>
<email>jeffery.to@gmail.com</email>
</author>
<published>2022-01-23T18:34:18Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=af341cd76e05c8aced9519b6f38eadd0f9741816'/>
<id>urn:sha1:af341cd76e05c8aced9519b6f38eadd0f9741816</id>
<content type='text'>
Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>micropython: Update to 1.17, reorganize package</title>
<updated>2022-01-12T00:24:13Z</updated>
<author>
<name>Jeffery To</name>
<email>jeffery.to@gmail.com</email>
</author>
<published>2022-01-11T09:33:40Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=b9d10fc3e675acd8074e8b93737d3f1dcf74654b'/>
<id>urn:sha1:b9d10fc3e675acd8074e8b93737d3f1dcf74654b</id>
<content type='text'>
Previous versions used a bundled version of the axTLS library. The
MicroPython project maintains their own fork[1], as development of the
library appears to have stopped (the last release was version 2.1.5 in
2019[2]).

This replaces the use of axTLS with two variants, one using mbedTLS and
one with no TLS support (and no upip, as it uses the ussl module). The
external mbedTLS patch (040-extmod-use-external-mbedtls.patch) comes
from Debian[3].

This also sets myself as the maintainer.

[1]: https://github.com/micropython/axtls
[2]: https://sourceforge.net/projects/axtls/files/
[3]: https://salsa.debian.org/yangfl-guest/micropython/-/blob/master/debian/patches/0006-extmod-Use-system-mbedtls.patch

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: Run refresh on all packages</title>
<updated>2021-02-21T00:02:15Z</updated>
<author>
<name>Ilya Lipnitskiy</name>
<email>ilya.lipnitskiy@gmail.com</email>
</author>
<published>2021-02-21T00:02:15Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=5d8d4fbbcb5c5de9370711c19bb3510210989a98'/>
<id>urn:sha1:5d8d4fbbcb5c5de9370711c19bb3510210989a98</id>
<content type='text'>
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy &lt;ilya.lipnitskiy@gmail.com&gt;
</content>
</entry>
<entry>
<title>micropython: fix compilation without sys/cdefs</title>
<updated>2020-08-10T22:29:06Z</updated>
<author>
<name>Rosen Penev</name>
<email>rosenp@gmail.com</email>
</author>
<published>2020-08-10T20:10:11Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=af76685638d5421eeaa54fbe96387479a9ba5bc6'/>
<id>urn:sha1:af76685638d5421eeaa54fbe96387479a9ba5bc6</id>
<content type='text'>
sys/cdefs.h is not provided by musl. micropython also includes its own
copy.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>micropython: Update to 1.94</title>
<updated>2018-10-06T18:52:51Z</updated>
<author>
<name>Rosen Penev</name>
<email>rosenp@gmail.com</email>
</author>
<published>2018-10-05T20:31:25Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=93ea312b2ba0dd276783886c7d002eb26604a562'/>
<id>urn:sha1:93ea312b2ba0dd276783886c7d002eb26604a562</id>
<content type='text'>
Switched to normal tarballs for simplicity. Also rearanged Makefile.

Refreshed patches.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>micropython: updated to v1.9.2, micropython-lib: updated to v1.9</title>
<updated>2017-09-23T11:51:06Z</updated>
<author>
<name>Anton Patrushev</name>
<email>apatrushev@gmail.com</email>
</author>
<published>2017-09-22T17:54:38Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=dc0b2e60a7263bac3e3245b2058b7a12095f2cb9'/>
<id>urn:sha1:dc0b2e60a7263bac3e3245b2058b7a12095f2cb9</id>
<content type='text'>
Signed-off-by: Anton Patrushev &lt;apatrushev@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: run "make check FIXUP=1"</title>
<updated>2017-08-30T04:41:14Z</updated>
<author>
<name>Etienne Champetier</name>
<email>champetier.etienne@gmail.com</email>
</author>
<published>2017-08-28T04:28:09Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=4006865ae81b20b1793ae2a07db20235fefd2c71'/>
<id>urn:sha1:4006865ae81b20b1793ae2a07db20235fefd2c71</id>
<content type='text'>
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier &lt;champetier.etienne@gmail.com&gt;
</content>
</entry>
</feed>
