mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 06:21:08 +02:00
Merge pull request #3195 from dm0-/rust
Automatically rebuild Rust projects when Rust is updated
This commit is contained in:
commit
831282c4d8
@ -1,4 +1,4 @@
|
|||||||
# Copyright 2017 CoreOS, Inc.
|
# Copyright 2017-2018 CoreOS, Inc.
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=6
|
EAPI=6
|
||||||
@ -14,7 +14,7 @@ S="${WORKDIR}/rustc-${PV}-src"
|
|||||||
|
|
||||||
RDEPEND="!dev-lang/rust"
|
RDEPEND="!dev-lang/rust"
|
||||||
|
|
||||||
SLOT="0"
|
SLOT="0/${PVR}"
|
||||||
KEYWORDS="amd64 arm64"
|
KEYWORDS="amd64 arm64"
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 2017 CoreOS, Inc.
|
# Copyright 2017-2018 CoreOS, Inc.
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
# @ECLASS: coreos-cargo.eclass
|
# @ECLASS: coreos-cargo.eclass
|
||||||
@ -18,7 +18,7 @@ inherit toolchain-funcs
|
|||||||
EXPORT_FUNCTIONS src_unpack
|
EXPORT_FUNCTIONS src_unpack
|
||||||
|
|
||||||
[[ ${CATEGORY}/${PN} != dev-libs/rustlib ]] && DEPEND="|| (
|
[[ ${CATEGORY}/${PN} != dev-libs/rustlib ]] && DEPEND="|| (
|
||||||
dev-libs/rustlib
|
dev-libs/rustlib:=
|
||||||
dev-util/cargo
|
dev-util/cargo
|
||||||
)"
|
)"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user