From 741923d0baf1d8ff155bf548d95f623b14e78dc9 Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Mon, 17 Oct 2022 21:31:42 +0200 Subject: [PATCH] pdm: depend on pygments Closes #113331. Signed-off-by: Rui Chen Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> --- Formula/pdm.rb | 6 +----- pypi_formula_mappings.json | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Formula/pdm.rb b/Formula/pdm.rb index 46f625073e9..84c785b6e8e 100644 --- a/Formula/pdm.rb +++ b/Formula/pdm.rb @@ -17,6 +17,7 @@ class Pdm < Formula sha256 cellar: :any_skip_relocation, x86_64_linux: "8975ea35d619a0ca7f81a9581c212932e87826ecf95a5016e50d714390f5c137" end + depends_on "pygments" depends_on "python@3.10" depends_on "six" @@ -95,11 +96,6 @@ class Pdm < Formula sha256 "58c8abb07dcb441e6ee4b11d8df0ac856038f944ab98b7be6b27b2a3c7feef19" end - resource "Pygments" do - url "https://files.pythonhosted.org/packages/e0/ef/5905cd3642f2337d44143529c941cc3a02e5af16f0f65f81cbef7af452bb/Pygments-2.13.0.tar.gz" - sha256 "56a8508ae95f98e2b9bdf93a6be5ae3f7d8af858b43e02c5a2ff083726be40c1" - end - resource "pyparsing" do url "https://files.pythonhosted.org/packages/71/22/207523d16464c40a0310d2d4d8926daffa00ac1f5b1576170a32db749636/pyparsing-3.0.9.tar.gz" sha256 "2b020ecf7d21b687f219b71ecad3631f644a47f01403fa1d1036b0c6416d70fb" diff --git a/pypi_formula_mappings.json b/pypi_formula_mappings.json index f2e519d4ae8..9fa01da9606 100644 --- a/pypi_formula_mappings.json +++ b/pypi_formula_mappings.json @@ -362,7 +362,7 @@ "exclude_packages": ["six", "PyYAML"] }, "pdm": { - "exclude_packages": ["six"], + "exclude_packages": ["six", "Pygments"], "extra_packages": ["wheel"] }, "percol": {