From 08f29764fc5f844f8aaa5aad0f68aee9a0f90d17 Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Mon, 17 Oct 2022 10:47:57 +0200 Subject: [PATCH] censys: depend on pygments Closes #113287. Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> --- Formula/censys.rb | 6 +----- pypi_formula_mappings.json | 3 +++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Formula/censys.rb b/Formula/censys.rb index 8d797905278..9f0ef8e223a 100644 --- a/Formula/censys.rb +++ b/Formula/censys.rb @@ -16,6 +16,7 @@ class Censys < Formula sha256 cellar: :any_skip_relocation, x86_64_linux: "bdcc975ccc160c5cc79fc2cb9213e1423a96b937f5c3461131c632d6c72ea0ef" end + depends_on "pygments" depends_on "python@3.10" resource "backoff" do @@ -43,11 +44,6 @@ class Censys < Formula sha256 "9d643ff0a55b762d5cdb124b8eaa99c66322e2157b69160bc32796e824360e6d" end - resource "Pygments" do - url "https://files.pythonhosted.org/packages/e0/ef/5905cd3642f2337d44143529c941cc3a02e5af16f0f65f81cbef7af452bb/Pygments-2.13.0.tar.gz" - sha256 "56a8508ae95f98e2b9bdf93a6be5ae3f7d8af858b43e02c5a2ff083726be40c1" - end - resource "requests" do url "https://files.pythonhosted.org/packages/a5/61/a867851fd5ab77277495a8709ddda0861b28163c4613b011bc00228cc724/requests-2.28.1.tar.gz" sha256 "7c5599b102feddaa661c826c56ab4fee28bfd17f5abca1ebbe3e7f19d7c97983" diff --git a/pypi_formula_mappings.json b/pypi_formula_mappings.json index 7a15c62f580..1f0fce1c6b3 100644 --- a/pypi_formula_mappings.json +++ b/pypi_formula_mappings.json @@ -72,6 +72,9 @@ "bzt": { "exclude_packages": ["numpy", "six"] }, + "censys": { + "exclude_packages": ["Pygments"] + }, "certbot": { "extra_packages": ["certbot-apache", "certbot-nginx"], "exclude_packages": ["six"]