diff options
| author | Samuel John | 2013-08-08 11:58:37 +0200 |
|---|---|---|
| committer | Samuel John | 2013-08-08 11:58:37 +0200 |
| commit | 58bda4058eb8a3320b4d463951e64061b276c4da (patch) | |
| tree | e698dbfc5afc67e33a36778222b88d0b50324096 /Library | |
| parent | 14a315e3580a70238278e9b55cf0404f87d315ad (diff) | |
| download | homebrew-58bda4058eb8a3320b4d463951e64061b276c4da.tar.bz2 | |
sip: We don't need sip and sip3 binaries
They are both identical. Difference lies in the config and libs.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/sip.rb | 5 |
1 files changed, 1 insertions, 4 deletions
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 |
