如何批量制作 Homebrew bottles?

使用旧系统的日子越来越艰难了,Homebrew 已不再为 High Sierra 提供 bottles 了。

凡包都要从头开始编译,对老机来说雪上加霜。为此我打算利用 Github 自己打包 bottles,但新的问题出现了。

每次只能得到一个包的 bottle 文件,这个包的依赖仍旧需要从源码编译。以 Python 为例,需在本地创建 python 分支,写好 formula,再推送到 Github,然后请求 Pull request,最后由 Brew-Test-Bot 编译得到 Python 的 bottle 二进制文件。但是它依赖的那些包的二进制并没有保存下来:

  depends_on "gdbm"
  depends_on "mpdecimal"
  depends_on "[email protected]"
  depends_on "readline"
  depends_on "sqlite"
  depends_on "xz"

我仍然需要在本地编译这些包,除非将它们一一再提交到 Github 制成 bottles。有没有批量制作 bottles 的方法,把这些依赖的包一次搞定?