| # Copyright 2017 The Chromium OS Authors. All rights reserved. |
| # Distributed under the terms of the GNU General Public License v2. |
| |
| EAPI=5 |
| |
| CROS_GO_SOURCE="go.googlesource.com/crypto:golang.org/x/crypto 505ab145d0a99da450461ae2c1a9f6cd10d1f447" |
| |
| CROS_GO_PACKAGES=( |
| "golang.org/x/crypto/argon2" |
| "golang.org/x/crypto/blake2b" |
| "golang.org/x/crypto/ed25519" |
| "golang.org/x/crypto/ed25519/internal/edwards25519" |
| "golang.org/x/crypto/curve25519" |
| "golang.org/x/crypto/hkdf" |
| "golang.org/x/crypto/internal/chacha20" |
| "golang.org/x/crypto/internal/subtle" |
| "golang.org/x/crypto/nacl/box" |
| "golang.org/x/crypto/nacl/secretbox" |
| "golang.org/x/crypto/pbkdf2" |
| "golang.org/x/crypto/pkcs12" |
| "golang.org/x/crypto/pkcs12/internal/rc2" |
| "golang.org/x/crypto/poly1305" |
| "golang.org/x/crypto/salsa20/salsa" |
| "golang.org/x/crypto/scrypt" |
| "golang.org/x/crypto/ssh" |
| "golang.org/x/crypto/ssh/agent" |
| "golang.org/x/crypto/ssh/terminal" |
| ) |
| |
| CROS_GO_TEST=( |
| "${CROS_GO_PACKAGES[@]}" |
| ) |
| |
| inherit cros-go |
| |
| DESCRIPTION="Go supplementary cryptography libraries" |
| HOMEPAGE="https://golang.org/x/crypto" |
| SRC_URI="$(cros-go_src_uri)" |
| |
| LICENSE="BSD-Google" |
| SLOT="0" |
| KEYWORDS="*" |
| IUSE="" |
| RESTRICT="binchecks strip" |
| |
| DEPEND=" |
| dev-go/go-sys |
| " |
| RDEPEND="" |