-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from midsandhighs/main
homebrew formula debug & 3.9 as python version default
- Loading branch information
Showing
7 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
# brew command to remove all installed formulas but maintain Casks (items installed into /Applications) | ||
echo "removing brew installed formula" | ||
brew remove --force $(brew list --formulae) | ||
|
||
echo "removing py3.9 site-packages" | ||
rm -rf /opt/homebrew/lib/python3.9/site-packages/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
cp -v tohil.rb /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/tohil.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
class Tohil < Formula | ||
include Language::Python::Virtualenv | ||
desc "Feathered serpent - delightful integration between Python and TCL" | ||
homepage "https://github.com/flightaware/tohil" | ||
url "https://github.com/flightaware/tohil/archive/refs/tags/v4.0.0.tar.gz" | ||
sha256 "dfa0805b86eb64c6755e01f3f2aaac0a8ef8e3181d3ebe8633de490ae73c252d" | ||
license "NOASSERTION" | ||
|
||
depends_on "[email protected]" | ||
depends_on "tcl-tk" | ||
depends_on "[email protected]" => :build | ||
|
||
def install | ||
virtualenv_install_with_resources :using => "[email protected]" | ||
system "autoconf" | ||
system "./configure", "--prefix=/usr/local/opt", "--with-python-version=3.9", "--with-tcl=/usr/local/opt/tcl-tk/lib/" | ||
system "make" | ||
# system Formula["[email protected]"].opt_bin/"python3", *Language::Python.setup_install_args(prefix) | ||
system "make", "install" | ||
end | ||
|
||
test do | ||
system "false" | ||
end | ||
end |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.