# Copyright 2021-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit go-module EGO_SUM=( "cloud.google.com/go/compute/metadata v0.3.0/go.mod" "code.gitea.io/sdk/gitea v0.19.0" "code.gitea.io/sdk/gitea v0.19.0/go.mod" "dario.cat/mergo v1.0.0" "dario.cat/mergo v1.0.0/go.mod" "github.com/Microsoft/go-winio v0.5.2/go.mod" "github.com/Microsoft/go-winio v0.6.2" "github.com/Microsoft/go-winio v0.6.2/go.mod" "github.com/ProtonMail/go-crypto v1.0.0" "github.com/ProtonMail/go-crypto v1.0.0/go.mod" "github.com/alecthomas/assert/v2 v2.6.0" "github.com/alecthomas/assert/v2 v2.6.0/go.mod" "github.com/alecthomas/kong v0.9.0" "github.com/alecthomas/kong v0.9.0/go.mod" "github.com/alecthomas/repr v0.4.0" "github.com/alecthomas/repr v0.4.0/go.mod" "github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be" "github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod" "github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5" "github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod" "github.com/beorn7/perks v1.0.1" "github.com/beorn7/perks v1.0.1/go.mod" "github.com/bwesterb/go-ristretto v1.2.3/go.mod" "github.com/cespare/xxhash/v2 v2.3.0" "github.com/cespare/xxhash/v2 v2.3.0/go.mod" "github.com/cloudflare/circl v1.3.3/go.mod" "github.com/cloudflare/circl v1.3.9" "github.com/cloudflare/circl v1.3.9/go.mod" "github.com/cooperspencer/onedev v0.0.0-20240801121041-919f6d3f7ea6" "github.com/cooperspencer/onedev v0.0.0-20240801121041-919f6d3f7ea6/go.mod" "github.com/coreos/go-systemd/v22 v22.5.0/go.mod" "github.com/creack/pty v1.1.9/go.mod" "github.com/cyphar/filepath-securejoin v0.3.1" "github.com/cyphar/filepath-securejoin v0.3.1/go.mod" "github.com/davecgh/go-spew v1.1.0/go.mod" "github.com/davecgh/go-spew v1.1.1" "github.com/davecgh/go-spew v1.1.1/go.mod" "github.com/davidmz/go-pageant v1.0.2" "github.com/davidmz/go-pageant v1.0.2/go.mod" "github.com/dustin/go-humanize v1.0.1" "github.com/dustin/go-humanize v1.0.1/go.mod" "github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a" "github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a/go.mod" "github.com/emirpasic/gods v1.18.1" "github.com/emirpasic/gods v1.18.1/go.mod" "github.com/fatih/color v1.16.0" "github.com/fatih/color v1.16.0/go.mod" "github.com/gliderlabs/ssh v0.3.7" "github.com/gliderlabs/ssh v0.3.7/go.mod" "github.com/go-fed/httpsig v1.1.0" "github.com/go-fed/httpsig v1.1.0/go.mod" "github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376" "github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod" "github.com/go-git/go-billy/v5 v5.5.0" "github.com/go-git/go-billy/v5 v5.5.0/go.mod" "github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399" "github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod" "github.com/go-git/go-git/v5 v5.12.0" "github.com/go-git/go-git/v5 v5.12.0/go.mod" "github.com/go-ini/ini v1.67.0" "github.com/go-ini/ini v1.67.0/go.mod" "github.com/goccy/go-json v0.10.3" "github.com/goccy/go-json v0.10.3/go.mod" "github.com/godbus/dbus/v5 v5.0.4/go.mod" "github.com/gogs/go-gogs-client v0.0.0-20210131175652-1d7215cd8d85" "github.com/gogs/go-gogs-client v0.0.0-20210131175652-1d7215cd8d85/go.mod" "github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da" "github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod" "github.com/golang/protobuf v1.3.1/go.mod" "github.com/golang/protobuf v1.3.2/go.mod" "github.com/google/go-cmp v0.5.2/go.mod" "github.com/google/go-cmp v0.5.6/go.mod" "github.com/google/go-cmp v0.5.9/go.mod" "github.com/google/go-cmp v0.6.0" "github.com/google/go-cmp v0.6.0/go.mod" "github.com/google/go-github/v41 v41.0.0" "github.com/google/go-github/v41 v41.0.0/go.mod" "github.com/google/go-querystring v1.1.0" "github.com/google/go-querystring v1.1.0/go.mod" "github.com/google/uuid v1.6.0" "github.com/google/uuid v1.6.0/go.mod" "github.com/gookit/color v1.5.4" "github.com/gookit/color v1.5.4/go.mod" "github.com/hashicorp/go-cleanhttp v0.5.2" "github.com/hashicorp/go-cleanhttp v0.5.2/go.mod" "github.com/hashicorp/go-hclog v1.6.3" "github.com/hashicorp/go-hclog v1.6.3/go.mod" "github.com/hashicorp/go-retryablehttp v0.7.7" "github.com/hashicorp/go-retryablehttp v0.7.7/go.mod" "github.com/hashicorp/go-version v1.7.0" "github.com/hashicorp/go-version v1.7.0/go.mod" "github.com/hexops/gotextdiff v1.0.3" "github.com/hexops/gotextdiff v1.0.3/go.mod" "github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99" "github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod" "github.com/k0kubun/colorstring v0.0.0-20150214042306-9440f1994b88/go.mod" "github.com/k0kubun/pp v3.0.1+incompatible/go.mod" "github.com/kevinburke/ssh_config v1.2.0" "github.com/kevinburke/ssh_config v1.2.0/go.mod" "github.com/klauspost/compress v1.17.9" "github.com/klauspost/compress v1.17.9/go.mod" "github.com/klauspost/cpuid/v2 v2.0.1/go.mod" "github.com/klauspost/cpuid/v2 v2.2.8" "github.com/klauspost/cpuid/v2 v2.2.8/go.mod" "github.com/kr/fs v0.1.0" "github.com/kr/fs v0.1.0/go.mod" "github.com/kr/pretty v0.1.0/go.mod" "github.com/kr/pretty v0.2.1/go.mod" "github.com/kr/pretty v0.3.0/go.mod" "github.com/kr/pretty v0.3.1" "github.com/kr/pretty v0.3.1/go.mod" "github.com/kr/pty v1.1.1/go.mod" "github.com/kr/text v0.1.0/go.mod" "github.com/kr/text v0.2.0" "github.com/kr/text v0.2.0/go.mod" "github.com/ktrysmt/go-bitbucket v0.9.80" "github.com/ktrysmt/go-bitbucket v0.9.80/go.mod" "github.com/mattn/go-colorable v0.0.9/go.mod" "github.com/mattn/go-colorable v0.1.13" "github.com/mattn/go-colorable v0.1.13/go.mod" "github.com/mattn/go-isatty v0.0.16/go.mod" "github.com/mattn/go-isatty v0.0.19/go.mod" "github.com/mattn/go-isatty v0.0.20" "github.com/mattn/go-isatty v0.0.20/go.mod" "github.com/melbahja/goph v1.4.0" "github.com/melbahja/goph v1.4.0/go.mod" "github.com/minio/md5-simd v1.1.2" "github.com/minio/md5-simd v1.1.2/go.mod" "github.com/minio/minio-go/v7 v7.0.75" "github.com/minio/minio-go/v7 v7.0.75/go.mod" "github.com/mitchellh/mapstructure v1.5.0" "github.com/mitchellh/mapstructure v1.5.0/go.mod" "github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822" "github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod" "github.com/onsi/gomega v1.27.10" "github.com/onsi/gomega v1.27.10/go.mod" "github.com/pjbgf/sha1cd v0.3.0" "github.com/pjbgf/sha1cd v0.3.0/go.mod" "github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod" "github.com/pkg/errors v0.9.1" "github.com/pkg/errors v0.9.1/go.mod" "github.com/pkg/sftp v1.13.5/go.mod" "github.com/pkg/sftp v1.13.6" "github.com/pkg/sftp v1.13.6/go.mod" "github.com/pmezard/go-difflib v1.0.0" "github.com/pmezard/go-difflib v1.0.0/go.mod" "github.com/prometheus/client_golang v1.19.1" "github.com/prometheus/client_golang v1.19.1/go.mod" "github.com/prometheus/client_model v0.6.1" "github.com/prometheus/client_model v0.6.1/go.mod" "github.com/prometheus/common v0.55.0" "github.com/prometheus/common v0.55.0/go.mod" "github.com/prometheus/procfs v0.15.1" "github.com/prometheus/procfs v0.15.1/go.mod" "github.com/robfig/cron/v3 v3.0.1" "github.com/robfig/cron/v3 v3.0.1/go.mod" "github.com/rogpeppe/go-internal v1.6.1/go.mod" "github.com/rogpeppe/go-internal v1.9.0/go.mod" "github.com/rogpeppe/go-internal v1.11.0" "github.com/rogpeppe/go-internal v1.11.0/go.mod" "github.com/rs/xid v1.5.0" "github.com/rs/xid v1.5.0/go.mod" "github.com/rs/zerolog v1.33.0" "github.com/rs/zerolog v1.33.0/go.mod" "github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3" "github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod" "github.com/shurcooL/githubv4 v0.0.0-20240727222349-48295856cce7" "github.com/shurcooL/githubv4 v0.0.0-20240727222349-48295856cce7/go.mod" "github.com/shurcooL/graphql v0.0.0-20230722043721-ed46e5a46466" "github.com/shurcooL/graphql v0.0.0-20230722043721-ed46e5a46466/go.mod" "github.com/sirupsen/logrus v1.7.0/go.mod" "github.com/skeema/knownhosts v1.3.0" "github.com/skeema/knownhosts v1.3.0/go.mod" "github.com/stretchr/objx v0.1.0/go.mod" "github.com/stretchr/objx v0.4.0/go.mod" "github.com/stretchr/objx v0.5.0/go.mod" "github.com/stretchr/objx v0.5.2/go.mod" "github.com/stretchr/testify v1.2.2/go.mod" "github.com/stretchr/testify v1.4.0/go.mod" "github.com/stretchr/testify v1.7.0/go.mod" "github.com/stretchr/testify v1.7.1/go.mod" "github.com/stretchr/testify v1.8.0/go.mod" "github.com/stretchr/testify v1.8.4/go.mod" "github.com/stretchr/testify v1.9.0" "github.com/stretchr/testify v1.9.0/go.mod" "github.com/xanzy/go-gitlab v0.107.0" "github.com/xanzy/go-gitlab v0.107.0/go.mod" "github.com/xanzy/ssh-agent v0.3.3" "github.com/xanzy/ssh-agent v0.3.3/go.mod" "github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e" "github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e/go.mod" "github.com/yuin/goldmark v1.4.13/go.mod" "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod" "golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod" "golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a/go.mod" "golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod" "golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod" "golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod" "golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod" "golang.org/x/crypto v0.1.0/go.mod" "golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod" "golang.org/x/crypto v0.6.0/go.mod" "golang.org/x/crypto v0.7.0/go.mod" "golang.org/x/crypto v0.19.0/go.mod" "golang.org/x/crypto v0.22.0/go.mod" "golang.org/x/crypto v0.25.0" "golang.org/x/crypto v0.25.0/go.mod" "golang.org/x/exp v0.0.0-20220909182711-5c715a9e8561" "golang.org/x/exp v0.0.0-20220909182711-5c715a9e8561/go.mod" "golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod" "golang.org/x/mod v0.8.0/go.mod" "golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod" "golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod" "golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod" "golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod" "golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod" "golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod" "golang.org/x/net v0.1.0/go.mod" "golang.org/x/net v0.2.0/go.mod" "golang.org/x/net v0.6.0/go.mod" "golang.org/x/net v0.8.0/go.mod" "golang.org/x/net v0.10.0/go.mod" "golang.org/x/net v0.21.0/go.mod" "golang.org/x/net v0.24.0/go.mod" "golang.org/x/net v0.27.0" "golang.org/x/net v0.27.0/go.mod" "golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod" "golang.org/x/oauth2 v0.20.0/go.mod" "golang.org/x/oauth2 v0.21.0" "golang.org/x/oauth2 v0.21.0/go.mod" "golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod" "golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod" "golang.org/x/sync v0.1.0/go.mod" "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod" "golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod" "golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod" "golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod" "golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod" "golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod" "golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod" "golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod" "golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod" "golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod" "golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod" "golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod" "golang.org/x/sys v0.1.0/go.mod" "golang.org/x/sys v0.2.0/go.mod" "golang.org/x/sys v0.3.0/go.mod" "golang.org/x/sys v0.5.0/go.mod" "golang.org/x/sys v0.6.0/go.mod" "golang.org/x/sys v0.8.0/go.mod" "golang.org/x/sys v0.12.0/go.mod" "golang.org/x/sys v0.17.0/go.mod" "golang.org/x/sys v0.19.0/go.mod" "golang.org/x/sys v0.22.0" "golang.org/x/sys v0.22.0/go.mod" "golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod" "golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod" "golang.org/x/term v0.1.0/go.mod" "golang.org/x/term v0.2.0/go.mod" "golang.org/x/term v0.5.0/go.mod" "golang.org/x/term v0.6.0/go.mod" "golang.org/x/term v0.8.0/go.mod" "golang.org/x/term v0.17.0/go.mod" "golang.org/x/term v0.19.0/go.mod" "golang.org/x/term v0.22.0" "golang.org/x/term v0.22.0/go.mod" "golang.org/x/text v0.3.0/go.mod" "golang.org/x/text v0.3.2/go.mod" "golang.org/x/text v0.3.3/go.mod" "golang.org/x/text v0.3.6/go.mod" "golang.org/x/text v0.3.7/go.mod" "golang.org/x/text v0.4.0/go.mod" "golang.org/x/text v0.7.0/go.mod" "golang.org/x/text v0.8.0/go.mod" "golang.org/x/text v0.9.0/go.mod" "golang.org/x/text v0.14.0/go.mod" "golang.org/x/text v0.16.0" "golang.org/x/text v0.16.0/go.mod" "golang.org/x/time v0.5.0" "golang.org/x/time v0.5.0/go.mod" "golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod" "golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod" "golang.org/x/tools v0.1.12/go.mod" "golang.org/x/tools v0.6.0/go.mod" "golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod" "golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod" "google.golang.org/appengine v1.6.7/go.mod" "google.golang.org/protobuf v1.34.2" "google.golang.org/protobuf v1.34.2/go.mod" "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod" "gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod" "gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod" "gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c" "gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod" "gopkg.in/errgo.v2 v2.1.0/go.mod" "gopkg.in/natefinch/lumberjack.v2 v2.2.1" "gopkg.in/natefinch/lumberjack.v2 v2.2.1/go.mod" "gopkg.in/warnings.v0 v0.1.2" "gopkg.in/warnings.v0 v0.1.2/go.mod" "gopkg.in/yaml.v2 v2.2.2/go.mod" "gopkg.in/yaml.v2 v2.4.0/go.mod" "gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod" "gopkg.in/yaml.v3 v3.0.1" "gopkg.in/yaml.v3 v3.0.1/go.mod" ) go-module_set_globals MY_PV=$(ver_rs 3 -) DESCRIPTION="Mirror Git repositories to other Git providers." HOMEPAGE="https://github.com/cooperspencer/gickup" SRC_URI="https://github.com/cooperspencer/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz ${EGO_SUM_SRC_URI}" LICENSE="Apache-2.0 BSD-2 BSD MIT MPL-2.0" SLOT="0" KEYWORDS="~amd64 ~ppc64" S="${WORKDIR}/${PN}-${MY_PV}" src_compile() { go build . || die } src_install() { dobin "${PN}" einstalldocs }