Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firefox: new formula #151

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions Formula/firefox.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
class Firefox < Formula

Check failure on line 1 in Formula/firefox.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

Don't use 'git' as a dependency (it's always available)
desc "You know"
homepage "https://mozilla.org"
url "https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py"
version "1.2"
sha256 "348d4dd6222fa5a5a796f4edc51228905a7f0a67f5301eb054e2f24640f76e82"
license "MIT"

depends_on "git" => :build
depends_on "git-cinnabar" => :build
depends_on "mercurial" => :build
depends_on "[email protected]" => :build
uses_from_macos "curl" => :build

def install

Check failure on line 15 in Formula/firefox.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

`brew install --verbose --build-bottle smillerdev/tap/firefox` failed on macOS Sonoma (14) on Apple Silicon!

==> Fetching smillerdev/tap/firefox ==> Downloading https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/a038439a055a83c9324901f078f7b2cfd9c68cf2042b6468546c08ec3331c3e2--bootstrap.py ==> Verifying checksum for 'a038439a055a83c9324901f078f7b2cfd9c68cf2042b6468546c08ec3331c3e2--bootstrap.py' ==> Installing firefox from smillerdev/tap cp -p /Users/runner/Library/Caches/Homebrew/downloads/a038439a055a83c9324901f078f7b2cfd9c68cf2042b6468546c08ec3331c3e2--bootstrap.py /private/tmp/firefox-20240427-10383-ecoev3/bootstrap.py ==> python3 bootstrap.py --no-interactive pulling from https://hg.mozilla.org/mozilla-unified applying clone bundle from https://hg.cdn.mozilla.net/mozilla-unified/b08fd4a7659dfc9cc9f54ba6b79123c80b20451e.zstd-max.hg adding changesets adding manifests adding file changes added 817179 changesets with 5319190 changes to 830145 files (+16 heads) finished applying clone bundle searching for changes adding changesets adding manifests adding file changes adding remote bookmark aurora adding remote bookmark autoland adding remote bookmark beta adding remote bookmark central adding remote bookmark esr10 adding remote bookmark esr102 adding remote bookmark esr115 adding remote bookmark esr17 adding remote bookmark esr24 adding remote bookmark esr31 adding remote bookmark esr38 adding remote bookmark esr45 adding remote bookmark esr52 adding remote bookmark esr60 adding remote bookmark esr68 adding remote bookmark esr78 adding remote bookmark esr91 adding remote bookmark fx-team adding remote bookmark inbound adding remote bookmark release added 10 changesets with 15 changes to 15 files new changesets 6095688cc01d:37ec629e556b 817179 local changesets published (run 'hg update' to get a working copy) (warning: large working directory being used without fsmonitor enabled; enable fsmonitor to improve performance; see "hg help -e fsmonitor") 372224 files updated, 0 files merged, 0 files removed, 0 files unresolved (activating bookmark central) Collecting glean-sdk==60.0.0 Downloading glean_sdk-60.0.0-py3-none-macosx_11_0_arm64.whl (847 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 847.2/847.2 kB 19.5 MB/s eta 0:00:00 Collecting semver>=2.13.0 Downloading semver-3.0.2-py3-none-any.whl (17 kB) Collecting glean-parser~=14.0 Downloading glean_parser-14.0.1-py3-none-any.whl (115 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 116.0/116.0 kB 30.0 MB/s eta 0:00:00 Collecting appdirs>=1.4 Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) Requirement already satisfied: Click>=7 in ./third_party/python/click (from glean-parser~=14.0->glean-sdk==60.0.0) (8.1.6) Collecting diskcache>=4 Downloading diskcache-5.6.3-py3-none-any.whl (45 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.5/45.5 kB 14.6 MB/s eta 0:00:00 Requirement already satisfied: Jinja2>=2.10.1 in ./third_party/python/Jinja2 (from glean-parser~=14.0->glean-sdk==60.0.0) (3.1.2) Requirement already satisfied: jsonschema>=3.0.2 in ./third_party/python/jsonschema (from glean-parser~=14.0->glean-sdk==60.0.0) (4.17.3) Collecting PyYAML>=5.3.1 Downloading PyYAML-6.0.1-cp311-cp311-macosx_11_0_arm64.whl (167 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 167.5/167.5 kB 44.9 MB/s eta 0:00:00 Requirement already satisfied: MarkupSafe>=2.0 in ./third_party/python/MarkupSafe/src (from Jinja2>=2.10.1->glean-parser~=14.0->glean-sdk==60.0.0) (2.0.1) Requirement already satisfied: attrs>=17.4.0 in ./third_party/python/attrs (from jsonschema>=3.0.2->glean-parser~=14.0->glean-sdk==60.0.0) (23.1.0) Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in ./third_party/python/pyrsistent (from jsonschema>=3.0.2->glean-parser~=14.0->glean-sdk==60.0.0) (0.16.0) Requirement already satisfied: six in ./third_party/python/six (from pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0->jsonschema>=3.0.2->glean-parser~=14.0->glean-sdk==60.0.0) (1.16.0) Installing collected packages: appdirs, se
system "python3", "bootstrap.py", "--no-interactive"
system "hg", "up", "-C", "central"
system "./mach", "build"
end

test do
system "false"
end
end
Loading