diff options
author | Mart Raudsepp <leio@gentoo.org> | 2018-10-03 21:03:18 +0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2018-10-03 21:52:43 +0300 |
commit | ea54709409140f84831fcaea8758e82c9f69d857 (patch) | |
tree | 20e6002f59bc40de3fcaa83a08efe7fca44a6a28 /dev-lang/rust/rust-1.29.1.ebuild | |
parent | media-libs/libsndfile: Sync 9999 with 1.0.28-r3 (diff) | |
download | gentoo-ea54709409140f84831fcaea8758e82c9f69d857.tar.gz gentoo-ea54709409140f84831fcaea8758e82c9f69d857.tar.bz2 gentoo-ea54709409140f84831fcaea8758e82c9f69d857.zip |
dev-lang/rust: migrate from versionator to eapi7-ver
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'dev-lang/rust/rust-1.29.1.ebuild')
-rw-r--r-- | dev-lang/rust/rust-1.29.1.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dev-lang/rust/rust-1.29.1.ebuild b/dev-lang/rust/rust-1.29.1.ebuild index f7c35f7cda70..ba34f9440f38 100644 --- a/dev-lang/rust/rust-1.29.1.ebuild +++ b/dev-lang/rust/rust-1.29.1.ebuild @@ -5,7 +5,7 @@ EAPI=6 PYTHON_COMPAT=( python2_7 python3_{5,6} pypy ) -inherit multiprocessing multilib-build python-any-r1 toolchain-funcs versionator +inherit eapi7-ver multiprocessing multilib-build python-any-r1 toolchain-funcs if [[ ${PV} = *beta* ]]; then betaver=${PV//*beta} @@ -14,7 +14,7 @@ if [[ ${PV} = *beta* ]]; then SLOT="beta/${PV}" SRC="${BETA_SNAPSHOT}/rustc-beta-src.tar.xz" else - ABI_VER="$(get_version_component_range 1-2)" + ABI_VER="$(ver_cut 1-2)" SLOT="stable/${ABI_VER}" MY_P="rustc-${PV}" SRC="${MY_P}-src.tar.xz" @@ -25,12 +25,12 @@ CHOST_amd64=x86_64-unknown-linux-gnu CHOST_x86=i686-unknown-linux-gnu CHOST_arm64=aarch64-unknown-linux-gnu -RUST_STAGE0_VERSION="1.$(($(get_version_component_range 2) - 1)).0" +RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).0" RUST_STAGE0_amd64="rust-${RUST_STAGE0_VERSION}-${CHOST_amd64}" RUST_STAGE0_x86="rust-${RUST_STAGE0_VERSION}-${CHOST_x86}" RUST_STAGE0_arm64="rust-${RUST_STAGE0_VERSION}-${CHOST_arm64}" -CARGO_DEPEND_VERSION="0.$(($(get_version_component_range 2) + 1)).0" +CARGO_DEPEND_VERSION="0.$(($(ver_cut 2) + 1)).0" DESCRIPTION="Systems programming language from Mozilla" HOMEPAGE="https://www.rust-lang.org/" |