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: 2026Q20f415d2616
Port details
lang/micropython1.28.0
Implementation of the Python language for microcontrollers
- Maintainer
- python@FreeBSD.org
- Packages
- micropython 1.28.0
- Upstream
- Higher version available: 1.29.0
- CPE
micropython:micropython- WWW
- https://www.micropython.org/
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (30)
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_* tests6c608356b6
*: Bump PORTREVISIONs for math/mpc update to 1.3.18d3e020ed0
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)fb16dfecae
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. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
devel/libffi: Bump deps PORTREVISION for shlib change PR: 263764 Reported by: VVD <vvd@unislabs.com>db78da8f8b
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/D3185531d9698334
lang/micropython: Assume maintainership for python@ Reported by: koobs MFH: 2021Q3334bcb11af
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
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)0e32330f15
Update devel/readline to 8.0 - Bump PORTREVISION of dependent ports for shlib change Changes: https://tiswww.case.edu/php/chet/readline/CHANGES PR: 236156 Exp-run by: antoine40c9c7f7eb
Update WWW96b02eb435
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
current python flavor. It can be used in dependency lines when the
port itself is not python flavored. For example, deskutils/calibre.
By default, all the flavors are generated. To only generate flavors
for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.
In all the ports with Python dependencies, the *_DEPENDS entries MUST
end with the flavor so that the framework knows which to build/use.
This is done by appending '@${PY_FLAVOR}' after the origin (or
@${FLAVOR} if in a Python module with Python flavors, as the content
will be the same). For example:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
PR: 223071
Reviewed by: portmgr, python
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D12464551be3c723For 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 runbf43557044
Update devel/readline to 7.0 patch 3 - Bump PORTREVISION for shlib change Changes: https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html Differential Revision: https://reviews.freebsd.org/D11172 PR: 219947 Exp-run by: antoinecb037d3c98
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)b5b7c98518
Reset mva@'s ports, he handed in his ports bit.e132ea6fc3
- Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL - Switch to new test framework Approved by: portmgr blanket8108ca187b
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: Absolightd83ff1e42e
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.89f8b05214
Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.
With hat: portmgr
Sponsored by: Absolighta9dcad2fff- Update to version 1.5.1 A full list of changes since version 1.4.1 can be found at https://github.com/micropython/micropython/releases. Changelog: https://github.com/micropython/micropython/releases/tag/v1.5.1e2c689dbf3
Don't use GH_TAGNAME when DISTVERSION* variables can be used. With hat: portmgr Sponsored by: Absolightfaaac0db42
- 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/release24b9f273e6
- Update to version 1.3.1 Changelog: https://github.com/micropython/micropython/releases/tag/v1.3.1a4acac5bf8
- Convert my ports to USES=python0ed44f8feb
- Update to version 1.2 - Respect CFLAGS and CPPFLAGS89e5af5da4
Add USES=readline to fix build on -current.2ac8e45b30
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.org00cf5a8d86