From 412a69592bdcfd1565ce05313961717399c128de Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Sun, 11 Sep 2022 21:21:23 +0200 Subject: [PATCH] yamllint: depend on pyyaml Closes #110332. Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> --- Formula/yamllint.rb | 7 +------ pypi_formula_mappings.json | 5 ++++- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Formula/yamllint.rb b/Formula/yamllint.rb index b19bb10b783..e353b3741ba 100644 --- a/Formula/yamllint.rb +++ b/Formula/yamllint.rb @@ -17,19 +17,14 @@ class Yamllint < Formula sha256 cellar: :any_skip_relocation, x86_64_linux: "62f5d46f6ff31a65292a27c6739018d978dd19d0f0b1537623cab8b74ac21cfc" end - depends_on "libyaml" depends_on "python@3.10" + depends_on "pyyaml" resource "pathspec" do url "https://files.pythonhosted.org/packages/f6/33/436c5cb94e9f8902e59d1d544eb298b83c84b9ec37b5b769c5a0ad6edb19/pathspec-0.9.0.tar.gz" sha256 "e564499435a2673d586f6b2130bb5b95f04a3ba06f81b8f895b651a3c76aabb1" end - resource "PyYAML" do - url "https://files.pythonhosted.org/packages/36/2b/61d51a2c4f25ef062ae3f74576b01638bebad5e045f747ff12643df63844/PyYAML-6.0.tar.gz" - sha256 "68fb519c14306fec9720a2a5b45bc9f0c8d1b9c72adf45c37baedfcd949c35a2" - end - def install virtualenv_install_with_resources end diff --git a/pypi_formula_mappings.json b/pypi_formula_mappings.json index 6fc3e8079bb..62fa25badf8 100644 --- a/pypi_formula_mappings.json +++ b/pypi_formula_mappings.json @@ -469,5 +469,8 @@ "xdot": { "extra_packages": ["graphviz"] }, - "xonsh": "xonsh[ptk,pygments,proctitle]" + "xonsh": "xonsh[ptk,pygments,proctitle]", + "yamllint": { + "exclude_packages": ["PyYAML"] + } }