Giter Club home page Giter Club logo

Comments (6)

dragon788 avatar dragon788 commented on August 30, 2024 1

I believe per another comment here or elsewhere that they have deprecated gnupg version 1 and [email protected] and replaced the gnupg namespace with 2.1.

from gopass.

falschparker82 avatar falschparker82 commented on August 30, 2024

Good one - but where? Serious question. Homebrew options are "self-documenting", but tbh they're a little hard to discover when faced with a differing version. Don't know.

from gopass.

danilobuerger avatar danilobuerger commented on August 30, 2024

Why not in the README.md next to the other brew install command?

from gopass.

falschparker82 avatar falschparker82 commented on August 30, 2024

As per http://discourse.brew.sh/t/write-formula-to-work-with-any-version-of-gpg/662 I'll probably rewrite the current hack to be a Homebrew::Requirement, which is then really self-documenting.

I'll leave some sample code here for myself later on...

class Erlang18Requirement < Requirement
  fatal true
  default_formula "erlang"

  satisfy do
    erl = which("erl")
    next unless erl
    `#{erl} -noshell -eval 'io:fwrite("~s", [erlang:system_info(otp_release) >= "18"])' -s erlang halt | grep -q '^true'`
    $?.exitstatus.zero?
  end

  def message; <<-EOS.undent
    Erlang 18+ is required to install.

    You can install this with:
      brew install erlang

    Or you can use an official installer from:
      https://www.erlang.org/
    EOS
  end
end

[...]
  depends_on Erlang18Requirement

from gopass.

danilobuerger avatar danilobuerger commented on August 30, 2024

It seems like the versions tap has been deprecated. http://docs.brew.sh/Versions.html

Maybe now it's possible to depend on something without specifying the version?

from gopass.

dominikschulz avatar dominikschulz commented on August 30, 2024

As we strongly suggest / require gpg2 by now, I don't think there are any special cases left to document here.

from gopass.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.