diff --git a/Makefile b/Makefile index e2ab3cd1..c477abe8 100644 --- a/Makefile +++ b/Makefile @@ -140,12 +140,11 @@ pdf: ############################################################################### -# Utils +# Homebrew ############################################################################### - -brew-vars: - extras/get-homebrew-formula-vars.py +brew-deps: + extras/brew-deps.py brew-test: - brew uninstall httpie diff --git a/extras/get-homebrew-formula-vars.py b/extras/brew-deps.py similarity index 83% rename from extras/get-homebrew-formula-vars.py rename to extras/brew-deps.py index 8d8521fe..c5aeed6d 100755 --- a/extras/get-homebrew-formula-vars.py +++ b/extras/brew-deps.py @@ -1,9 +1,11 @@ #!/usr/bin/env python3 """ -Generate URLs and file hashes to be included in the Homebrew formula -after a new release of HTTPie has been published on PyPi. +Generate Ruby code with URLs and file hashes for packages from PyPi +(i.e., httpie itself as well as its dependencies) to be included +in the Homebrew formula after a new release of HTTPie has been published +on PyPi. -https://github.com/Homebrew/homebrew-core/blob/master/Formula/httpie.rb + """ import hashlib