From 0708c9f85acd2a54f55bfedc7fe1e51fc832efb5 Mon Sep 17 00:00:00 2001 From: delphinus Date: Wed, 16 Oct 2024 14:55:26 +0900 Subject: [PATCH] fix: update Python to use fonttools and fontforge --- sfmono-square.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sfmono-square.rb b/sfmono-square.rb index 8f9e8d3..1cb9399 100644 --- a/sfmono-square.rb +++ b/sfmono-square.rb @@ -11,7 +11,7 @@ class SfmonoSquare < Formula depends_on "fontforge" => :build depends_on "fonttools" => :build - depends_on "python@3.12" => :build + depends_on "python@3.13" => :build depends_on "pod2man" => :build resource "migu1mfonts" do @@ -58,11 +58,11 @@ def _compile # See https://github.com/delphinus/homebrew-sfmono-square/issues/9 # ENV["MIGU1M_SCALE"] = "82" - fontforge_lib = Formula["fontforge"].libexec / "lib/python3.12/site-packages" - fonttools_lib = Formula["fonttools"].libexec / "lib/python3.12/site-packages" - python312 = Formula["python@3.12"].bin / "python3.12" + fontforge_lib = Formula["fontforge"].libexec / "lib/python3.13/site-packages" + fonttools_lib = Formula["fonttools"].libexec / "lib/python3.13/site-packages" + python313 = Formula["python@3.13"].bin / "python3.13" - system python312, "-c", <<~PYTHON + system python313, "-c", <<~PYTHON import sys sys.path.append('#{buildpath / 'src'}') sys.path.append('#{fontforge_lib}')