Skip to content

Commit 7e99de0

Browse files
committed
shiboken: update formula to use py311
1 parent 1d28919 commit 7e99de0

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Formula/[email protected]

+4-6
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Shiboken2AT51511 < Formula
2222
keg_only :versioned_formula
2323

2424
depends_on "cmake" => :build
25-
depends_on "python@3.10" => :build
25+
depends_on "python@3.11" => :build
2626
depends_on "llvm"
2727
depends_on "numpy"
2828
depends_on "qt@5"
@@ -31,7 +31,7 @@ class Shiboken2AT51511 < Formula
3131
uses_from_macos "libxslt"
3232

3333
def python3
34-
"python3.10"
34+
"python3.11"
3535
end
3636

3737
def install
@@ -42,17 +42,15 @@ def install
4242
# "-DCMAKE_INSTALL_RPATH=#{rpaths.join(";")}",
4343
system "cmake", "-S", "./sources/shiboken2", "-B", "build",
4444
"-DPYTHON_EXECUTABLE=#{which(python3)}",
45-
"-DFORCE_LIMITED_API=yes",
45+
"-DFORCE_LIMITED_API=no",
4646
*std_cmake_args
4747
system "cmake", "--build", "build"
4848
system "cmake", "--install", "build"
4949
end
5050

5151
def caveats
5252
<<-EOS
53-
this formula is keg-only, and is tied to the version of python
54-
that is used to build qt@5, ie. if qt@5 uses [email protected] then
55-
this formula must use [email protected]
53+
this formula is keg-only
5654
EOS
5755
end
5856

0 commit comments

Comments
 (0)