Skip to content

Commit 67e8bb8

Browse files
authored
Merge pull request #232946 from Homebrew/bump-micropython-1.26.0
micropython mpremote 1.26.0
2 parents fff4358 + e837aab commit 67e8bb8

File tree

2 files changed

+30
-12
lines changed

2 files changed

+30
-12
lines changed

Formula/m/micropython.rb

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
class Micropython < Formula
22
desc "Python implementation for microcontrollers and constrained systems"
33
homepage "https://www.micropython.org/"
4-
url "https://github.com/micropython/micropython/releases/download/v1.25.0/micropython-1.25.0.tar.xz"
5-
sha256 "9fe99ad5808e66bb40d374f5cad187c32c7d1c49cf47f72b38fd453c28c2aebe"
4+
url "https://github.com/micropython/micropython/releases/download/v1.26.0/micropython-1.26.0.tar.xz"
5+
sha256 "a1b8e0f6bf7a8a78b55ac865c46c4c45f9623a86a1785d2063ff1cb3b6e661d7"
66
license "MIT"
77

88
bottle do
9-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "470bfae6fc4f82301df5ae1f265b00d7b981a5db70120b4242b67890c5190a98"
10-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "545f7cf7279b407e843e349024e2fcd264032be5312c1bd7fc9a59f440aae5fb"
11-
sha256 cellar: :any_skip_relocation, arm64_ventura: "295730364d3c8f548e2fa71c71d9ddbb5acd3dd7b1e37ee3cc2af7862f4f92c3"
12-
sha256 cellar: :any_skip_relocation, sonoma: "936cc289f796f38be76d8e61d895498007aac8a3d686d3a7f10260d77cb77657"
13-
sha256 cellar: :any_skip_relocation, ventura: "2d473ef1dbda05c2759730d8c592599ce8a5712ea2607154db81c0244258241e"
14-
sha256 cellar: :any_skip_relocation, arm64_linux: "7a9e34b94bc6d146b7c7db61c02fba86eedf56812dc389fbe0b8d712d54c43a2"
15-
sha256 cellar: :any_skip_relocation, x86_64_linux: "3e6f131cc475b96a98e22d54c82905c055d46072a4b15d6fdb027fe25100d25d"
9+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "df6fc28eb7c271612a7ae06a929efa487c5cbda642f1b0802210153f56a4a6f8"
10+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "2c53b91a15b1ce1984c668da550c849616a8e2924af26e5e2fc1689cb540268b"
11+
sha256 cellar: :any_skip_relocation, arm64_ventura: "19e2d9b648b60081b66e6f2a3ba99d4c034f71b456d5e669bd3a9594b8656ecb"
12+
sha256 cellar: :any_skip_relocation, sequoia: "a33b0b1e4d7f464185db49ddd1d58746c303a5f645b5a1c716854928138ed95c"
13+
sha256 cellar: :any_skip_relocation, sonoma: "0b6a6a6686514b773787871eab3306dcc31342d6a5fc15bf47206a56c3385a23"
14+
sha256 cellar: :any_skip_relocation, ventura: "d203f50da1f48cf6be08ab09fdb66f6f36ccf896bdecf00f475bb8c9e6bb62f0"
15+
sha256 cellar: :any_skip_relocation, arm64_linux: "e11a276d98b7cbb529a82a6c143a564b70e3050f12bdd17ef3f5bb7277683c26"
16+
sha256 cellar: :any_skip_relocation, x86_64_linux: "768d71065f1b0fcd878b73d3eedb759a850aaa1f99b1b8beddc510fa84e2417b"
1617
end
1718

1819
depends_on "pkgconf" => :build

Formula/m/mpremote.rb

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,40 @@ class Mpremote < Formula
33

44
desc "Tool for interacting remotely with MicroPython devices"
55
homepage "https://docs.micropython.org/en/latest/reference/mpremote.html"
6-
url "https://files.pythonhosted.org/packages/86/1d/4a194eb385133349954cbf269e673e59e28b9510c7805e955da1cd32f4c6/mpremote-1.25.0.tar.gz"
7-
sha256 "d0dcd8ab364d87270e1766308882e536e541052efd64aadaac83bc7ebbea2815"
6+
url "https://files.pythonhosted.org/packages/a1/f4/b63592bad49d61f0e79ca58d151eb914f1a3f716e606f436352ee5a1ff94/mpremote-1.26.0.tar.gz"
7+
sha256 "7f347318fb6d3bb8f89401d399a05efba39b51c74f747cebe92d3c6a9a4ee0b4"
88
license "MIT"
99

1010
bottle do
11-
sha256 cellar: :any_skip_relocation, all: "e0a64c3be9447ab462935ea95ed2d722264aadb1bd24146710393b5a6ef81d19"
11+
sha256 cellar: :any_skip_relocation, all: "ef937462df64160d0b412a69a2b19f27c51fb781fc936cedc167a97691a2a168"
1212
end
1313

1414
depends_on "[email protected]"
1515

16+
resource "platformdirs" do
17+
url "https://files.pythonhosted.org/packages/fe/8b/3c73abc9c759ecd3f1f7ceff6685840859e8070c4d947c93fae71f6a0bf2/platformdirs-4.3.8.tar.gz"
18+
sha256 "3d512d96e16bcb959a814c9f348431070822a6496326a4be0911c40b5a74c2bc"
19+
end
20+
1621
resource "pyserial" do
1722
url "https://files.pythonhosted.org/packages/1e/7d/ae3f0a63f41e4d2f6cb66a5b57197850f919f59e558159a4dd3a818f5082/pyserial-3.5.tar.gz"
1823
sha256 "3c77e014170dfffbd816e6ffc205e9842efb10be9f58ec16d3e8675b4925cddb"
1924
end
2025

2126
def install
2227
virtualenv_install_with_resources
28+
29+
# Build an `:all` bottle.
30+
usr_local_files = %w[
31+
platformdirs/unix.py
32+
platformdirs-4.3.8.dist-info/METADATA
33+
].map { |file| libexec/Language::Python.site_packages("python3")/file }
34+
inreplace usr_local_files, "/usr/local", HOMEBREW_PREFIX
35+
36+
opt_homebrew_files = %w[
37+
platformdirs/macos.py
38+
].map { |file| libexec/Language::Python.site_packages("python3")/file }
39+
inreplace opt_homebrew_files, "/opt/homebrew", HOMEBREW_PREFIX
2340
end
2441

2542
test do

0 commit comments

Comments
 (0)