python-yq 2.10.0
Closes #48396. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
c51b31aa30
commit
04f35f067e
1 changed files with 25 additions and 5 deletions
|
@ -1,8 +1,8 @@
|
||||||
class PythonYq < Formula
|
class PythonYq < Formula
|
||||||
desc "Command-line YAML and XML processor that wraps jq"
|
desc "Command-line YAML and XML processor that wraps jq"
|
||||||
homepage "https://yq.readthedocs.io/"
|
homepage "https://kislyuk.github.io/yq/"
|
||||||
url "https://files.pythonhosted.org/packages/5f/50/06196fef59e4f09f8ad3490c0ccca8c1d1b020fabc122cbde8290ce2f7c4/yq-2.9.2.tar.gz"
|
url "https://files.pythonhosted.org/packages/c7/3d/79eef9b78f2245a28446196c43d3744163b5e1783904f6bad2adb6cb4154/yq-2.10.0.tar.gz"
|
||||||
sha256 "9a169c2cbdabf2e3151e7e289ac9aa94ee4284c135eacb630703102d6e321edd"
|
sha256 "abaf2c0728f1c38dee852e976b0a6def5ab660d67430ee5af76b7a37072eba46"
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
cellar :any_skip_relocation
|
cellar :any_skip_relocation
|
||||||
|
@ -16,9 +16,24 @@ class PythonYq < Formula
|
||||||
|
|
||||||
conflicts_with "yq", :because => "both install `yq` executables"
|
conflicts_with "yq", :because => "both install `yq` executables"
|
||||||
|
|
||||||
|
resource "argcomplete" do
|
||||||
|
url "https://files.pythonhosted.org/packages/84/44/ad7f3fc9483b776dcee11d0a1dcadb6e55c456e06ae611073b82bc8d63d2/argcomplete-1.11.0.tar.gz"
|
||||||
|
sha256 "783d6a12c6c84a33653dc5bac4d6c0640ba64d1037c2662acd9dbe410c26056f"
|
||||||
|
end
|
||||||
|
|
||||||
|
resource "importlib-metadata" do
|
||||||
|
url "https://files.pythonhosted.org/packages/cb/bb/7a935a48bf751af244090a7bd558769942cf13a7eba874b8b25538f3db01/importlib_metadata-1.3.0.tar.gz"
|
||||||
|
sha256 "073a852570f92da5f744a3472af1b61e28e9f78ccf0c9117658dc32b15de7b45"
|
||||||
|
end
|
||||||
|
|
||||||
|
resource "more-itertools" do
|
||||||
|
url "https://files.pythonhosted.org/packages/4e/b2/e9e512cccde6c54bf66a8e5820a2af779eb8235028627002ca90d4f75bea/more-itertools-8.0.2.tar.gz"
|
||||||
|
sha256 "b84b238cce0d9adad5ed87e745778d20a3f8487d0f0cb8b8a586816c7496458d"
|
||||||
|
end
|
||||||
|
|
||||||
resource "PyYAML" do
|
resource "PyYAML" do
|
||||||
url "https://files.pythonhosted.org/packages/e3/e8/b3212641ee2718d556df0f23f78de8303f068fe29cdaa7a91018849582fe/PyYAML-5.1.2.tar.gz"
|
url "https://files.pythonhosted.org/packages/8d/c9/e5be955a117a1ac548cdd31e37e8fd7b02ce987f9655f5c7563c656d5dcb/PyYAML-5.2.tar.gz"
|
||||||
sha256 "01adf0b6c6f61bd11af6e10ca52b7d4057dd0be0343eb9283c878cf3af56aee4"
|
sha256 "c0ee8eca2c582d29c3c2ec6e2c4f703d1b7f1fb10bc72317355a746057e7346c"
|
||||||
end
|
end
|
||||||
|
|
||||||
resource "xmltodict" do
|
resource "xmltodict" do
|
||||||
|
@ -26,6 +41,11 @@ class PythonYq < Formula
|
||||||
sha256 "50d8c638ed7ecb88d90561beedbf720c9b4e851a9fa6c47ebd64e99d166d8a21"
|
sha256 "50d8c638ed7ecb88d90561beedbf720c9b4e851a9fa6c47ebd64e99d166d8a21"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
resource "zipp" do
|
||||||
|
url "https://files.pythonhosted.org/packages/57/dd/585d728479d97d25aeeb9aa470d36a4ad8d0ba5610f84e14770128ce6ff7/zipp-0.6.0.tar.gz"
|
||||||
|
sha256 "3718b1cbcd963c7d4c5511a8240812904164b7f381b647143a89d3b98f9bcd8e"
|
||||||
|
end
|
||||||
|
|
||||||
def install
|
def install
|
||||||
xy = Language::Python.major_minor_version "python3"
|
xy = Language::Python.major_minor_version "python3"
|
||||||
ENV["PYTHONPATH"] = libexec/"lib/python#{xy}/site-packages"
|
ENV["PYTHONPATH"] = libexec/"lib/python#{xy}/site-packages"
|
||||||
|
|
Loading…
Reference in a new issue