bump(app-eselect/eselect-rust): sync with upstream

This commit is contained in:
David Michael 2019-04-12 14:05:13 +00:00
parent 4168881edf
commit 93f1b0e76e
6 changed files with 49 additions and 47 deletions

View File

@ -1 +1 @@
DIST eselect-rust-0.3_pre20150428.tar.gz 64722 SHA256 2c8c8703ef252d3504befc67da37c1ff5bc7f7df876754ae962a8805ed7d0837 SHA512 214a6eb4b1f9bfcaed1a5fe92ec9633a82316716ffda8db2d2f88bfcbdae17ef7c026091de3927efad5c3624bb7003166d2ebadea6dd8828a0f1c41e0d3f16e7 WHIRLPOOL 18b5564fbb92030c28a2d18a46ea860d9f98d86ef136cbba25af7d769f6799e71bcbb6d7e1fc9983a6b40b350e4840d684716c21cb8d52fe8dd7ef2854f317a2 DIST eselect-rust-20190311.tar.bz2 49358 BLAKE2B be8060638a7ee553275e230466de8bc5e3fb1059afb049b71b767794f4f8e3968af03a755270d892e20e5ca6aa3efc869d2fd031713f9e8ed516e6465aad19ff SHA512 98fb4502c1f5358e1a3fd2e91a0e9905aced990d62bb11414830b150e8d72fbab90c23518f9c30d04d015b4c303270a6332400bbb373cd4ea9dfbf0d0b3c942e

View File

@ -1,30 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
DESCRIPTION="eselect module for rust"
HOMEPAGE="https://github.com/jauhien/eselect-rust"
SRC_URI="https://github.com/jauhien/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
RDEPEND="app-admin/eselect"
pkg_preinst() {
if has_version 'app-eselect/eselect-rust' ; then
eselect rust unset
fi
}
pkg_postinst() {
if has_version 'dev-lang/rust' || has_version 'dev-lang/rust-bin' ; then
eselect rust update --if-unset
fi
}
pkg_prerm() {
eselect rust unset
}

View File

@ -0,0 +1,32 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
if [[ ${PV} == "99999999" ]] ; then
inherit autotools git-r3
EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git"
else
SRC_URI="mirror://gentoo/${P}.tar.bz2"
KEYWORDS="amd64 ~arm64 ~ppc64 x86"
fi
DESCRIPTION="Eselect module for management of multiple Rust versions"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Rust"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
RDEPEND=">=app-admin/eselect-1.2.3"
src_prepare() {
default
[[ ${PV} == "99999999" ]] && eautoreconf
}
pkg_postinst() {
if has_version 'dev-lang/rust' || has_version 'dev-lang/rust-bin'; then
eselect rust update --if-unset
fi
}

View File

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata> <pkgmetadata>
<maintainer type="project"> <maintainer type="project">
<email>rust@gentoo.org</email> <email>rust@gentoo.org</email>
</maintainer> </maintainer>
<upstream> <upstream>
<remote-id type="github">jauhien/eselect-rust</remote-id> <remote-id type="github">jauhien/eselect-rust</remote-id>
</upstream> </upstream>
</pkgmetadata> </pkgmetadata>

View File

@ -1,10 +0,0 @@
DEFINED_PHASES=postinst preinst prerm
DESCRIPTION=eselect module for rust
EAPI=5
HOMEPAGE=https://github.com/jauhien/eselect-rust
KEYWORDS=amd64 x86
LICENSE=GPL-2
RDEPEND=app-admin/eselect
SLOT=0
SRC_URI=https://github.com/jauhien/eselect-rust/archive/0.3_pre20150428.tar.gz -> eselect-rust-0.3_pre20150428.tar.gz
_md5_=597c492942d13df020cbc55cba270148

View File

@ -0,0 +1,10 @@
DEFINED_PHASES=postinst prepare
DESCRIPTION=Eselect module for management of multiple Rust versions
EAPI=7
HOMEPAGE=https://wiki.gentoo.org/wiki/Project:Rust
KEYWORDS=amd64 ~arm64 ~ppc64 x86
LICENSE=GPL-2
RDEPEND=>=app-admin/eselect-1.2.3
SLOT=0
SRC_URI=mirror://gentoo/eselect-rust-20190311.tar.bz2
_md5_=65dd2c4186c2d9620ac18ea0bcc0d72b