summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Mansfield <chris@mansfieldfamily.me>2018-02-02 17:43:32 -0800
committerPatrice Clement <monsieurp@gentoo.org>2018-02-18 18:20:35 +0100
commit1b048b1e0f096fd3f2e93614e94976fb29523146 (patch)
tree9dfd95f280380f48fb208ec2c549339637880e17 /dev-util/cargo
parentdev-util/nvidia-cuda-sdk: fix SRC_URI. (diff)
downloadgentoo-1b048b1e0f096fd3f2e93614e94976fb29523146.tar.gz
gentoo-1b048b1e0f096fd3f2e93614e94976fb29523146.tar.bz2
gentoo-1b048b1e0f096fd3f2e93614e94976fb29523146.zip
dev-util/cargo: add ~arm64 keyword and support.
Package-Manager: Portage-2.3.19, Repoman-2.3.6 Closes: https://github.com/gentoo/gentoo/pull/7029
Diffstat (limited to 'dev-util/cargo')
-rw-r--r--dev-util/cargo/Manifest1
-rw-r--r--dev-util/cargo/cargo-0.24.0.ebuild9
2 files changed, 8 insertions, 2 deletions
diff --git a/dev-util/cargo/Manifest b/dev-util/cargo/Manifest
index ea8d6a3669b..8d5fab03480 100644
--- a/dev-util/cargo/Manifest
+++ b/dev-util/cargo/Manifest
@@ -23,6 +23,7 @@ DIST cargo-0.20.0-i686-unknown-linux-gnu.tar.gz 5149726 BLAKE2B dccfe492e8807771
DIST cargo-0.20.0-x86_64-unknown-linux-gnu.tar.gz 5209416 BLAKE2B 955491adb58ef8a1cd05a6560cf7093b50df67894ac5d32c48b83984db6075bee2316c99e48569bc181e953ab3cc19562e63816747021beb2a8591dd28ce7b21 SHA512 de7fc86e39da132f29fde07f6c232fddc41bb766f3b540f1b16ca9dbcf408bd5e522e82c5e2d0930a2803b42192aadcedfa8ed2837ca53bccc16c46e76fd16c3
DIST cargo-0.20.0.tar.gz 657472 BLAKE2B 98f4e0b43b5955fb791f1c786421ee494c75901ee87be9165531230d27fbd700b21d7bd99225a07deee7aaee26538eb7d888c7fd345a7be447dbe1b69a0ceb89 SHA512 b4e31ad2b16d9ca361ceed657112ef4647a872ae8e16052810b6170cd8cc37ecc3c903e7c2d98f914851b2210b35551483ff9e2f0da135aad47e48bbffa4a8eb
DIST cargo-0.21.0.tar.gz 665343 BLAKE2B 75a74c8b682cefaf3d4959b9edf54bf1d3ff1567efa47c9e3cd8167f10931ca3498cc7e41ad32535bb955d9ad860864497a36694a0204efecac37ab66bcfb4a5 SHA512 5be5f4410ea4d5a23a62e6324917d91132ebd2a0644039b7c8bdc671a5d569c22965f4e0aaad317a05e670d14aee388f75baaf215ef97fb49724ab86702ea7cf
+DIST cargo-0.23.0-aarch64-unknown-linux-gnu.tar.gz 4257613 BLAKE2B b0d135c32f3a6122627bca1970455a252dc5dfbed18b96b2dc7ed1506cb748fc414647e1e2e8ccdbbcef66d97a597c1620e09bb2c9766c8c03452dbacbeb9081 SHA512 495a77d9a1780e5d6e972fc6e2549df67a0f479769562407ee2622d03230027f4cc2d92440bd3b5b080b409872f52da2ccf29a52cb63625bda390db390830c9f
DIST cargo-0.23.0-i686-unknown-linux-gnu.tar.gz 5312890 BLAKE2B 2ef79f7acfdd5aacc03ac3866ae3e767dfec1dc9c4cc7bbdcfb6934e2292a56084b9b9003f832ccc2f46ffb852270338e4e30839029185f1c1857733408a0275 SHA512 e4c4df36e00db5b0cb62eff25e260157d830ac70bf1354fe8d287966b6d50cee55aed77aaefae5aff3aaba013c0f734956822202d20dd51195aa7ede11365053
DIST cargo-0.23.0-x86_64-unknown-linux-gnu.tar.gz 5365725 BLAKE2B 836c7b3765fdd45c8b1b15c87b810c9163cc311f6fd9883b99594a4327570c46bf9ff9b91f44d1653127dd933bdccc8bc4a45e4ce2644a0cbe6e1df548ca6904 SHA512 8367e2f2e4b5ae2330515b12ee03cced7a497605f1d0c86c9176007f6f93898328116e2ce22359a0dd5f80caa316b790ef28ad5cd56169332211dc28442d5ce0
DIST cargo-0.24.0.tar.gz 967740 BLAKE2B 0e0406ea35800283070773798cbc3535a8cd717f1ac3fc92558e43c934b107bd7af4b2a29c7aa4ae7a7eee6945e1063e497aa7bbf2d737645fbdedd021a13c3c SHA512 d0aa41f113c8ed40a96a279d986894bdb8756ff49f7f8c7a269033e1000b110a2b867283bac2e85edab54b52bf8c78f9048481762a8c9e3e02a956cac95ddbb7
diff --git a/dev-util/cargo/cargo-0.24.0.ebuild b/dev-util/cargo/cargo-0.24.0.ebuild
index d8f492d29d2..bdf5ff589d9 100644
--- a/dev-util/cargo/cargo-0.24.0.ebuild
+++ b/dev-util/cargo/cargo-0.24.0.ebuild
@@ -143,19 +143,24 @@ SRC_URI="https://github.com/rust-lang/cargo/archive/${PV}.tar.gz -> ${P}.tar.gz
)
amd64? (
https://static.rust-lang.org/dist/cargo-${BOOTSTRAP_VERSION}-x86_64-unknown-linux-gnu.tar.gz
+ )
+ arm64? (
+ https://static.rust-lang.org/dist/cargo-${BOOTSTRAP_VERSION}-aarch64-unknown-linux-gnu.tar.gz
)"
RESTRICT="mirror"
LICENSE="|| ( MIT Apache-2.0 )"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~arm64"
IUSE="doc libressl"
if [[ ${ARCH} = "amd64" ]]; then
TRIPLE="x86_64-unknown-linux-gnu"
-else
+elif [[ ${ARCH} = "x86" ]]; then
TRIPLE="i686-unknown-linux-gnu"
+elif [[ ${ARCH} = "arm64" ]]; then
+ TRIPLE="aarch64-unknown-linux-gnu"
fi
COMMON_DEPEND="sys-libs/zlib