net-misc/rclone: new ebuild...newer version than in Portage
This commit is contained in:
@@ -8,5 +8,5 @@ LICENSE=Apache-2.0
|
||||
RESTRICT=strip
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/coreos/butane/archive/refs/tags/v0.20.0.tar.gz -> butane-0.20.0.tar.gz
|
||||
_eclasses_=go-env 96e1747610bbb2f5c5d3fb16f0f3a83a go-module 09ccb1fdea4f1f3f718e27b756636097 multilib c19072c3cd7ac5cb21de013f7e9832e0 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe toolchain-funcs e56c7649b804f051623c8bc1a1c44084
|
||||
_eclasses_=go-env 96e1747610bbb2f5c5d3fb16f0f3a83a go-module 83fd3ed1657cfc316c93d6a37018290d multilib c19072c3cd7ac5cb21de013f7e9832e0 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe toolchain-funcs e56c7649b804f051623c8bc1a1c44084
|
||||
_md5_=a72407282afaf8bb030fd6d9b58d1735
|
||||
|
||||
@@ -9,5 +9,5 @@ LICENSE=MIT
|
||||
RESTRICT=mirror test strip
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/miquels/webdavfs/archive/v1.0.tar.gz -> webdavfs-1.0.tar.gz https://alfter.us/wp-content/uploads/2023/04/webdavfs-1.0-deps.tar.xz
|
||||
_eclasses_=go-env 96e1747610bbb2f5c5d3fb16f0f3a83a go-module 09ccb1fdea4f1f3f718e27b756636097 multilib c19072c3cd7ac5cb21de013f7e9832e0 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe toolchain-funcs e56c7649b804f051623c8bc1a1c44084
|
||||
_eclasses_=go-env 96e1747610bbb2f5c5d3fb16f0f3a83a go-module 83fd3ed1657cfc316c93d6a37018290d multilib c19072c3cd7ac5cb21de013f7e9832e0 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe toolchain-funcs e56c7649b804f051623c8bc1a1c44084
|
||||
_md5_=a2dcd2f66f62566d1639bee71e0ae5a8
|
||||
|
||||
14
metadata/md5-cache/net-misc/rclone-1.65.2
Normal file
14
metadata/md5-cache/net-misc/rclone-1.65.2
Normal file
@@ -0,0 +1,14 @@
|
||||
BDEPEND=>=dev-lang/go-1.20:= app-arch/unzip
|
||||
DEFINED_PHASES=compile install test unpack
|
||||
DESCRIPTION=A program to sync files to and from various cloud storage providers
|
||||
EAPI=8
|
||||
HOMEPAGE=https://rclone.org/
|
||||
INHERIT=bash-completion-r1 go-module
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~riscv ~x86
|
||||
LICENSE=Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0
|
||||
RDEPEND=sys-fs/fuse:3
|
||||
RESTRICT=strip
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/rclone/rclone/archive/v1.65.2.tar.gz -> rclone-1.65.2.tar.gz https://alfter.us/wp-content/uploads/2024/03/rclone-1.65.2-deps.tar.bz2
|
||||
_eclasses_=bash-completion-r1 f5e7a020fd9c741740756aac61bf75ff go-env 96e1747610bbb2f5c5d3fb16f0f3a83a go-module 83fd3ed1657cfc316c93d6a37018290d multilib c19072c3cd7ac5cb21de013f7e9832e0 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe toolchain-funcs e56c7649b804f051623c8bc1a1c44084
|
||||
_md5_=8939c5caf067e046152fa1d6ce4c07b8
|
||||
@@ -11,5 +11,5 @@ LICENSE=LGPL-3
|
||||
RESTRICT=mirror test strip
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/trezor/trezord-go/archive/v2.0.33.tar.gz -> trezord-go-2.0.33.tar.gz mirror://goproxy//github.com/!burnt!sushi/toml/@v/v0.3.1.zip -> github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.zip mirror://goproxy//github.com/!burnt!sushi/toml/@v/v0.3.1.mod -> github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.mod mirror://goproxy//github.com/felixge/httpsnoop/@v/v1.0.1.zip -> github.com%2Ffelixge%2Fhttpsnoop%2F@v%2Fv1.0.1.zip mirror://goproxy//github.com/felixge/httpsnoop/@v/v1.0.1.mod -> github.com%2Ffelixge%2Fhttpsnoop%2F@v%2Fv1.0.1.mod mirror://goproxy//github.com/gorilla/csrf/@v/v1.7.0.zip -> github.com%2Fgorilla%2Fcsrf%2F@v%2Fv1.7.0.zip mirror://goproxy//github.com/gorilla/csrf/@v/v1.7.0.mod -> github.com%2Fgorilla%2Fcsrf%2F@v%2Fv1.7.0.mod mirror://goproxy//github.com/gorilla/handlers/@v/v1.5.1.zip -> github.com%2Fgorilla%2Fhandlers%2F@v%2Fv1.5.1.zip mirror://goproxy//github.com/gorilla/handlers/@v/v1.5.1.mod -> github.com%2Fgorilla%2Fhandlers%2F@v%2Fv1.5.1.mod mirror://goproxy//github.com/gorilla/mux/@v/v1.8.0.zip -> github.com%2Fgorilla%2Fmux%2F@v%2Fv1.8.0.zip mirror://goproxy//github.com/gorilla/mux/@v/v1.8.0.mod -> github.com%2Fgorilla%2Fmux%2F@v%2Fv1.8.0.mod mirror://goproxy//github.com/gorilla/securecookie/@v/v1.1.1.zip -> github.com%2Fgorilla%2Fsecurecookie%2F@v%2Fv1.1.1.zip mirror://goproxy//github.com/gorilla/securecookie/@v/v1.1.1.mod -> github.com%2Fgorilla%2Fsecurecookie%2F@v%2Fv1.1.1.mod mirror://goproxy//github.com/pkg/errors/@v/v0.9.1.zip -> github.com%2Fpkg%2Ferrors%2F@v%2Fv0.9.1.zip mirror://goproxy//github.com/pkg/errors/@v/v0.9.1.mod -> github.com%2Fpkg%2Ferrors%2F@v%2Fv0.9.1.mod mirror://goproxy//gopkg.in/check.v1/@v/v0.0.0-20161208181325-20d25e280405.zip -> gopkg.in%2Fcheck.v1%2F@v%2Fv0.0.0-20161208181325-20d25e280405.zip mirror://goproxy//gopkg.in/check.v1/@v/v0.0.0-20161208181325-20d25e280405.mod -> gopkg.in%2Fcheck.v1%2F@v%2Fv0.0.0-20161208181325-20d25e280405.mod mirror://goproxy//gopkg.in/natefinch/lumberjack.v2/@v/v2.0.0.zip -> gopkg.in%2Fnatefinch%2Flumberjack.v2%2F@v%2Fv2.0.0.zip mirror://goproxy//gopkg.in/natefinch/lumberjack.v2/@v/v2.0.0.mod -> gopkg.in%2Fnatefinch%2Flumberjack.v2%2F@v%2Fv2.0.0.mod mirror://goproxy//gopkg.in/yaml.v2/@v/v2.4.0.zip -> gopkg.in%2Fyaml.v2%2F@v%2Fv2.4.0.zip mirror://goproxy//gopkg.in/yaml.v2/@v/v2.4.0.mod -> gopkg.in%2Fyaml.v2%2F@v%2Fv2.4.0.mod
|
||||
_eclasses_=go-env 96e1747610bbb2f5c5d3fb16f0f3a83a go-module 09ccb1fdea4f1f3f718e27b756636097 multilib c19072c3cd7ac5cb21de013f7e9832e0 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe systemd c8b03e8df84486aa991d4396686e8942 toolchain-funcs e56c7649b804f051623c8bc1a1c44084 udev eec0bbab06977f1cfc5597269c1fa152
|
||||
_eclasses_=go-env 96e1747610bbb2f5c5d3fb16f0f3a83a go-module 83fd3ed1657cfc316c93d6a37018290d multilib c19072c3cd7ac5cb21de013f7e9832e0 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe systemd c8b03e8df84486aa991d4396686e8942 toolchain-funcs e56c7649b804f051623c8bc1a1c44084 udev eec0bbab06977f1cfc5597269c1fa152
|
||||
_md5_=8f920d74cd9c4f3ffdf1fc124e039d41
|
||||
|
||||
2
net-misc/rclone/Manifest
Normal file
2
net-misc/rclone/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST rclone-1.65.2-deps.tar.bz2 396537986 BLAKE2B 9a2c00e2e54ea44be46b62a435097a2245fc10efb3687f380745c438281b255c0472855121467e98f615db926b8cd88bf058fb4ba8bb5061726d141b65b004c3 SHA512 d241f44688e55637314bc5ea032ce576f7ceb53feac02a569904e59e8e1d5e96db7eddc584d5f37651705fdcaac9775d684413fedb4c204897f2209081626520
|
||||
DIST rclone-1.65.2.tar.gz 16812576 BLAKE2B ed8ae1ed00614eaaa655ee15d7654c672d404dd79e36c3d762050a1984db529ec41b9e92db06570d881a8382d666bb1fe550416bdec72f0b05e3c804c8249a70 SHA512 31680901176749a6a6636e2d879554612575bf4bdd20012114f0f5ec8d584043c6a80c24f3879381a735c1bfb69d5d191aa926930fd32a5d5b0ca47797c13d19
|
||||
11
net-misc/rclone/metadata.xml
Normal file
11
net-misc/rclone/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>perfinion@gentoo.org</email>
|
||||
<name>Jason Zaman</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">rclone/rclone</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
46
net-misc/rclone/rclone-1.65.2.ebuild
Normal file
46
net-misc/rclone/rclone-1.65.2.ebuild
Normal file
@@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit bash-completion-r1 go-module
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||
SRC_URI="
|
||||
https://github.com/rclone/rclone/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://alfter.us/wp-content/uploads/2024/03/${P}-deps.tar.bz2
|
||||
"
|
||||
|
||||
# see https://wiki.gentoo.org/wiki/Writing_go_Ebuilds for updating the
|
||||
# vendor tarball
|
||||
|
||||
DESCRIPTION="A program to sync files to and from various cloud storage providers"
|
||||
HOMEPAGE="https://rclone.org/"
|
||||
|
||||
LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="sys-fs/fuse:3"
|
||||
|
||||
src_compile() {
|
||||
go build -mod=readonly . || die "compile failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Setting CI skips unreliable tests, see fstest/testy/testy.go
|
||||
# TestAddPlugin and TestRemovePlugin fail
|
||||
RCLONE_CONFIG="/notfound" CI="true" go test -mod=readonly -v -run "!Test.*Plugin" ./... || die "test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
doman ${PN}.1
|
||||
dodoc README.md
|
||||
|
||||
./rclone genautocomplete bash ${PN}.bash || die
|
||||
newbashcomp ${PN}.bash ${PN}
|
||||
|
||||
./rclone genautocomplete zsh ${PN}.zsh || die
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins ${PN}.zsh _${PN}
|
||||
}
|
||||
Reference in New Issue
Block a user