Skip to content

Commit 1e4bbbd

Browse files
committed
systemd: migrate to pypi_packages DSL
Signed-off-by: Rui Chen <[email protected]>
1 parent dd57ba9 commit 1e4bbbd

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Formula/s/systemd.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ class Systemd < Formula
5757
depends_on "xz"
5858
depends_on "zstd"
5959

60+
pypi_packages package_name: "",
61+
extra_packages: %w[jinja2 lxml]
62+
6063
resource "jinja2" do
6164
url "https://files.pythonhosted.org/packages/df/bf/f7da0350254c0ed7c72f3e33cef02e048281fec7ecec5f032d4aac52226b/jinja2-3.1.6.tar.gz"
6265
sha256 "0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d"

pypi_formula_mappings.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,5 @@
290290
"qtwebengine": {
291291
"package_name": "",
292292
"extra_packages": ["html5lib"]
293-
},
294-
"systemd": {
295-
"package_name": "",
296-
"extra_packages": ["jinja2", "lxml"]
297293
}
298294
}

0 commit comments

Comments
 (0)