aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/zpython.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-17 14:44:00 -0500
committerJack Nagel2014-03-17 14:44:00 -0500
commite1f93214f7fa01e05ef53713acea3f4408ba21d7 (patch)
tree307cd4ba039a6619f788c84cf61209b163ddffdc /Library/Formula/zpython.rb
parentcdc8e1c80af6aeb7757ebaf228b3677d2e76813b (diff)
downloadhomebrew-e1f93214f7fa01e05ef53713acea3f4408ba21d7.tar.bz2
zpython: use checksummed patches
Diffstat (limited to 'Library/Formula/zpython.rb')
-rw-r--r--Library/Formula/zpython.rb23
1 files changed, 13 insertions, 10 deletions
diff --git a/Library/Formula/zpython.rb b/Library/Formula/zpython.rb
index a2c2ccc21..fcdcee69c 100644
--- a/Library/Formula/zpython.rb
+++ b/Library/Formula/zpython.rb
@@ -15,8 +15,19 @@ end
class Zpython < Formula
homepage 'https://bitbucket.org/ZyX_I/zsh'
- url 'http://www.zsh.org/pub/zsh-5.0.5.tar.bz2'
- url 'https://downloads.sourceforge.net/project/zsh/zsh/5.0.5/zsh-5.0.5.tar.bz2'
+
+ stable do
+ url "https://downloads.sourceforge.net/project/zsh/zsh/5.0.5/zsh-5.0.5.tar.bz2"
+ mirror "http://www.zsh.org/pub/zsh-5.0.5.tar.bz2"
+
+ # Note, non-head version is completly implemented in this lengthy patch
+ # later on, we hope to use https://bitbucket.org/ZyX_I/zsh.git to download a tagged release.
+ patch do
+ url "https://gist.github.com/felixbuenemann/5790777/raw/cb5ea3b34617174e50fd3972792ec0944959de3c/zpython.patch"
+ sha1 "b6ebdaf5f18da9c152f17f9a93987596a37fbf14"
+ end
+ end
+
# We prepend `00-` for the first version of the zpython module, which is
# itself a patch on top of zsh and does not have own version number yes.
# Hoping that upstream will provide tags that we could download properly.
@@ -32,14 +43,6 @@ class Zpython < Formula
depends_on :python
depends_on :autoconf => :build
- def patches
- # Note, non-head version is completly implemented in this lengthy patch
- # later on, we hope to use https://bitbucket.org/ZyX_I/zsh.git to download a tagged release.
- unless build.head?
- {:p1 => "https://gist.github.com/felixbuenemann/5790777/raw/cb5ea3b34617174e50fd3972792ec0944959de3c/zpython.patch"}
- end
- end
-
def install
args = %W[
--disable-gdbm