r-hub / homebrew-cran

Building R binary packages using homebrew
26 stars 0 forks source link

Portable bottles #6

Open jeroen opened 6 years ago

jeroen commented 6 years ago

The formula for portable-ruby has a bottle like this:

  bottle do
    cellar :any_skip_relocation
    rebuild 1
    sha256 "34ce9e4c9c1be28db564d744165aa29291426f8a3d2ef806ba4f0b9175aedb2b" => :leopard_64_or_later
  end

Which gets downloaded from:

Downloading https://homebrew.bintray.com/bottles-portable-ruby/portable-ruby-2.3.3.leopard_64.bottle.1.tar.gz

Maybe we can just add _or_later to our bottles?

jeroen commented 6 years ago

Update: tested with yajl and this seems to work: https://github.com/r-hub/homebrew-cran/blob/master/Formula/yajl.rb

jeroen commented 6 years ago

Hmm it doesn't work entirely. brew ignores the pinned taps when building from source: https://discourse.brew.sh/t/brew-ignoring-pinned-dependencies-when-building-from-source/1695