Github messages for voidlinux
 help / color / mirror / Atom feed
From: m3tav3rse <m3tav3rse@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] micropython: update to 1.21.0.
Date: Wed, 11 Oct 2023 12:17:38 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46591@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1271 bytes --]

There is a new pull request by m3tav3rse against master on the void-packages repository

https://github.com/m3tav3rse/void-packages micropython
https://github.com/void-linux/void-packages/pull/46591

micropython: update to 1.21.0.
Closes #44643

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/46591.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-micropython-46591.patch --]
[-- Type: text/x-diff, Size: 1891 bytes --]

From d34e3b953049539985d63f1599081036e1966e8d Mon Sep 17 00:00:00 2001
From: m3tav3rse <mtvrs@tuta.io>
Date: Wed, 11 Oct 2023 12:12:18 +0200
Subject: [PATCH] micropython: update to 1.21.0.

Closes #44643
---
 srcpkgs/micropython/template | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/micropython/template b/srcpkgs/micropython/template
index b3501120e4584..97e4411ad8010 100644
--- a/srcpkgs/micropython/template
+++ b/srcpkgs/micropython/template
@@ -1,16 +1,16 @@
 # Template file for 'micropython'
 pkgname=micropython
-version=1.14
+version=1.21.0
 revision=1
 build_wrksrc=ports/unix
 hostmakedepends="pkg-config python3"
 makedepends="libffi-devel"
-short_desc="Implementation of Python 3.x for microcontrollers"
+short_desc="Python implementation for microcontrollers and constrained systems"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://micropython.org/"
 distfiles="https://github.com/micropython/micropython/releases/download/v${version}/micropython-${version}.tar.xz"
-checksum=97306156fdeab120a1244626c75a929bb820722afdfc1317dbd5dadef388d94c
+checksum=abd2152613559d3f44728668346e78be9d93458133a03b700baf222c322fd4d5
 
 case "$XBPS_TARGET_MACHINE" in
 	arm*-musl) nopie=yes ;; # building with PIE creates text relocations in the binary
@@ -26,13 +26,13 @@ pre_configure() {
 }
 
 do_build() {
-	unset CPP
-	make -C ../../mpy-cross	V=1 STRIP=echo ${makejobs}
-	make V=1 CC=${CC} CFLAGS_EXTRA="${CPPFLAGS} ${CFLAGS}" \
-		LDFLAGS_EXTRA="${LDFLAGS}" STRIP=echo ${makejobs} axtls all
+	make -C ../../mpy-cross V=1 CC=${CC} CFLAGS_EXTRA="${CFLAGS}" \
+		LDFLAGS_EXTRA="${LDFLAGS}" STRIP= ${makejobs}
+	make V=1 CC=${CC} CFLAGS_EXTRA="${CFLAGS}" \
+		LDFLAGS_EXTRA="${LDFLAGS}" STRIP= ${makejobs} all
 }
 
 do_install() {
-	vbin micropython
+	vbin build-standard/micropython
 	vlicense ../../LICENSE
 }

             reply	other threads:[~2023-10-11 10:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-11 10:17 m3tav3rse [this message]
2023-10-11 11:00 ` [PR PATCH] [Updated] " m3tav3rse
2023-12-02 10:52 ` [PR PATCH] [Merged]: " classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46591@inbox.vuxu.org \
    --to=m3tav3rse@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).