Skip to content

Commit 628e8f7

Browse files
committed
harlequin: migrate to pypi_packages DSL
Signed-off-by: Rui Chen <[email protected]>
1 parent b5d9e46 commit 628e8f7

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Formula/h/harlequin.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ class Harlequin < Formula
3131
depends_on "patchelf" => :build # for pyarrow
3232
end
3333

34+
pypi_packages package_name: "harlequin[mysql,odbc,postgres]",
35+
exclude_packages: %w[numpy psycopg-binary tree-sitter-languages],
36+
extra_packages: "psycopg-c"
37+
3438
resource "click" do
3539
url "https://files.pythonhosted.org/packages/b9/2e/0090cbf739cee7d23781ad4b89a9894a41538e4fcf4c31dcdd705b78eb8b/click-8.1.8.tar.gz"
3640
sha256 "ed53c9d8990d83c2a27deae68e4ee337473f6330c040a31d4225c9574d16096a"

pypi_formula_mappings.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
{
2-
"harlequin": {
3-
"package_name": "harlequin[mysql,odbc,postgres]",
4-
"exclude_packages": ["numpy", "psycopg-binary", "tree-sitter-languages"],
5-
"extra_packages": ["psycopg-c"]
6-
},
72
"hatch": {
83
"exclude_packages": ["certifi", "cryptography", "uv"]
94
},

0 commit comments

Comments
 (0)