Micro Python is a lean and efficient implementation of the Python 3
programming language that includes a small subset of the Python
standard library and is optimised to run on microcontrollers and in
constrained environments.
lang/micropython: enable on armv7, fix on i386
Builds fine.
One unit test fails on armv7: basics/int_64_basics.py
Approved by: portmgr (build fix blanket)
MFH: 2026Q2
lang/micropython: upgrade to 1.28.0
- Add mbedtls and micropython-lib submodules via GH_TUPLE
- Use POSIX semaphores for mp_thread_mutex_t to fix cross-thread unlock
on FreeBSD (PTHREAD_MUTEX_ERRORCHECK rejects non-owner unlock with EPERM)
- Remove -Werror from mpy-cross and unix port Makefiles
- Fix select_poll_fd test: FreeBSD poll(2) checks kern.maxfilesperproc
(not RLIMIT_NOFILE), so print SKIP instead of assert False when 6000
fds do not trigger EINVAL
- Update ffi test patches for FreeBSD libc.so.7
- Compile ffi_lib.so in pre-test for ffi_int_* tests
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
lang/micropython: Update to 1.17
* Switch to GCC because building with Clang leads to a broken
"mpy-cross" binary, which segfaults if issued with several parameters
during build.
* REINPLACE_CMD should not be used to replace static content, hence
convert those occurrences into patches.
* Also update pkg-descr and sort variables a bit according to the PHB.
Reviewed by: decke (earlier revision)
Approved by: kai (python, maintainer)
Differential Revision: https://reviews.freebsd.org/D31855
Chanse update of devel/libffi
Chase the devel/libffi update
Bump portrevision of all dependent ports to chace shard library version bump
in libffi.
Update LIB_DEPENDS lines where needed to not require a specific version of
libffi.so.
PR: 247028 (for tracking)
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
For ports that are marked BROKEN on armv6, and also fail to build on
armv7, mark them so.
This is part two of a multipart commit to bring armv7 ports to parity
with armv6.
Approved by: portmgr (tier-2 blanket)
Obtained from: lonesome.com -exp run
Mark as broken on armv6. Although there is an assembler routine for arm,
the label "0:" is rejected.
Perhaps an update to 1.8.7 could help.
Approved by: portmgr (tier-2 blanket)
Never set WRKSRC when using USE_GITHUB.
If you want to set WRKSRC, set GH_PROJECT instead.
- The GitHub URLs are case insensitive, but the distribution files you
get out of them are not.
- If the repository was renamed, the old URL will still work, but the
distribution name will be ith the new name.
Sponsored by: Absolight
Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms).
In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
- Update to version 1.4
Major changes since 1.3.1:
- new builtins, ujson, uheapq, ubinascii modules
- new memoryview and compile builtins
- improvements for eval and exec
- array slice assignment support
- basix regex support
- x86 support for the native emitter
- many other fixes and improvements
Changelogs: https://github.com/micropython/micropython/release
Micro Python is a lean and fast implementation of the Python 3 programming
language that is optimised to run on a microcontroller.
WWW: http://www.micropython.org