Skip to content

Commit c9816f9

Browse files
committed
huggingface-cli: migrate to pypi_packages DSL
Signed-off-by: Rui Chen <[email protected]>
1 parent 2a5363b commit c9816f9

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Formula/h/huggingface-cli.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ class HuggingfaceCli < Formula
2727
depends_on "openssl@3"
2828
end
2929

30+
pypi_packages package_name: "huggingface_hub[cli]",
31+
exclude_packages: "certifi"
32+
3033
resource "charset-normalizer" do
3134
url "https://files.pythonhosted.org/packages/13/69/33ddede1939fdd074bce5434295f38fae7136463422fe4fd3e0e89b98062/charset_normalizer-3.4.4.tar.gz"
3235
sha256 "94537985111c35f28720e43603b8e7b43a6ecfb2ce1d3058bbe955b73404e21a"

pypi_formula_mappings.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
{
2-
"huggingface-cli": {
3-
"package_name": "huggingface_hub[cli]",
4-
"exclude_packages": ["certifi"]
5-
},
62
"qtwebengine": {
73
"package_name": "",
84
"extra_packages": ["html5lib"]

0 commit comments

Comments
 (0)