From 9266b773e8f4ef2d99d9c23b5b593da7bd1ce387 Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Sat, 10 Sep 2022 21:26:23 +0300 Subject: [PATCH] remarshal: depend on pyyaml Closes #110233. Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> --- Formula/remarshal.rb | 7 +------ pypi_formula_mappings.json | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Formula/remarshal.rb b/Formula/remarshal.rb index 7ff5f909f52..635518c77e6 100644 --- a/Formula/remarshal.rb +++ b/Formula/remarshal.rb @@ -19,8 +19,8 @@ class Remarshal < Formula end depends_on "poetry" => :build - depends_on "libyaml" # for faster PyYAML depends_on "python@3.10" + depends_on "pyyaml" depends_on "six" conflicts_with "msgpack-tools", because: "both install 'json2msgpack' binary" @@ -35,11 +35,6 @@ class Remarshal < Formula sha256 "0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86" end - resource "PyYAML" do - url "https://files.pythonhosted.org/packages/a0/a4/d63f2d7597e1a4b55aa3b4d6c5b029991d3b824b5bd331af8d4ab1ed687d/PyYAML-5.4.1.tar.gz" - sha256 "607774cbba28732bfa802b54baa7484215f530991055bb562efbed5b2f20a45e" - end - resource "tomlkit" do url "https://files.pythonhosted.org/packages/65/ed/7b7216101bc48627b630693b03392f33827901b81d4e1360a76515e3abc4/tomlkit-0.7.2.tar.gz" sha256 "d7a454f319a7e9bd2e249f239168729327e4dd2d27b17dc68be264ad1ce36754" diff --git a/pypi_formula_mappings.json b/pypi_formula_mappings.json index ac2c6008e26..109ca55aeb3 100644 --- a/pypi_formula_mappings.json +++ b/pypi_formula_mappings.json @@ -362,7 +362,7 @@ "exclude_packages": ["tabulate"] }, "remarshal": { - "exclude_packages": ["six"] + "exclude_packages": ["six", "PyYAML"] }, "restview": { "exclude_packages": ["six"]