zpython: fix comment placement, apply minor tweaks

In 3b372a55d0, the comment that was
supposed to be attached to the `version` line was disconnected from it.
Fix that and two minor issues with superfluous/missing empty lines.
This commit is contained in:
Martin Afanasjew 2016-08-05 22:32:11 +02:00
parent 7a1ca5ed8f
commit b0d2a373c7

View file

@ -18,12 +18,18 @@ end
class Zpython < Formula
desc "Embeds a Python interpreter into zsh"
homepage "https://bitbucket.org/ZyX_I/zsh"
head "https://bitbucket.org/ZyX_I/zsh.git", :branch => "zpython"
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"
# 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 yet.
# Hoping that upstream will provide tags that we could download properly.
# Starting here with `00-`, so that once we get tags for the upstream
# repository at https://bitbucket.org/ZyX_I/zsh.git, brew outdated will
# be able to tell us to upgrade zpython.
version "00-5.0.5"
sha256 "6624d2fb6c8fa4e044d2b009f86ed1617fe8583c83acfceba7ec82826cfa8eaf"
@ -34,6 +40,7 @@ class Zpython < Formula
sha256 "73d6565536abe269cc7715e5200ba63000b7fb830c8975db7e5e6db2222e8f09"
end
end
bottle do
cellar :any_skip_relocation
sha256 "aa8efa349bbf477746aee3cb977d1b0c430ec05d1947f2bd33667f054d8692cc" => :el_capitan
@ -41,13 +48,6 @@ class Zpython < Formula
sha256 "9137eefb79a7a529b016e3c949e24a15d4747e4f35108f91db6ea58441f456a9" => :mavericks
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 yet.
# Hoping that upstream will provide tags that we could download properly.
# Starting here with `00-`, so that once we get tags for the upstream
# repository at https://bitbucket.org/ZyX_I/zsh.git, brew outdated will
# be able to tell us to upgrade zpython.
depends_on Zsh5Requirement
depends_on "autoconf" => :build