From 69d010a11b77e801a644470f3fac224ae71a8200 Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Sun, 3 Feb 2019 15:08:29 +0100 Subject: [PATCH] Brew cleanup --- Makefile | 7 +++---- extras/{get-homebrew-formula-vars.py => brew-deps.py} | 8 +++++--- 2 files changed, 8 insertions(+), 7 deletions(-) rename extras/{get-homebrew-formula-vars.py => brew-deps.py} (83%) 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