Skip to content

Commit 3cfdde8

Browse files
committed
howdoi: migrate to pypi_packages DSL
Signed-off-by: Rui Chen <[email protected]>
1 parent 749df40 commit 3cfdde8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Formula/h/howdoi.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ class Howdoi < Formula
2626
uses_from_macos "libxml2", since: :ventura
2727
uses_from_macos "libxslt"
2828

29+
pypi_packages exclude_packages: %w[certifi cryptography]
30+
2931
resource "appdirs" do
3032
url "https://files.pythonhosted.org/packages/d7/d8/05696357e0311f5b5c316d7b95f46c669dd9c15aaeecbb48c7d0aeb88c40/appdirs-1.4.4.tar.gz"
3133
sha256 "7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41"

pypi_formula_mappings.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
2-
"howdoi": {
3-
"exclude_packages": ["certifi", "cryptography"]
4-
},
52
"http-prompt": {
63
"exclude_packages": ["certifi"]
74
},

0 commit comments

Comments
 (0)