jauhien 15/05/03 16:30:06 Modified: ChangeLog Added: rust-bin-1.0.0_beta3.ebuild Removed: rust-bin-1.0.0_beta.ebuild Log: version bump (Portage version: 2.2.18/cvs/Linux i686, signed Manifest commit with key B2EFA1D4)
Revision Changes Path 1.7 dev-lang/rust-bin/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust-bin/ChangeLog?rev=1.7&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust-bin/ChangeLog?rev=1.7&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust-bin/ChangeLog?r1=1.6&r2=1.7 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-lang/rust-bin/ChangeLog,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- ChangeLog 20 Apr 2015 21:32:09 -0000 1.6 +++ ChangeLog 3 May 2015 16:30:06 -0000 1.7 @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/rust-bin # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust-bin/ChangeLog,v 1.6 2015/04/20 21:32:09 jauhien Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust-bin/ChangeLog,v 1.7 2015/05/03 16:30:06 jauhien Exp $ + +*rust-bin-1.0.0_beta3 (03 May 2015) + + 03 May 2015; Jauhien Piatlicki <[email protected]> + +rust-bin-1.0.0_beta3.ebuild, -rust-bin-1.0.0_beta.ebuild: + version bump *rust-bin-1.0.0_beta2 (20 Apr 2015) 1.1 dev-lang/rust-bin/rust-bin-1.0.0_beta3.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust-bin/rust-bin-1.0.0_beta3.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust-bin/rust-bin-1.0.0_beta3.ebuild?rev=1.1&content-type=text/plain Index: rust-bin-1.0.0_beta3.ebuild =================================================================== # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-lang/rust-bin/rust-bin-1.0.0_beta3.ebuild,v 1.1 2015/05/03 16:30:06 jauhien Exp $ EAPI=5 inherit eutils bash-completion-r1 BETA_NUM="${PV##*beta}" MY_PV="${PV/_/-}" # beta => beta BUT beta2 => beta.2 [ -n "${BETA_NUM}" ] && MY_PV="${MY_PV/beta/beta.}" MY_P="rustc-${MY_PV}" DESCRIPTION="Systems programming language from Mozilla" HOMEPAGE="http://www.rust-lang.org/" SRC_URI="amd64? ( http://static.rust-lang.org/dist/${MY_P}-x86_64-unknown-linux-gnu.tar.gz ) x86? ( http://static.rust-lang.org/dist/${MY_P}-i686-unknown-linux-gnu.tar.gz )" LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND=">=app-eselect/eselect-rust-0.3_pre20150428 !dev-lang/rust:0 " RDEPEND="${DEPEND}" src_unpack() { default local postfix use amd64 && postfix=x86_64-unknown-linux-gnu use x86 && postfix=i686-unknown-linux-gnu mv "${WORKDIR}/${MY_P}-${postfix}" "${S}" || die } src_install() { local components=rustc ./install.sh \ --components="${components}" \ --disable-verify \ --prefix="${D}/opt/${P}" \ --mandir="${D}/usr/share/${P}/man" \ --disable-ldconfig \ || die local rustc=rustc-bin-${PV} local rustdoc=rustdoc-bin-${PV} local rustgdb=rust-gdb-bin-${PV} mv "${D}/opt/${P}/bin/rustc" "${D}/opt/${P}/bin/${rustc}" || die mv "${D}/opt/${P}/bin/rustdoc" "${D}/opt/${P}/bin/${rustdoc}" || die mv "${D}/opt/${P}/bin/rust-gdb" "${D}/opt/${P}/bin/${rustgdb}" || die dosym "/opt/${P}/bin/${rustc}" "/usr/bin/${rustc}" dosym "/opt/${P}/bin/${rustdoc}" "/usr/bin/${rustdoc}" dosym "/opt/${P}/bin/${rustgdb}" "/usr/bin/${rustgdb}" cat <<-EOF > "${T}"/50${P} LDPATH="/opt/${P}/lib" MANPATH="/usr/share/${P}/man" EOF doenvd "${T}"/50${P} cat <<-EOF > "${T}/provider-${P}" /usr/bin/rustdoc /usr/bin/rust-gdb EOF dodir /etc/env.d/rust insinto /etc/env.d/rust doins "${T}/provider-${P}" } pkg_postinst() { eselect rust update --if-unset elog "Rust installs a helper script for calling GDB now," elog "for your convenience it is installed under /usr/bin/rust-gdb-bin-${PV}," if has_version app-editors/emacs || has_version app-editors/emacs-vcs; then elog "install app-emacs/rust-mode to get emacs support for rust." fi if has_version app-editors/gvim || has_version app-editors/vim; then elog "install app-vim/rust-mode to get vim support for rust." fi if has_version 'app-shells/zsh'; then elog "install app-shells/rust-zshcomp to get zsh completion for rust." fi } pkg_postrm() { eselect rust unset --if-invalid }
