From 58bda4058eb8a3320b4d463951e64061b276c4da Mon Sep 17 00:00:00 2001 From: Samuel John Date: Thu, 8 Aug 2013 11:58:37 +0200 Subject: sip: We don't need sip and sip3 binaries They are both identical. Difference lies in the config and libs. --- Library/Formula/sip.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Library') diff --git a/Library/Formula/sip.rb b/Library/Formula/sip.rb index 9acbb03c8..8824e6ec7 100644 --- a/Library/Formula/sip.rb +++ b/Library/Formula/sip.rb @@ -20,9 +20,7 @@ class Sip < Formula # The python block is run once for each python (2.x and 3.x if requested) python do - # To have sip (for 2.x) and sip3 for python3, we rename the sip binary: - inreplace "configure.py", 'os.path.join(opts.sipbindir, "sip")', "os.path.join(opts.sipbindir, 'sip3')" if python3 - + # Note the binary `sip` is the same for python 2.x and 3.x # Set --destdir such that the python modules will be in the HOMEBREWPREFIX/lib/pythonX.Y/site-packages system python, "configure.py", "--destdir=#{lib}/#{python.xy}/site-packages", @@ -30,7 +28,6 @@ class Sip < Formula "--incdir=#{include}", "--sipdir=#{HOMEBREW_PREFIX}/share/sip#{python.if3then3}" system "make" - bin.install 'sipgen/sip' => 'sip3' if python3 system "make install" system "make clean" end -- cgit v1.2.3