blob: 7433e2468736c8417401681db05d9ece5be23959 [file] [log] [blame]
# Copyright 2017 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2.
EAPI=5
# Disable cros-workon auto-uprev since this is an external package.
# Must manage commit hash manually.
CROS_WORKON_BLACKLIST="1"
CROS_WORKON_COMMIT="f52d1811a62927559de87708c8913c1650ce4f26"
CROS_WORKON_REPO="https://go.googlesource.com"
CROS_WORKON_PROJECT="sync"
CROS_WORKON_DESTDIR="${S}/src/golang.org/x/sync"
CROS_GO_PACKAGES=(
"golang.org/x/sync/errgroup"
)
CROS_GO_TEST=(
"${CROS_GO_PACKAGES[@]}"
)
inherit cros-workon cros-go
DESCRIPTION="Additional Go concurrency primitives"
HOMEPAGE="https://golang.org/x/sync"
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="*"
IUSE=""
RESTRICT="binchecks strip"
DEPEND=""
RDEPEND="dev-go/net"