Search Criteria
Package Details: micropython 1.24.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/micropython.git (read-only, click to copy) |
---|---|
Package Base: | micropython |
Description: | Python3 for microcontrollers, with stdlib. (UNIX version) |
Upstream URL: | http://micropython.org/ |
Licenses: | MIT |
Submitter: | keenerd |
Maintainer: | bolleyboll |
Last Packager: | bolleyboll |
Votes: | 21 |
Popularity: | 0.023215 |
First Submitted: | 2014-06-03 23:11 (UTC) |
Last Updated: | 2024-12-05 18:13 (UTC) |
Dependencies (6)
- libffi (libffi-gitAUR)
- mbedtls (mbedtls-gitAUR, mbedtls-dtlsAUR)
- readline (readline-gitAUR)
- git (git-gitAUR, git-glAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- python-setuptools (make)
Latest Comments
1 2 3 4 Next › Last »
lorcap commented on 2024-12-20 22:41 (UTC) (edited on 2024-12-20 22:47 (UTC) by lorcap)
I've tried building locally and I'm facing some issues building the package.
Thanks for considering my work.
python-build might be needed within makedepends
What do we need it for?
I wasn't able to build the pletora of different packages that you've added
Me neither. I mean, some firmware are not so straightforward. At some point, I gave up and thought that either someone could help or that firmware is of little interest (for the Arch users, at least).
I hope it's clear why I added all those packages. To recap:
If we can possibly move the repo to Github?
I own a Gitbub account, too. See aur-micropython.
I'd be happy to support more boards from this package.
Thanks a lot. Let's go on in Github, then.
bolleyboll commented on 2024-12-20 18:42 (UTC)
Hey @lorcap, I've tried building locally and I'm facing some issues building the package.
Some issues I faced,
It would be good if I could open issues on the repo that you've shared, I'm not sure why bitbucket doesn't allow me to do that :-( If we can possibly move the repo to Github? I'd be happy to support more boards from this package.
lorcap commented on 2024-11-25 08:00 (UTC)
A friendly ping from my request below.
lorcap commented on 2024-11-15 10:25 (UTC)
Hi there, I saw this package was orphaned and I started working on it. I came up with an enhanced version which provides: micropython, mpremote, mpy-cross and (many, not all) board firmware images. Are you willing to accept my changes? You can have a look at https://bitbucket.org/lorcap/aur-micropython/. Thanks.
bolleyboll commented on 2024-01-14 09:44 (UTC)
@jimmo - Thanks for the pointers they seem genuinely helpful and I'll try to incorporate these. Seperating mlib and micropython, that I would need to test the changes once before I push these changes out.
@kseistrup - This seems intentional, however I'm not sure why this was put in place as this is something that was put in 5 years ago by Kyle.
For the time being I'm keeping the PKGBUILD as is and updating to 1.22.0, sometime in the next few weeks I'll push out another release with a newer PKGBUILD, I don't seem to have enough time to test everything due to high load at work.
kseistrup commented on 2023-12-29 10:04 (UTC)
This package (micropython-lib 1.21.0-1), when built, seems to contain only the LICENSE and nothing else. Is that intentional?
I do see some error during build, but that doesn't seem to deter makepkg from comtinuing:
jimmo commented on 2023-10-06 05:46 (UTC)
We're in the process of releasing MicroPython v1.21.0 today, the new tarball should be available shortly. Some suggestions for updating the PKGBUILD:
-Wno-dangling-pointer
is no longer required./local
, it would make more sense to passPREFIX=/usr
on themake
commandline.git clean
), as it doesn't match anything in the Makefile.MICROPY_PY_USSL
was renamed toMICROPY_PY_SSL
in v1.21.0. I'm not sure why the PKGBUILD is disabling ssl but enabling mbedtls though. Also mbedtls is now the default, so I think all three lines can be removed.MICROPY_PY_FFI=0
to themake
commandline instead. You also shouldn't needmake deplibs
because it's not usingMICROPY_STANDALONE
.mip
to the unix port by default, so the user can domicropython mip install <name>
to install the packages they need. TBH I'm not even sure what's here would work at all.Here's an updated PKGBUILD with the above changes: https://gist.github.com/jimmo/426d88ce30361aed3a540d9af08ecdb6
tee commented on 2023-09-20 05:29 (UTC)
See https://github.com/micropython/micropython/issues/11464#issuecomment-1543042388 for the dangling pointer workaround, use
make CFLAGS_EXTRA="-Wno-dangling-pointer"
.Radin commented on 2023-09-09 22:41 (UTC)
CC ../py/stackctrl.c ../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 *)&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:294:23: note: ‘mp_state_ctx’ declared here 294 | extern mp_state_ctx_t mp_state_ctx; | ^~~~~~~~~~~~ cc1: all warnings being treated as errors make: *** [../py/mkrules.mk:77: build/py/stackctrl.o] Error 1 ==> ERROR: A failure occurred in build(). Aborting... -> error making: micropython-exit status 4 -> Failed to install the following packages. Manual intervention is required: micropython - exit status 4
Does Not Build?andreas_baumann commented on 2023-09-07 08:39 (UTC)
Doesn't build:
1 2 3 4 Next › Last »