Skip to content

Commit

Permalink
main/rustic: update to 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jcgruenhage authored and nekopsykose committed Oct 1, 2024
1 parent e0f1175 commit e145deb
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions main/rustic/template.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkgname = "rustic"
pkgver = "0.8.1"
pkgver = "0.9.0"
pkgrel = 0
build_style = "cargo"
make_build_args = ["--no-default-features", "--features=webdav,tui"]
Expand All @@ -13,24 +13,11 @@
source = (
f"https://github.com/rustic-rs/rustic/archive/refs/tags/v{pkgver}.tar.gz"
)
sha256 = "86117560a26a774c92dd37f52c8ed29204371eace2208c156cc32055de4092c9"
sha256 = "b911515ce3879f6d2dbd179014ccbad7b157152ff28ecb7812ca6ea65a315523"
# generates completions with host bins
options = ["!cross"]


def pre_prepare(self):
# newer rustix broken on ppc
self.do(
"cargo",
"update",
"--package",
"rustix",
"--precise",
"0.38.35",
allow_network=True,
)


def post_build(self):
for shell in ["bash", "fish", "zsh"]:
with open(self.cwd / f"rustic.{shell}", "w") as outf:
Expand Down

0 comments on commit e145deb

Please sign in to comment.