Skip to content

Commit

Permalink
rbme: resolve style exceptions, add ref to patch file
Browse files Browse the repository at this point in the history
  • Loading branch information
ipatch committed Oct 9, 2024
1 parent aff27fd commit 7e0295c
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions Formula/[email protected]_py312.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Pyside2AT51515Py312 < Formula
desc "Python bindings for Qt5 and greater"
homepage "https://code.qt.io/cgit/pyside/pyside-setup.git/tree/README.pyside2.md?h=5.15.2"
url ""
sha256 ""
url "https://download.qt.io/official_releases/QtForPython/shiboken2/PySide2-5.15.15-src/pyside-setup-opensource-src-5.15.15.zip"
sha256 "2be116ac3e5a2fac0fdc9d076284c125325e0f3b5d714e1cd60e4a27d25ca6ca"
license all_of: ["GFDL-1.3-only", "GPL-2.0-only", "GPL-3.0-only", "LGPL-2.1-only", "LGPL-3.0-only"]

livecheck do
Expand Down Expand Up @@ -31,9 +31,20 @@ class Pyside2AT51515Py312 < Formula
fails_with gcc: "5"

# Don't copy qt@5 tools.
# patch do
# url "https://src.fedoraproject.org/rpms/python-pyside2/raw/009100c67a63972e4c5252576af1894fec2e8855/f/pyside2-tools-obsolete.patch"
# sha256 "ede69549176b7b083f2825f328ca68bd99ebf8f42d245908abd320093bac60c9"
# end

# NOTE: ipatch, ie. local patch `url "file:///#{HOMEBREW_PREFIX}/Library/Taps/freecad/homebrew-freecad/patches/`
# NOTE: ipatch, when working with patch file using the above example, `brew cleanup` needs to be ran each time
# before a `brew install` to get the latest changes
#------
# the tarbal / .zip file of the pyside source defaults to CRLF line endings thus the mixed line endings in the
# patch file
patch do
url "https://src.fedoraproject.org/rpms/python-pyside2/raw/009100c67a63972e4c5252576af1894fec2e8855/f/pyside2-tools-obsolete.patch"
sha256 "ede69549176b7b083f2825f328ca68bd99ebf8f42d245908abd320093bac60c9"
url "file:///#{HOMEBREW_PREFIX}/Library/Taps/freecad/homebrew-freecad/patches/py3.12-support.patch"
sha256 "272332df2cd9200e2c8a4453fe96419b34c002d97050507aaa050161c4f7d5b0"
end

def python3
Expand Down

0 comments on commit 7e0295c

Please sign in to comment.