public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/
@ 2025-06-13  0:11 Sam James
  0 siblings, 0 replies; 19+ messages in thread
From: Sam James @ 2025-06-13  0:11 UTC (permalink / raw
  To: gentoo-commits

commit:     fe7ad624aa9b87341dfd89fd8780b7076af4f7ae
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 13 00:10:42 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 13 00:10:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe7ad624

dev-lang/micropython: fix RDEPEND for libffi

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/micropython/micropython-1.25.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-lang/micropython/micropython-1.25.0.ebuild b/dev-lang/micropython/micropython-1.25.0.ebuild
index 5438dc2126f3..21c4593a7694 100644
--- a/dev-lang/micropython/micropython-1.25.0.ebuild
+++ b/dev-lang/micropython/micropython-1.25.0.ebuild
@@ -18,6 +18,7 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 DEPEND="dev-libs/libffi:="
+RDEPEND="${DEPEND}"
 BDEPEND="
 	${PYTHON_DEPS}
 	virtual/pkgconfig


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/
@ 2025-06-22  9:47 Sam James
  0 siblings, 0 replies; 19+ messages in thread
From: Sam James @ 2025-06-22  9:47 UTC (permalink / raw
  To: gentoo-commits

commit:     fec7440bc405a099f3e5e0efef019f1773760db7
Author:     Z. Liu <zhixu.liu <AT> gmail <DOT> com>
AuthorDate: Wed Jun 18 13:13:00 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 22 09:46:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fec7440b

dev-lang/micropython: fix build issue using mold

remove link option "--cref" because mold doesn't support

not all files were patched, but the compilation & tests succeeded.

Closes: https://bugs.gentoo.org/937354
Signed-off-by: Z. Liu <zhixu.liu <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42654
Closes: https://github.com/gentoo/gentoo/pull/42654
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/micropython/micropython-1.23.0.ebuild | 11 ++++++++++-
 dev-lang/micropython/micropython-1.25.0.ebuild |  8 ++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/dev-lang/micropython/micropython-1.23.0.ebuild b/dev-lang/micropython/micropython-1.23.0.ebuild
index a35b07da8c2f..6d07e5dbd032 100644
--- a/dev-lang/micropython/micropython-1.23.0.ebuild
+++ b/dev-lang/micropython/micropython-1.23.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -26,6 +26,15 @@ PATCHES=(
 
 src_prepare() {
 	default
+
+	tc-ld-is-mold && {
+		# mold doesn't support --cref, bug #937354
+		find . -name Makefile -exec sed -r \
+			-e 's:map,--cref\s:map :g' \
+			-e 's:\s(-Wl,)?--cref(\s|$): :g' \
+			-i {} + || die
+	}
+
 	cd ports/unix || die
 
 	# 1) don't die on compiler warning

diff --git a/dev-lang/micropython/micropython-1.25.0.ebuild b/dev-lang/micropython/micropython-1.25.0.ebuild
index 21c4593a7694..ad0c5daea652 100644
--- a/dev-lang/micropython/micropython-1.25.0.ebuild
+++ b/dev-lang/micropython/micropython-1.25.0.ebuild
@@ -27,6 +27,14 @@ BDEPEND="
 src_prepare() {
 	default
 
+	tc-ld-is-mold && {
+		# mold doesn't support --cref, bug #937354
+		find . -name Makefile -exec sed -r \
+			-e 's:map,--cref\s:map :g' \
+			-e 's:\s(-Wl,)?--cref(\s|$): :g' \
+			-i {} + || die
+	}
+
 	micropython_skip_test() {
 		local file
 		for file in "$@" ; do


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/
@ 2025-06-13  0:11 Sam James
  0 siblings, 0 replies; 19+ messages in thread
From: Sam James @ 2025-06-13  0:11 UTC (permalink / raw
  To: gentoo-commits

commit:     da755f3682c97a600660e47bdcc6897c62b6b6f9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 13 00:09:58 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 13 00:09:58 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da755f36

dev-lang/micropython: add TODO for test runner

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/micropython/micropython-1.25.0.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-lang/micropython/micropython-1.25.0.ebuild b/dev-lang/micropython/micropython-1.25.0.ebuild
index 7b92e01519aa..5438dc2126f3 100644
--- a/dev-lang/micropython/micropython-1.25.0.ebuild
+++ b/dev-lang/micropython/micropython-1.25.0.ebuild
@@ -74,6 +74,8 @@ src_compile() {
 }
 
 src_test() {
+	# TODO: Switch this to using run-tests.py so we get better output
+	# on failures and can skip tests using regex?
 	emake V=1 -C ports/unix \
 		PYTHON="${EPYTHON}" \
 		MICROPY_CPYTHON3="${EPYTHON}" \


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/
@ 2025-06-13  0:09 Sam James
  0 siblings, 0 replies; 19+ messages in thread
From: Sam James @ 2025-06-13  0:09 UTC (permalink / raw
  To: gentoo-commits

commit:     ea02deeec1ffec0e391c400cf458939ebdf41d9c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 12 23:45:35 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 13 00:08:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea02deee

dev-lang/micropython: respect python-any-r1 more

The Makefiles call $(PYTHON) in places which defaults to 'python3' and
tests have their own variable.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/micropython/micropython-1.25.0.ebuild | 24 ++++++++++++++++--------
 1 file changed, 16 insertions(+), 8 deletions(-)

diff --git a/dev-lang/micropython/micropython-1.25.0.ebuild b/dev-lang/micropython/micropython-1.25.0.ebuild
index 2632c621e07e..c6f41ebfd277 100644
--- a/dev-lang/micropython/micropython-1.25.0.ebuild
+++ b/dev-lang/micropython/micropython-1.25.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..13} )
+PYTHON_COMPAT=( python3_{11..13} )
 
 inherit toolchain-funcs python-any-r1
 
@@ -17,10 +17,10 @@ KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
-DEPEND="
-	dev-libs/libffi:=
-	virtual/pkgconfig
+DEPEND="dev-libs/libffi:="
+BDEPEND="
 	${PYTHON_DEPS}
+	virtual/pkgconfig
 "
 
 src_prepare() {
@@ -50,7 +50,7 @@ src_compile() {
 	einfo ""
 	einfo "Building the mpy-crosscompiler."
 	einfo ""
-	emake V=1 -C mpy-cross CC="$(tc-getCC)"
+	emake V=1 -C mpy-cross PYTHON="${EPYTHON}" CC="$(tc-getCC)"
 
 	# Finally, build the unix port.
 	einfo ""
@@ -58,15 +58,23 @@ src_compile() {
 	einfo ""
 	# Empty `STRIP=` leaves symbols + debug info intact. Let portage handle it.
 	# https://github.com/micropython/micropython/tree/master/ports/unix/README.md
-	emake V=1 -C ports/unix CC="$(tc-getCC)" STRIP=
+	emake V=1 -C ports/unix PYTHON="${EPYTHON}" CC="$(tc-getCC)" STRIP=
 }
 
 src_test() {
-	emake V=1 -C ports/unix CC="$(tc-getCC)" test
+	emake V=1 -C ports/unix \
+		PYTHON="${EPYTHON}" \
+		MICROPY_CPYTHON3="${EPYTHON}" \
+		CC="$(tc-getCC)" \
+		test
 }
 
 src_install() {
-	emake V=1 -C ports/unix CC="$(tc-getCC)" DESTDIR="${D}" install
+	emake V=1 -C ports/unix \
+		PYTHON="${EPYTHON}" \
+		CC="$(tc-getCC)" \
+		DESTDIR="${D}" \
+		install
 
 	# remove .git files
 	find tools -type f -name '.git*' -delete || die


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/
@ 2025-06-13  0:09 Sam James
  0 siblings, 0 replies; 19+ messages in thread
From: Sam James @ 2025-06-13  0:09 UTC (permalink / raw
  To: gentoo-commits

commit:     f1b3b7d9ccbe07d75eb06700366450fd1f35ac39
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 12 23:32:36 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 13 00:08:31 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1b3b7d9

dev-lang/micropython: skip extmod_select_poll_fd test

This test (and only this test) failed for me with:
```
--- tests/results/extmod_select_poll_fd.py.exp  2025-06-13 00:21:41.912587843 +0100
+++ tests/results/extmod_select_poll_fd.py.out  2025-06-13 00:21:41.912662784 +0100
@@ -1,9 +1,7 @@
-CPYTHON3 CRASH:
 ValueError
 [(1, 4)]
 []
 Traceback (most recent call last):
   File "/var/tmp/portage/dev-lang/micropython-1.25.0/work/micropython-1.25.0/tests/extmod/select_poll_fd.py", line 45, in <module>
-    assert False
-           ^^^^^
-AssertionError
+AssertionError:
+CRASH
\ No newline at end of file
```

It seems to be just a minor formatting thing between CPython versions,
but skip it at least for now. Will see about fixing the CPython version
it tests against in a followup.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/micropython/micropython-1.25.0.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dev-lang/micropython/micropython-1.25.0.ebuild b/dev-lang/micropython/micropython-1.25.0.ebuild
index 6d370c6a9a3d..2632c621e07e 100644
--- a/dev-lang/micropython/micropython-1.25.0.ebuild
+++ b/dev-lang/micropython/micropython-1.25.0.ebuild
@@ -26,6 +26,13 @@ DEPEND="
 src_prepare() {
 	default
 
+	# Fails with minor output differences but also seems sensitive
+	# to timeout.
+	cat <<-EOF > tests/extmod/select_poll_fd.py || die
+	print("SKIP")
+	raise SystemExit
+	EOF
+
 	# Both ports/unix and mpy-cross need their Makefile changed.
 	# 1) don't die on compiler warning
 	# 2) remove /usr/local prefix references in favour of /usr


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/
@ 2025-06-13  0:09 Sam James
  0 siblings, 0 replies; 19+ messages in thread
From: Sam James @ 2025-06-13  0:09 UTC (permalink / raw
  To: gentoo-commits

commit:     0e1febd9151d05013fd6ebcf65193d6e0ecf5d5e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 13 00:08:09 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 13 00:08:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e1febd9

dev-lang/micropython: enable py3.14

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/micropython/micropython-1.25.0.ebuild | 22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)

diff --git a/dev-lang/micropython/micropython-1.25.0.ebuild b/dev-lang/micropython/micropython-1.25.0.ebuild
index c6f41ebfd277..7b92e01519aa 100644
--- a/dev-lang/micropython/micropython-1.25.0.ebuild
+++ b/dev-lang/micropython/micropython-1.25.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{11..13} )
+PYTHON_COMPAT=( python3_{11..14} )
 
 inherit toolchain-funcs python-any-r1
 
@@ -26,12 +26,24 @@ BDEPEND="
 src_prepare() {
 	default
 
+	micropython_skip_test() {
+		local file
+		for file in "$@" ; do
+			cat <<-EOF > "${file}" || die
+			print("SKIP")
+			raise SystemExit
+			EOF
+		done
+	}
+
 	# Fails with minor output differences but also seems sensitive
 	# to timeout.
-	cat <<-EOF > tests/extmod/select_poll_fd.py || die
-	print("SKIP")
-	raise SystemExit
-	EOF
+	micropython_skip_test tests/extmod/select_poll_fd.py
+	# These fail with Python 3.14
+	micropython_skip_test tests/basics/try_finally_break{,{2..5}}.py
+	micropython_skip_test tests/basics/try_finally_return{,{2..5}}.py
+	micropython_skip_test tests/float/math_fun{,_special}.py
+	micropython_skip_test tests/float/complex1.py
 
 	# Both ports/unix and mpy-cross need their Makefile changed.
 	# 1) don't die on compiler warning


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/
@ 2025-06-13  0:09 Sam James
  0 siblings, 0 replies; 19+ messages in thread
From: Sam James @ 2025-06-13  0:09 UTC (permalink / raw
  To: gentoo-commits

commit:     04d466f4878dffacd99accdfc59c006b1842db72
Author:     Daniella Kicsak <nosqrt <AT> outlook <DOT> com>
AuthorDate: Sun Mar  9 08:55:46 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 13 00:08:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04d466f4

dev-lang/micropython: add 1.25.0

Closes: https://bugs.gentoo.org/829564
Closes: https://bugs.gentoo.org/859286
Closes: https://bugs.gentoo.org/859289
Closes: https://bugs.gentoo.org/908985
Closes: https://bugs.gentoo.org/930517
Closes: https://bugs.gentoo.org/936121
Closes: https://bugs.gentoo.org/940699
Closes: https://bugs.gentoo.org/951159
Signed-off-by: Daniella Kicsak <nosqrt <AT> outlook.com>
Part-of: https://github.com/gentoo/gentoo/pull/40972
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/micropython/Manifest                  |  1 +
 dev-lang/micropython/micropython-1.25.0.ebuild | 69 ++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/dev-lang/micropython/Manifest b/dev-lang/micropython/Manifest
index 7f6857c39611..c5d4867b2d7b 100644
--- a/dev-lang/micropython/Manifest
+++ b/dev-lang/micropython/Manifest
@@ -1 +1,2 @@
 DIST micropython-1.23.0.tar.xz 85748224 BLAKE2B 3fca138bbe9a676c671812625ac374e82c3c91bb41db32557747ea4d28941de92be80bbf2e642f9094427dbcf6ee285c63ddad66510287074edb716017599384 SHA512 16f065bbbed1469587597193e7131ed9278ca2b22c8614098b5c79060f853db2a5a38ffe85688126cee86a5cb110d74840f50be4b009a687d7d310b54de2b2b5
+DIST micropython-1.25.0.tar.xz 109072312 BLAKE2B ac72d26fc2550bc7411749ba36d67a9cdc8d712c1a9789fd8ff162c651217b2e2417edbec0063285a982dc3f42955a3a324acc6fcb7e8e463f6fe5f47032fbbb SHA512 c20b2357d7bfda3bafbff73e7c991db14c2aa5041a3caa8f4c2e092e54f6b15953c3aa2f67129e7271efda180b69ebe8609101fce5f569d8470af900be560935

diff --git a/dev-lang/micropython/micropython-1.25.0.ebuild b/dev-lang/micropython/micropython-1.25.0.ebuild
new file mode 100644
index 000000000000..6d370c6a9a3d
--- /dev/null
+++ b/dev-lang/micropython/micropython-1.25.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..13} )
+
+inherit toolchain-funcs python-any-r1
+
+DESCRIPTION="Python implementation for microcontrollers"
+HOMEPAGE="https://micropython.org https://github.com/micropython/micropython"
+SRC_URI="https://micropython.org/resources/source/${P}.tar.xz"
+
+LICENSE="Apache-2.0 BSD BSD-1 BSD-4 GPL-2 GPL-2+ ISC LGPL-3 MIT OFL-1.1 ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+	dev-libs/libffi:=
+	virtual/pkgconfig
+	${PYTHON_DEPS}
+"
+
+src_prepare() {
+	default
+
+	# Both ports/unix and mpy-cross need their Makefile changed.
+	# 1) don't die on compiler warning
+	# 2) remove /usr/local prefix references in favour of /usr
+	# 3) enforce our CFLAGS (Only change the first `CFLAGS +=`)
+	# 4) enforce our LDFLAGS (Only change the first `LDFLAGS +=`)
+	sed -e 's#-Werror##g;' \
+		-e "s#/usr/local#${EPREFIX}#g" \
+		-e "0,/^CFLAGS +=/{s#^CFLAGS += \(.*\)#CFLAGS += \1 ${CFLAGS}#g}" \
+		-e "0,/^LDFLAGS +=/{s#^LDFLAGS += \(.*\)#LDFLAGS += \1 ${LDFLAGS}#g}" \
+		-i ports/unix/Makefile mpy-cross/Makefile || die "can't patch Makefile"
+}
+
+src_compile() {
+	# Build the cross-compiler first. Build fails without this.
+	einfo ""
+	einfo "Building the mpy-crosscompiler."
+	einfo ""
+	emake V=1 -C mpy-cross CC="$(tc-getCC)"
+
+	# Finally, build the unix port.
+	einfo ""
+	einfo "Building the micropython unix port."
+	einfo ""
+	# Empty `STRIP=` leaves symbols + debug info intact. Let portage handle it.
+	# https://github.com/micropython/micropython/tree/master/ports/unix/README.md
+	emake V=1 -C ports/unix CC="$(tc-getCC)" STRIP=
+}
+
+src_test() {
+	emake V=1 -C ports/unix CC="$(tc-getCC)" test
+}
+
+src_install() {
+	emake V=1 -C ports/unix CC="$(tc-getCC)" DESTDIR="${D}" install
+
+	# remove .git files
+	find tools -type f -name '.git*' -delete || die
+
+	dodoc -r tools
+	einstalldocs
+}


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/
@ 2025-03-21 18:32 Arthur Zamarin
  0 siblings, 0 replies; 19+ messages in thread
From: Arthur Zamarin @ 2025-03-21 18:32 UTC (permalink / raw
  To: gentoo-commits

commit:     31b5b509e653c1d5b9611402482943b1208b8362
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 21 18:27:29 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 21 18:27:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31b5b509

dev-lang/micropython: drop 1.17, EAPI=7--

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-lang/micropython/Manifest                |  1 -
 dev-lang/micropython/micropython-1.17.ebuild | 66 ----------------------------
 2 files changed, 67 deletions(-)

diff --git a/dev-lang/micropython/Manifest b/dev-lang/micropython/Manifest
index 16e444cbe41a..7f6857c39611 100644
--- a/dev-lang/micropython/Manifest
+++ b/dev-lang/micropython/Manifest
@@ -1,2 +1 @@
-DIST micropython-1.17.tar.xz 56606868 BLAKE2B a6338d173de646764c1573ebabdb9818746a479fd2dd618f9be9955881e3829c4d89da4602934e71655734ec1c6f2150a6ac2c54a5fed9bee998905a00d5c6ea SHA512 8074214040e35ae1ca99721ec442f4cef70fa03380b7662016c55cb3acff9178fc54140c0d818c9581389b4daaade142ecf75b65a2919c666a50255423a39a54
 DIST micropython-1.23.0.tar.xz 85748224 BLAKE2B 3fca138bbe9a676c671812625ac374e82c3c91bb41db32557747ea4d28941de92be80bbf2e642f9094427dbcf6ee285c63ddad66510287074edb716017599384 SHA512 16f065bbbed1469587597193e7131ed9278ca2b22c8614098b5c79060f853db2a5a38ffe85688126cee86a5cb110d74840f50be4b009a687d7d310b54de2b2b5

diff --git a/dev-lang/micropython/micropython-1.17.ebuild b/dev-lang/micropython/micropython-1.17.ebuild
deleted file mode 100644
index 16620cf90890..000000000000
--- a/dev-lang/micropython/micropython-1.17.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="Python implementation for microcontrollers"
-HOMEPAGE="https://github.com/micropython/micropython"
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
-
-KEYWORDS="~amd64 ~arm64 ~x86"
-LICENSE="MIT"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-	dev-libs/libffi:=
-	virtual/pkgconfig"
-
-PATCHES=(
-	"${FILESDIR}/${P}-prevent-stripping.patch"
-	"${FILESDIR}/${P}-exclude-float-parse-tests.patch"
-	"${FILESDIR}/${P}-gcc13-build-fix.patch"
-)
-
-src_prepare() {
-	default
-
-	cd ports/unix || die
-
-	# 1) don't die on compiler warning
-	# 2) remove /usr/local prefix references in favour of /usr
-	# 3) enforce our CFLAGS
-	# 4) enforce our LDFLAGS
-	sed -e 's#-Werror##g;' \
-		-e 's#\/usr\/local#\/usr#g;' \
-		-e "s#^CFLAGS = \(.*\)#CFLAGS = \1 ${CFLAGS}#g" \
-		-e "s#^LDFLAGS = \(.*\)#LDFLAGS = \1 ${LDFLAGS}#g" \
-		-i Makefile || die "can't patch Makefile"
-}
-
-src_compile() {
-	cd ports/unix || die
-
-	emake CC="$(tc-getCC)" axtls
-	emake CC="$(tc-getCC)"
-}
-
-src_test() {
-	cd ports/unix || die
-	emake CC="$(tc-getCC)" test
-}
-
-src_install() {
-	pushd ports/unix > /dev/null || die
-	emake CC="$(tc-getCC)" DESTDIR="${D}" install
-	popd > /dev/null || die
-
-	# remove .git files
-	find tools -type f -name '.git*' -exec rm {} \; || die
-
-	dodoc -r tools
-	einstalldocs
-}


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/
@ 2024-07-26  7:40 Joonas Niilola
  0 siblings, 0 replies; 19+ messages in thread
From: Joonas Niilola @ 2024-07-26  7:40 UTC (permalink / raw
  To: gentoo-commits

commit:     d95ba3cf9f9e9eb26b64e585ef3d8c95b524c962
Author:     Daniella <137890355+tfemby <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Sun Jun 30 00:19:45 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Jul 26 07:40:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d95ba3cf

dev-lang/micropython: Add official website

Co-authored-by: Aliaksei Urbanski <aliaksei.urbanski <AT> gmail.com>
Signed-off-by: Daniella <137890355+tfemby <AT> users.noreply.github.com>
Closes: https://github.com/gentoo/gentoo/pull/37227
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-lang/micropython/micropython-1.23.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/micropython/micropython-1.23.0.ebuild b/dev-lang/micropython/micropython-1.23.0.ebuild
index 740c69961ef7..a35b07da8c2f 100644
--- a/dev-lang/micropython/micropython-1.23.0.ebuild
+++ b/dev-lang/micropython/micropython-1.23.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 inherit toolchain-funcs
 
 DESCRIPTION="Python implementation for microcontrollers"
-HOMEPAGE="https://github.com/micropython/micropython"
+HOMEPAGE="https://micropython.org https://github.com/micropython/micropython"
 SRC_URI="https://micropython.org/resources/source/${P}.tar.xz"
 
 LICENSE="MIT"


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/
@ 2022-11-18 15:06 Arthur Zamarin
  0 siblings, 0 replies; 19+ messages in thread
From: Arthur Zamarin @ 2022-11-18 15:06 UTC (permalink / raw
  To: gentoo-commits

commit:     8d1b3fcdfcd932b0d57048f6963ac46553a4a349
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 18 15:06:38 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 18 15:06:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d1b3fcd

dev-lang/micropython: Keyword 1.17 arm64, #873238

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-lang/micropython/micropython-1.17.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/micropython/micropython-1.17.ebuild b/dev-lang/micropython/micropython-1.17.ebuild
index ce87e6721415..352bc9cfea11 100644
--- a/dev-lang/micropython/micropython-1.17.ebuild
+++ b/dev-lang/micropython/micropython-1.17.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -9,7 +9,7 @@ DESCRIPTION="Python implementation for microcontrollers"
 HOMEPAGE="https://github.com/micropython/micropython"
 SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 LICENSE="MIT"
 SLOT="0"
 IUSE="test"


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/
@ 2021-07-10 18:54 Sam James
  0 siblings, 0 replies; 19+ messages in thread
From: Sam James @ 2021-07-10 18:54 UTC (permalink / raw
  To: gentoo-commits

commit:     e5437e0990d15e9da9af7744fdc7f8788ad5eb4f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 10 18:15:28 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 10 18:47:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5437e09

dev-lang/micropython: add dev-libs/libffi subslot dep

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{micropython-1.11.ebuild => micropython-1.11-r1.ebuild}           | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/micropython/micropython-1.11.ebuild b/dev-lang/micropython/micropython-1.11-r1.ebuild
similarity index 95%
rename from dev-lang/micropython/micropython-1.11.ebuild
rename to dev-lang/micropython/micropython-1.11-r1.ebuild
index 218dea6ed46..57a5d6bee6a 100644
--- a/dev-lang/micropython/micropython-1.11.ebuild
+++ b/dev-lang/micropython/micropython-1.11-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -16,7 +16,7 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 DEPEND="
-	dev-libs/libffi
+	dev-libs/libffi:=
 	virtual/pkgconfig"
 
 PATCHES=(


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/
@ 2021-06-16 11:14 Michał Górny
  0 siblings, 0 replies; 19+ messages in thread
From: Michał Górny @ 2021-06-16 11:14 UTC (permalink / raw
  To: gentoo-commits

commit:     0f4b1ff1c6cb40633d18500be8d2e5ea2c941411
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 16 11:07:10 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jun 16 11:14:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f4b1ff1

dev-lang/micropython: Remove python@

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-lang/micropython/metadata.xml | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/dev-lang/micropython/metadata.xml b/dev-lang/micropython/metadata.xml
index e644fcc0141..125d5554f37 100644
--- a/dev-lang/micropython/metadata.xml
+++ b/dev-lang/micropython/metadata.xml
@@ -5,10 +5,6 @@
 		<email>monsieurp@gentoo.org</email>
 		<name>Patrice Clement</name>
 	</maintainer>
-	<maintainer type="project">
-		<email>python@gentoo.org</email>
-		<name>Python</name>
-	</maintainer>
 	<upstream>
 		<remote-id type="github">micropython/micropython</remote-id>
 	</upstream>


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/
@ 2020-11-16 22:53 Sergei Trofimovich
  0 siblings, 0 replies; 19+ messages in thread
From: Sergei Trofimovich @ 2020-11-16 22:53 UTC (permalink / raw
  To: gentoo-commits

commit:     c302c2fa44218229167ceec84bff1afd04024530
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 16 22:47:49 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Nov 16 22:53:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c302c2fa

dev-lang/micropython: use dev-libs/libffi instead of virtual/libffi

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-lang/micropython/micropython-1.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/micropython/micropython-1.11.ebuild b/dev-lang/micropython/micropython-1.11.ebuild
index bdf54e45b9e..218dea6ed46 100644
--- a/dev-lang/micropython/micropython-1.11.ebuild
+++ b/dev-lang/micropython/micropython-1.11.ebuild
@@ -16,7 +16,7 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 DEPEND="
-	virtual/libffi
+	dev-libs/libffi
 	virtual/pkgconfig"
 
 PATCHES=(


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/
@ 2020-06-04 15:36 Patrice Clement
  0 siblings, 0 replies; 19+ messages in thread
From: Patrice Clement @ 2020-06-04 15:36 UTC (permalink / raw
  To: gentoo-commits

commit:     d9da7701771d663b3a9ed3417e9b320048c06846
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  4 15:34:08 2020 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Jun  4 15:36:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9da7701

dev-lang/micropython: honor CFLAGS/LDFLAGS.

Don't rely on emake as it discards internal flags and generates
compilation failures but patch Makefile directly. Also, this
enforcement, although correct, causes a few tests to fail. I haven't
looked at why in detail so tests are disabled for now until further
investigation.

Closes: https://bugs.gentoo.org/727092
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 dev-lang/micropython/micropython-1.11.ebuild | 31 ++++++++++++++++++++--------
 1 file changed, 22 insertions(+), 9 deletions(-)

diff --git a/dev-lang/micropython/micropython-1.11.ebuild b/dev-lang/micropython/micropython-1.11.ebuild
index e0c69a12c7a..94d80d97d92 100644
--- a/dev-lang/micropython/micropython-1.11.ebuild
+++ b/dev-lang/micropython/micropython-1.11.ebuild
@@ -21,28 +21,41 @@ DEPEND="
 
 PATCHES=( "${FILESDIR}/${P}-prevent-stripping.patch" )
 
-src_compile() {
+# A few tests fail after enforcing CFLAGS/LDFLAGS.
+# We need to work out why.
+RESTRICT="test"
+
+src_prepare() {
+	default
+
 	cd ports/unix || die
 
-	# 1) don't die on compiler warnings
+	# 1) don't die on compiler warning
 	# 2) remove /usr/local prefix references in favour of /usr
-	sed -i \
-		-e 's#-Werror##g;' \
+	# 3) enforce our CFLAGS
+	# 4) enforce our LDFLAGS
+	sed -e 's#-Werror##g;' \
 		-e 's#\/usr\/local#\/usr#g;' \
-		Makefile || die
+		-e "s#^CFLAGS = \(.*\)#CFLAGS = \1 ${CFLAGS}#g" \
+		-e "s#^LDFLAGS = \(.*\)#LDFLAGS = \1 ${LDFLAGS}#g" \
+		-i Makefile || die "can't patch Makefile"
+}
+
+src_compile() {
+	cd ports/unix || die
 
-	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" axtls
-	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+	emake CC="$(tc-getCC)" axtls
+	emake CC="$(tc-getCC)"
 }
 
 src_test() {
 	cd ports/unix || die
-	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" test
+	emake CC="$(tc-getCC)" test
 }
 
 src_install() {
 	pushd ports/unix > /dev/null || die
-	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" DESTDIR="${D}" install
+	emake CC="$(tc-getCC)" DESTDIR="${D}" install
 	popd > /dev/null || die
 
 	# remove .git files


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/
@ 2020-06-04  7:03 Patrice Clement
  0 siblings, 0 replies; 19+ messages in thread
From: Patrice Clement @ 2020-06-04  7:03 UTC (permalink / raw
  To: gentoo-commits

commit:     165a96a564bc5f7cee0719084da76359ce66cc90
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  4 07:00:58 2020 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Jun  4 07:01:01 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=165a96a5

dev-lang/micropython: honor CFLAGS and LDFLAGS.

Closes: https://bugs.gentoo.org/726902
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 dev-lang/micropython/micropython-1.11.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-lang/micropython/micropython-1.11.ebuild b/dev-lang/micropython/micropython-1.11.ebuild
index a7361e69166..e0c69a12c7a 100644
--- a/dev-lang/micropython/micropython-1.11.ebuild
+++ b/dev-lang/micropython/micropython-1.11.ebuild
@@ -31,18 +31,18 @@ src_compile() {
 		-e 's#\/usr\/local#\/usr#g;' \
 		Makefile || die
 
-	emake CC="$(tc-getCC)" axtls
-	emake CC="$(tc-getCC)"
+	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" axtls
+	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
 }
 
 src_test() {
 	cd ports/unix || die
-	emake CC="$(tc-getCC)" test
+	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" test
 }
 
 src_install() {
 	pushd ports/unix > /dev/null || die
-	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" DESTDIR="${D}" install
+	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" DESTDIR="${D}" install
 	popd > /dev/null || die
 
 	# remove .git files


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/
@ 2020-06-03 20:54 Patrice Clement
  0 siblings, 0 replies; 19+ messages in thread
From: Patrice Clement @ 2020-06-03 20:54 UTC (permalink / raw
  To: gentoo-commits

commit:     c3e018f3e513a311c3836962892938397f087799
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  3 20:35:43 2020 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Jun  3 20:54:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3e018f3

dev-lang/micropython: honor CC when running tests.

Closes: https://bugs.gentoo.org/722952
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 dev-lang/micropython/micropython-1.11.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/micropython/micropython-1.11.ebuild b/dev-lang/micropython/micropython-1.11.ebuild
index 0c8219f7670..a7361e69166 100644
--- a/dev-lang/micropython/micropython-1.11.ebuild
+++ b/dev-lang/micropython/micropython-1.11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -37,7 +37,7 @@ src_compile() {
 
 src_test() {
 	cd ports/unix || die
-	emake test
+	emake CC="$(tc-getCC)" test
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/
@ 2020-05-04  9:45 Michał Górny
  0 siblings, 0 replies; 19+ messages in thread
From: Michał Górny @ 2020-05-04  9:45 UTC (permalink / raw
  To: gentoo-commits

commit:     68cf88680aa36d74c7287389ba14526488fc12dc
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon May  4 09:44:50 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May  4 09:44:50 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68cf8868

dev-lang/micropython: Remove redundant

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-lang/micropython/Manifest                 |  2 -
 dev-lang/micropython/micropython-1.9.3.ebuild | 55 --------------------------
 dev-lang/micropython/micropython-1.9.4.ebuild | 57 ---------------------------
 3 files changed, 114 deletions(-)

diff --git a/dev-lang/micropython/Manifest b/dev-lang/micropython/Manifest
index 688bf57b4ed..1ac72acd202 100644
--- a/dev-lang/micropython/Manifest
+++ b/dev-lang/micropython/Manifest
@@ -1,3 +1 @@
 DIST micropython-1.11.tar.gz 23010708 BLAKE2B 8deb29f2a27b8299f62c8c3d332654889e610ddc6854dc38c6cf7504c89f2f9cbbacccdc2d8e471d96b8bb28bbb920fe7ec1b8fd49b14209924262f54687c3c1 SHA512 255860e56bf51c4f35a00cf66fff3ee37fbef1e0d674af6ed580367d8b3d2d60fb88609a675e8f322fd466a23006e38078b67edd6f306e639d6be12abb2972d2
-DIST micropython-1.9.3.tar.gz 17311734 BLAKE2B 31ebdedc402af53b205a854aa61b59c694cc893c7f80e4b84196c5d44527545f442628938b7dd923ed9086a79e00ff899682548115224613e888eb8a37dd5ae3 SHA512 1b4358913ed78df66314c9a62636c7b8d086c731459e3bee1fab8695286dc03b6ec7594b2f9b8105e2a6d62190d95c6ad5351fb64c666c1ea54b9535193ee8a8
-DIST micropython-1.9.4.tar.gz 18957648 BLAKE2B bc4dc4ef6623adbda64c9e03137860a7b9ce7d2d181434cb993438752ec39a4ea7cf7cf7a14736c57bdc2ea9c3f856b0dbe2d92fc0e1cbef99112427583ad665 SHA512 9995c983c93fb1280e60d7c52a10930a6a3de8d589a0f4264a9a4a4fede7c37e27ed4871c4c9092aec3fb33028064beb8c5eb19b7956e8f0c5d3b2a82ffa9932

diff --git a/dev-lang/micropython/micropython-1.9.3.ebuild b/dev-lang/micropython/micropython-1.9.3.ebuild
deleted file mode 100644
index e519fa6a445..00000000000
--- a/dev-lang/micropython/micropython-1.9.3.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="Python implementation for microcontrollers"
-HOMEPAGE="https://github.com/micropython/micropython"
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz"
-
-KEYWORDS="~amd64 ~x86"
-LICENSE="MIT"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-	virtual/libffi
-	virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}/${P}-prevent-stripping.patch" )
-
-src_compile() {
-	cd ports/unix || die
-
-	# 1) don't die on compiler warnings
-	# 2) remove /usr/local prefix references in favour of /usr
-	sed -i \
-		-e 's#-Werror##g;' \
-		-e 's#\/usr\/local#\/usr#g;' \
-		Makefile || die
-	emake CC="$(tc-getCC)" axtls
-	emake CC="$(tc-getCC)"
-}
-
-src_test() {
-	# XXX: find out why these tests fail
-	rm -v tests/misc/recursive_iternext* || die
-
-	cd ports/unix || die
-	emake test
-}
-
-src_install() {
-	pushd ports/unix > /dev/null || die
-	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" DESTDIR="${D}" install
-	popd > /dev/null || die
-
-	# remove .git files
-	find tools -type f -name '.git*' -exec rm {} \; || die
-
-	dodoc -r tools
-	einstalldocs
-}

diff --git a/dev-lang/micropython/micropython-1.9.4.ebuild b/dev-lang/micropython/micropython-1.9.4.ebuild
deleted file mode 100644
index 0b1864dde7f..00000000000
--- a/dev-lang/micropython/micropython-1.9.4.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="Python implementation for microcontrollers"
-HOMEPAGE="https://github.com/micropython/micropython"
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz"
-
-KEYWORDS="~amd64 ~x86"
-LICENSE="MIT"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-	virtual/libffi
-	virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}/${P}-prevent-stripping.patch" )
-
-src_compile() {
-	cd ports/unix || die
-
-	# 1) don't die on compiler warnings
-	# 2) remove /usr/local prefix references in favour of /usr
-	sed -i \
-		-e 's#-Werror##g;' \
-		-e 's#\/usr\/local#\/usr#g;' \
-		Makefile || die
-	emake CC="$(tc-getCC)" axtls
-	emake CC="$(tc-getCC)"
-}
-
-src_test() {
-	# TODO: find out why these tests fail
-	rm -v tests/stress/recursive_iternext* || die
-
-	cd ports/unix || die
-	emake test
-}
-
-src_install() {
-	pushd ports/unix > /dev/null || die
-	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" DESTDIR="${D}" install
-	popd > /dev/null || die
-
-	dobin "${S}/mpy-cross/mpy-cross"
-
-	# remove .git files
-	find tools -type f -name '.git*' -exec rm {} \; || die
-
-	dodoc -r tools
-	einstalldocs
-}


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/
@ 2019-12-22 15:24 Patrice Clement
  0 siblings, 0 replies; 19+ messages in thread
From: Patrice Clement @ 2019-12-22 15:24 UTC (permalink / raw
  To: gentoo-commits

commit:     b3093db03581309fb96d5051d1b067d08504be07
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 22 15:23:58 2019 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Dec 22 15:24:07 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3093db0

dev-lang/micropython: install mpy-cross binary.

Closes: https://bugs.gentoo.org/703540
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 dev-lang/micropython/micropython-1.9.4.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-lang/micropython/micropython-1.9.4.ebuild b/dev-lang/micropython/micropython-1.9.4.ebuild
index ac529849faa..0b1864dde7f 100644
--- a/dev-lang/micropython/micropython-1.9.4.ebuild
+++ b/dev-lang/micropython/micropython-1.9.4.ebuild
@@ -47,6 +47,8 @@ src_install() {
 	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" DESTDIR="${D}" install
 	popd > /dev/null || die
 
+	dobin "${S}/mpy-cross/mpy-cross"
+
 	# remove .git files
 	find tools -type f -name '.git*' -exec rm {} \; || die
 


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/
@ 2019-11-27 23:29 Patrice Clement
  0 siblings, 0 replies; 19+ messages in thread
From: Patrice Clement @ 2019-11-27 23:29 UTC (permalink / raw
  To: gentoo-commits

commit:     05c15621c122ecd45249a72febc8b8051fe9208f
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 27 23:28:53 2019 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Nov 27 23:29:07 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05c15621

dev-lang/micropython: clear QA warnings.

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 dev-lang/micropython/micropython-1.11.ebuild  | 1 +
 dev-lang/micropython/micropython-1.9.3.ebuild | 3 ++-
 dev-lang/micropython/micropython-1.9.4.ebuild | 3 ++-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-lang/micropython/micropython-1.11.ebuild b/dev-lang/micropython/micropython-1.11.ebuild
index d1f7d57db77..0c8219f7670 100644
--- a/dev-lang/micropython/micropython-1.11.ebuild
+++ b/dev-lang/micropython/micropython-1.11.ebuild
@@ -13,6 +13,7 @@ KEYWORDS="~amd64 ~x86"
 LICENSE="MIT"
 SLOT="0"
 IUSE="test"
+RESTRICT="!test? ( test )"
 
 DEPEND="
 	virtual/libffi

diff --git a/dev-lang/micropython/micropython-1.9.3.ebuild b/dev-lang/micropython/micropython-1.9.3.ebuild
index 672087758df..e519fa6a445 100644
--- a/dev-lang/micropython/micropython-1.9.3.ebuild
+++ b/dev-lang/micropython/micropython-1.9.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,6 +13,7 @@ KEYWORDS="~amd64 ~x86"
 LICENSE="MIT"
 SLOT="0"
 IUSE="test"
+RESTRICT="!test? ( test )"
 
 DEPEND="
 	virtual/libffi

diff --git a/dev-lang/micropython/micropython-1.9.4.ebuild b/dev-lang/micropython/micropython-1.9.4.ebuild
index 95899e4fd9b..ac529849faa 100644
--- a/dev-lang/micropython/micropython-1.9.4.ebuild
+++ b/dev-lang/micropython/micropython-1.9.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,6 +13,7 @@ KEYWORDS="~amd64 ~x86"
 LICENSE="MIT"
 SLOT="0"
 IUSE="test"
+RESTRICT="!test? ( test )"
 
 DEPEND="
 	virtual/libffi


^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2025-06-22  9:48 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-13  0:11 [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2025-06-22  9:47 Sam James
2025-06-13  0:11 Sam James
2025-06-13  0:09 Sam James
2025-06-13  0:09 Sam James
2025-06-13  0:09 Sam James
2025-06-13  0:09 Sam James
2025-03-21 18:32 Arthur Zamarin
2024-07-26  7:40 Joonas Niilola
2022-11-18 15:06 Arthur Zamarin
2021-07-10 18:54 Sam James
2021-06-16 11:14 Michał Górny
2020-11-16 22:53 Sergei Trofimovich
2020-06-04 15:36 Patrice Clement
2020-06-04  7:03 Patrice Clement
2020-06-03 20:54 Patrice Clement
2020-05-04  9:45 Michał Górny
2019-12-22 15:24 Patrice Clement
2019-11-27 23:29 Patrice Clement

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox