summaryrefslogtreecommitdiff
path: root/net-misc/rclone
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-12 12:31:24 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-12 12:31:24 +0100
commit3ea54510168a7ed4271b85f7292beca67346bfe9 (patch)
tree560f44ef2b85e5594b847ab20454e58b35ecd7e2 /net-misc/rclone
parent65a36438d5b824f80023c282dadc3fcd5736b526 (diff)
gentoo auto-resync : 12:09:2024 - 12:31:23
Diffstat (limited to 'net-misc/rclone')
-rw-r--r--net-misc/rclone/Manifest5
-rw-r--r--net-misc/rclone/metadata.xml2
-rw-r--r--net-misc/rclone/rclone-1.68.0.ebuild67
3 files changed, 72 insertions, 2 deletions
diff --git a/net-misc/rclone/Manifest b/net-misc/rclone/Manifest
index 88874e404e02..45b0d2a1d69e 100644
--- a/net-misc/rclone/Manifest
+++ b/net-misc/rclone/Manifest
@@ -1,4 +1,7 @@
DIST rclone-1.67.0-deps.tar.xz 367523832 BLAKE2B 45e33614658aa619f0abe4cb48ae8eb82d39cf3f56ef9c9f0fcfbc14c2ba2868ff237ae0ab1f308bab31352e176209029604c18c22d180d68c0605a6a671a3c2 SHA512 2e4aba47f37ca67c7ba827d9c70bae858cb9633861c546e9cf19205a11109c52ea8e3e7b13f3073be5ab6405770b7c58bb00124393b712bd59fa25da6930987e
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
EBUILD rclone-1.67.0.ebuild 1481 BLAKE2B 5ef10483275adc5c1528f671142d9d7ed5815af544850052c57343057ba965c001967e11a8cad63eb5704e187643c6a7a1e5fcdeae756fcc17273f72e35db9dd SHA512 06356bb6db628ab899b3946795c4b5687f7d32ffb1ae85c5f718828502659257b050861e720f084cc4221c6cfb7e95023ea08dc64750866a3617109a50579e33
-MISC metadata.xml 494 BLAKE2B 8c55f5c9c23f1f0d91a1c617b15839850edf6a1e1da2ce9f3c474c69770175a102be95500b37e384ad9d68b1931363d35d2e499ed38a918bbd13528116528c10 SHA512 7df01f2ac9a0fe8a048726c327ada07cdf3b332c202144e31dec4be9558c75819cb871425a70406e1b84df7a13cb7c8470cc6522b343a3efb4dc8b529687eb27
+EBUILD rclone-1.68.0.ebuild 1483 BLAKE2B 635fbf54022fa9243854913d12f696431ca6dc93f75cc223cc687dbd6ee40dd6d27de8bde28a478abff82244954fc6d25794ff9e4a86e5311876c64f07df6a5d SHA512 56a80fee745ba534f32b1bb6f0306ff01406c977f8eaf2c7acc5eb4b4df6e07a16aed8cf3cc20341283c2313216da182b27328c27351c496ca5011b547787dd4
+MISC metadata.xml 492 BLAKE2B cec7693bf30b3780ce77094c6ac87d0874a92220d2179f41aedfe65557a3238c65bac28fd467fadc537cb1c814500b1855545d3e31aa9ccbda7838be373b561f SHA512 5312b6a481ee70027653ee271d9e08576c09b4e48a0d0848479cc8a2a8d22a47fc2c14b446fb4fe2f26e4636b4eec20b0f5cba6ed4fa89712a95fd0d235671e8
diff --git a/net-misc/rclone/metadata.xml b/net-misc/rclone/metadata.xml
index 77f51273cdf6..08aec66404f8 100644
--- a/net-misc/rclone/metadata.xml
+++ b/net-misc/rclone/metadata.xml
@@ -10,7 +10,7 @@
<name>Maciej Barć</name>
</maintainer>
<upstream>
- <bugs-to>https://gitlab.com/rclone/rclone/-/issues/</bugs-to>
+ <bugs-to>https://github.com/rclone/rclone/issues/</bugs-to>
<remote-id type="github">rclone/rclone</remote-id>
</upstream>
</pkgmetadata>
diff --git a/net-misc/rclone/rclone-1.68.0.ebuild b/net-misc/rclone/rclone-1.68.0.ebuild
new file mode 100644
index 000000000000..b59ebe324c66
--- /dev/null
+++ b/net-misc/rclone/rclone-1.68.0.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/${P}-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
+}