summaryrefslogtreecommitdiff
path: root/net-misc/rclone
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-29 01:25:46 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-29 01:25:46 +0100
commit04ac238703da84168e02b06fb131d1d17d85be23 (patch)
treef32aa3a6b6a6c879a798006535ad544bf888df73 /net-misc/rclone
parent6405cba4bf18141460bc9fcb8f5580532d4b46f8 (diff)
gentoo auto-resync : 29:09:2024 - 01:25:46
Diffstat (limited to 'net-misc/rclone')
-rw-r--r--net-misc/rclone/Manifest2
-rw-r--r--net-misc/rclone/rclone-1.68.1.ebuild67
2 files changed, 69 insertions, 0 deletions
diff --git a/net-misc/rclone/Manifest b/net-misc/rclone/Manifest
index 45b0d2a1d69e..d71203f698ed 100644
--- a/net-misc/rclone/Manifest
+++ b/net-misc/rclone/Manifest
@@ -2,6 +2,8 @@ DIST rclone-1.67.0-deps.tar.xz 367523832 BLAKE2B 45e33614658aa619f0abe4cb48ae8eb
DIST rclone-1.67.0.tar.gz 17232236 BLAKE2B 8241234a970335bb67a5f51b11fdc79afe4a3894c1df2409d141cc8662fec669c1d273e7e67383291703cf66a4168a0ff3c3f8e28d569b0df340c0e7b4a4c324 SHA512 9d336c6a03ba7711f88fbd6ff019b4ce02825467b9656bba8811e9c27fe857ba5d64d863e1f5f3129cbcc89509891615d911794376c90775901a7de1b0741448
DIST rclone-1.68.0-deps.tar.xz 313382892 BLAKE2B 5dbf928d1a9ee4eccd796c5d083da1fefc115af9b087072708fa5a9e98a5bc74f824e922c1cad8f132c2549d4c335877c4fa78f8842a1732972bbe862b0bba28 SHA512 e32a8489ab822648f26b47e58ef7a7a1f3776ee08b585a642a21e02b31095ddef22b068e97cf21545e6a806b467d4d5e79eab4ae31da9ccf238d7735ca6dc35f
DIST rclone-1.68.0.tar.gz 17441116 BLAKE2B 445cd8607950b25cf973350a62d884c3b786eadd6e781d36a1886e085871accc6743672f993f6da8a15a1af7e0146110ff931fe169d6f8a4586cf772e6e17fc9 SHA512 899255f6a22c53b7ab5b59c0f3532bc64b9b3b2691e7202a97fea5047cc8cdf042c2e235cdac67c8cf18e3d68ca2b2ca1eb4d871bffcba8c97514c7ef8db0e13
+DIST rclone-1.68.1.tar.gz 17452992 BLAKE2B 34e16868cc84b80becd4403ceae925c3c20d0989383c563b58a46190fec983f1949572643843509a060afefa4808c3b8865335681529203a91c3bb5201d9888d SHA512 8f98e569c0959dfa407621d35acb552e6a5f5b409d2f1d89efd116d746f2a6a742e0bebf8f298ba189d7f187fc4c79d285e7db28e52d5d9e7517d5e0a6aa7fc9
EBUILD rclone-1.67.0.ebuild 1481 BLAKE2B 5ef10483275adc5c1528f671142d9d7ed5815af544850052c57343057ba965c001967e11a8cad63eb5704e187643c6a7a1e5fcdeae756fcc17273f72e35db9dd SHA512 06356bb6db628ab899b3946795c4b5687f7d32ffb1ae85c5f718828502659257b050861e720f084cc4221c6cfb7e95023ea08dc64750866a3617109a50579e33
EBUILD rclone-1.68.0.ebuild 1483 BLAKE2B 635fbf54022fa9243854913d12f696431ca6dc93f75cc223cc687dbd6ee40dd6d27de8bde28a478abff82244954fc6d25794ff9e4a86e5311876c64f07df6a5d SHA512 56a80fee745ba534f32b1bb6f0306ff01406c977f8eaf2c7acc5eb4b4df6e07a16aed8cf3cc20341283c2313216da182b27328c27351c496ca5011b547787dd4
+EBUILD rclone-1.68.1.ebuild 1491 BLAKE2B a2bcbfd4916a69e80cc400a596c4fc43e7f56f62d7830b4b6e2a1dc4d3c214bac36f58640355f7fa2653da4626e18ca7bd89fef84c6ed9a8dd12a0f60208f61e SHA512 042e5818a9577e3813b6112e9c12c449d81f281ece0ebd04b02c201d31728ce699a14c73fff3d41ca59696c73a65d4f1e0d0fbc7b6b4e8936499e5fc8f1e57aa
MISC metadata.xml 492 BLAKE2B cec7693bf30b3780ce77094c6ac87d0874a92220d2179f41aedfe65557a3238c65bac28fd467fadc537cb1c814500b1855545d3e31aa9ccbda7838be373b561f SHA512 5312b6a481ee70027653ee271d9e08576c09b4e48a0d0848479cc8a2a8d22a47fc2c14b446fb4fe2f26e4636b4eec20b0f5cba6ed4fa89712a95fd0d235671e8
diff --git a/net-misc/rclone/rclone-1.68.1.ebuild b/net-misc/rclone/rclone-1.68.1.ebuild
new file mode 100644
index 000000000000..4e1b0243c823
--- /dev/null
+++ b/net-misc/rclone/rclone-1.68.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 check-reqs edo go-module
+
+DESCRIPTION="A program to sync files to and from various cloud storage providers"
+HOMEPAGE="https://rclone.org/
+ https://github.com/rclone/rclone/"
+SRC_URI="
+ https://github.com/rclone/rclone/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz
+ https://dev.gentoo.org/~xgqt/distfiles/deps/${PN}-1.68.0-deps.tar.xz
+"
+
+LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+RDEPEND="
+ sys-fs/fuse:3
+"
+
+CHECKREQS_DISK_BUILD="2500M"
+
+pkg_setup() {
+ check-reqs_pkg_setup
+}
+
+src_compile() {
+ local go_ldflags="
+ -X github.com/rclone/rclone/fs.Version=${PV}
+ "
+ local -a go_buildargs=(
+ -ldflags "${go_ldflags}"
+ -mod=readonly
+ -o ./
+ )
+ ego build "${go_buildargs[@]}" .
+
+ edob ./rclone genautocomplete bash "${PN}.bash"
+ edob ./rclone genautocomplete zsh "${PN}.zsh"
+}
+
+src_test() {
+ # Setting CI skips unreliable tests, see "fstest/testy/testy.go"
+ # "TestAddPlugin" and "TestRemovePlugin" fail.
+ local -x CI="true"
+ local -x RCLONE_CONFIG="/not_found"
+
+ edob go test -mod=readonly -v -run "!Test.*Plugin" ./...
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe "${PN}"
+ dosym -r "/usr/bin/${PN}" /usr/bin/mount.rclone
+ dosym -r "/usr/bin/${PN}" /usr/bin/rclonefs
+
+ newbashcomp "${PN}.bash" "${PN}"
+ insinto /usr/share/zsh/site-functions
+ newins "${PN}.zsh" "_${PN}"
+
+ doman "${PN}.1"
+ einstalldocs
+}