Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit192860e

Browse files
MoisanBrewTestBot
authored andcommitted
libxcb: migrate to Python@3.10
ClosesHomebrew#92081.Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
1 parentb9437cb commit192860e

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

‎Formula/libxcb.rb‎

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
1-
classPython3Requirement <Requirement
2-
fataltrue
3-
satisfy(build_env:false){which"python3"}
4-
defmessage
5-
<<~EOS
6-
An existing Python 3 installation is required in order to avoid cyclic
7-
dependencies (as Homebrew's Python depends on xcb-proto).
8-
EOS
9-
end
10-
end
11-
121
classLibxcb <Formula
132
desc"X.Org: Interface to the X Window System protocol"
143
homepage"https://www.x.org/"
154
url"https://xcb.freedesktop.org/dist/libxcb-1.14.tar.gz"
165
sha256"2c7fcddd1da34d9b238c9caeda20d3bd7486456fc50b3cc6567185dbd5b0ad02"
176
license"MIT"
18-
revision1
7+
revision2
198

209
bottledo
2110
rebuild1
@@ -29,20 +18,12 @@ class Libxcb < Formula
2918
end
3019

3120
depends_on"pkg-config"=>:build
21+
depends_on"python@3.10"=>:build
3222
depends_on"xcb-proto"=>:build
3323
depends_on"libpthread-stubs"
3424
depends_on"libxau"
3525
depends_on"libxdmcp"
3626

37-
on_macosdo
38-
depends_on"python@3.9"=>:build
39-
end
40-
on_linuxdo
41-
# Use an existing Python 3, to avoid a cyclic dependency on Linux:
42-
# python3 -> tcl-tk -> libx11 -> libxcb -> python3
43-
depends_onPython3Requirement=>:build
44-
end
45-
4627
definstall
4728
args=%W[
4829
--prefix=#{prefix}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp