Skip to content

Commit

Permalink
rdiff-backup: migrate to python@3.12
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <rui@chenrui.dev>

rdiff-backup: neeeds python-setuptools for build

Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
chenrui333 committed Oct 15, 2023
1 parent 0ab8495 commit dd801cd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Formula/r/rdiff-backup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,16 @@ class RdiffBackup < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "ab812d3b5219a0ea3ed048ce216a04af62b77b44fb5f258dd286d22339a7f3bd"
end

depends_on "python-setuptools" => :build
depends_on "librsync"
depends_on "python@3.11"
depends_on "python@3.12"
depends_on "pyyaml"

def python3
which("python3.12")
end

def install
python3 = "python3.11"
system python3, "-m", "pip", "install", *std_pip_args, "."
end

Expand Down

0 comments on commit dd801cd

Please sign in to comment.