Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/crossdev/
Date: Thu, 02 Jun 2016 15:57:01
Message-Id: 1464882999.1c026af553563258244211d13eda0f206a4bd521.vapier@gentoo
1 commit: 1c026af553563258244211d13eda0f206a4bd521
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 2 15:56:30 2016 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 2 15:56:39 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c026af5
7
8 sys-devel/crossdev: version bump to 20160602
9
10 sys-devel/crossdev/Manifest | 1 +
11 sys-devel/crossdev/crossdev-20160602.ebuild | 42 +++++++++++++++++++++++++++++
12 2 files changed, 43 insertions(+)
13
14 diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest
15 index d2dba23..3c8692f 100644
16 --- a/sys-devel/crossdev/Manifest
17 +++ b/sys-devel/crossdev/Manifest
18 @@ -1 +1,2 @@
19 DIST crossdev-20151026.tar.xz 22160 SHA256 ad5ff1cc334325f83f60f87f9a6d795c606317665042cece9d8f12297312ca28 SHA512 f60efd4ad867efd0eb33de5fe327ccbfe73b574c97507bc0edd7ef141ad74c035ae2a0d446180e6a9eb5f43197f44933a452245feec849bacfb03fc07067edd0 WHIRLPOOL 7a8f556e53e7142ccf9c56d6daf700b33d66e530d85e5a5ed5b154a52bbba450956381af06f7b5748a6a82a43666a8c1b7d879296869dadd090e8887fc623ea9
20 +DIST crossdev-20160602.tar.xz 22292 SHA256 12dcbbdedc3f89a7b782c2b61c2956da050cfc95eef860a2f2701bfc89c77ce9 SHA512 580cc51e599086a14c51153e656d30b5c2f0e08c7601384d3e082716edeaa532e832b515df2517618cc51be187fcf8738db10e412a5635a16d0bb58b1631a53e WHIRLPOOL 7ccc23cd01030e1b55266784448187ab30ded10b229b03886faf739fd5d1ed07d73c60fb950c1c28c81e7dd309324bd740d8439640113241f493973ba79b53cd
21
22 diff --git a/sys-devel/crossdev/crossdev-20160602.ebuild b/sys-devel/crossdev/crossdev-20160602.ebuild
23 new file mode 100644
24 index 0000000..d9e3862
25 --- /dev/null
26 +++ b/sys-devel/crossdev/crossdev-20160602.ebuild
27 @@ -0,0 +1,42 @@
28 +# Copyright 1999-2016 Gentoo Foundation
29 +# Distributed under the terms of the GNU General Public License v2
30 +# $Id$
31 +
32 +EAPI="5"
33 +inherit eutils
34 +
35 +if [[ ${PV} == "99999999" ]] ; then
36 + EGIT_REPO_URI="git://anongit.gentoo.org/proj/crossdev.git"
37 + inherit git-2
38 + SRC_URI=""
39 + #KEYWORDS=""
40 +else
41 + SRC_URI="mirror://gentoo/${P}.tar.xz
42 + https://dev.gentoo.org/~vapier/dist/${P}.tar.xz"
43 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
44 +fi
45 +
46 +DESCRIPTION="Gentoo Cross-toolchain generator"
47 +HOMEPAGE="https://www.gentoo.org/"
48 +
49 +LICENSE="GPL-2"
50 +SLOT="0"
51 +IUSE=""
52 +
53 +RDEPEND=">=sys-apps/portage-2.1
54 + >=app-portage/portage-utils-0.55
55 + app-shells/bash
56 + sys-apps/gentoo-functions
57 + !sys-devel/crossdev-wrappers"
58 +DEPEND="app-arch/xz-utils"
59 +
60 +src_prepare() {
61 + epatch "${FILESDIR}"/use-new-path-for-functions.sh.patch
62 +}
63 +
64 +src_install() {
65 + default
66 + if [[ "${PV}" == "99999999" ]] ; then
67 + sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED}"/usr/bin/crossdev || die
68 + fi
69 +}