mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
rclone: update to 1.56.0
- pass $go_build_tags to `go test` to avoid failure - disable tests for `rclone serve docker` - re-enable tests on ci - adopt package Closes: #32114 [via git-merge-pr]
This commit is contained in:
parent
589c66ff39
commit
1bfda06cd7
1 changed files with 7 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'rclone'
|
# Template file for 'rclone'
|
||||||
pkgname=rclone
|
pkgname=rclone
|
||||||
version=1.55.1
|
version=1.56.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="rclone-v${version}"
|
wrksrc="rclone-v${version}"
|
||||||
build_style=go
|
build_style=go
|
||||||
|
@ -8,14 +8,12 @@ go_import_path=github.com/rclone/rclone
|
||||||
go_build_tags="noselfupdate"
|
go_build_tags="noselfupdate"
|
||||||
go_ldflags="-extldflags=-fuse-ld=bfd -X github.com/rclone/rclone/fs.Version=v${version}"
|
go_ldflags="-extldflags=-fuse-ld=bfd -X github.com/rclone/rclone/fs.Version=v${version}"
|
||||||
short_desc="Rsync for cloud storage"
|
short_desc="Rsync for cloud storage"
|
||||||
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
maintainer="Roberto Ricci <ricci@disroot.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://rclone.org/"
|
homepage="https://rclone.org/"
|
||||||
changelog="https://raw.githubusercontent.com/rclone/rclone/master/docs/content/changelog.md"
|
changelog="https://raw.githubusercontent.com/rclone/rclone/master/docs/content/changelog.md"
|
||||||
distfiles="https://downloads.rclone.org/v${version}/rclone-v${version}.tar.gz"
|
distfiles="https://downloads.rclone.org/v${version}/rclone-v${version}.tar.gz"
|
||||||
checksum=25da7fc5c9269b3897f27b0d946919df595c6dda1b127085fda0fe32aa59d29d
|
checksum=81d2eda23ebaad0a355aab6ff030712470a42505b94c01c9bb5a9ead9168cedb
|
||||||
# tests fail on CI
|
|
||||||
make_check=ci-skip
|
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
if [ "$CROSS_BUILD" ] && [ "$XBPS_TARGET_LIBC" = musl ]; then
|
if [ "$CROSS_BUILD" ] && [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||||
|
@ -27,7 +25,10 @@ pre_build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
RCLONE_CONFIG="/notfound" go test ./...
|
rm cmd/serve/docker/docker_test.go
|
||||||
|
|
||||||
|
# equivalent to quicktest target of Makefile
|
||||||
|
RCLONE_CONFIG="/notfound" go test -tags "$go_build_tags" ./...
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue