Skip to content

Commit

Permalink
python-tk@3.10 3.10.11
Browse files Browse the repository at this point in the history
  • Loading branch information
branchvincent committed Apr 7, 2023
1 parent 25de4ae commit 483a9b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Formula/python-tk@3.10.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class PythonTkAT310 < Formula
desc "Python interface to Tcl/Tk"
homepage "https://www.python.org/"
url "https://www.python.org/ftp/python/3.10.10/Python-3.10.10.tgz"
sha256 "fba64559dde21ebdc953e4565e731573bb61159de8e4d4cedee70fb1196f610d"
url "https://www.python.org/ftp/python/3.10.11/Python-3.10.11.tgz"
sha256 "f3db31b668efa983508bd67b5712898aa4247899a346f2eb745734699ccd3859"
license "Python-2.0"

livecheck do
Expand Down Expand Up @@ -40,15 +40,15 @@ def install
ext_modules = [
Extension("_tkinter", ["_tkinter.c", "tkappinit.c"],
define_macros=[("WITH_APPINIT", 1)],
include_dirs=["#{Formula["tcl-tk"].opt_include}"],
include_dirs=["#{Formula["tcl-tk"].opt_include/"tcl-tk"}"],
libraries=["tcl#{tcltk_version}", "tk#{tcltk_version}"],
library_dirs=["#{Formula["tcl-tk"].opt_lib}"])
]
)
EOS
system python3, *Language::Python.setup_install_args(libexec, python3),
"--install-lib=#{libexec}"
rm_r Dir[libexec/"*.egg-info"]
rm_r libexec.glob("*.egg-info")
end
end

Expand Down

0 comments on commit 483a9b1

Please sign in to comment.