Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/crossdev/
Date: Thu, 30 Jul 2020 16:51:52
Message-Id: 1596127900.5f3e3c6ac99483e3be31532e5a915ea2ec5e3b9a.slyfox@gentoo
1 commit: 5f3e3c6ac99483e3be31532e5a915ea2ec5e3b9a
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 30 16:51:32 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 30 16:51:40 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f3e3c6a
7
8 sys-devel/crossdev: bump up to 20200326
9
10 Single change to remove 'sh' from known arches.
11
12 Package-Manager: Portage-3.0.1, Repoman-2.3.23
13 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
14
15 sys-devel/crossdev/Manifest | 1 +
16 sys-devel/crossdev/crossdev-20200326.ebuild | 36 +++++++++++++++++++++++++++++
17 2 files changed, 37 insertions(+)
18
19 diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest
20 index 1e1b1fa752f..a39e4452996 100644
21 --- a/sys-devel/crossdev/Manifest
22 +++ b/sys-devel/crossdev/Manifest
23 @@ -1 +1,2 @@
24 DIST crossdev-20200131.tar.xz 28200 BLAKE2B b1b8e283d150968339e259c48b3f066f5233af2578b04e060d5e69c002af6ffd65214c559353a8ebcf3238c2b60d0ddfa29131e26c707647717088df55f77282 SHA512 e1d18a7d69cdc0240d30e77b1634bd6b5806e1576227e4ffa394805aa217c050ced75436e9a004a35bc9bc47b96ea2f3d8e19ef530a106736f7cc0d995bee4a5
25 +DIST crossdev-20200326.tar.xz 28196 BLAKE2B e7c591f5a8301eea7f31ee6de1d767e3486bdd27cf4cc5ba77ed600ebd6c937392beb0aa4f2a84b3ed0bfeb3161b1f21ae82e16b0f1486145d57b6eedbebbfd0 SHA512 6b0334640ae8ecc8a4b321779ebf11330dbcc17d58320fb252247b2078ff0dec6525286c2bfd2934cc00e129dca996a201be783c351139689d448d73232fef0a
26
27 diff --git a/sys-devel/crossdev/crossdev-20200326.ebuild b/sys-devel/crossdev/crossdev-20200326.ebuild
28 new file mode 100644
29 index 00000000000..80947886394
30 --- /dev/null
31 +++ b/sys-devel/crossdev/crossdev-20200326.ebuild
32 @@ -0,0 +1,36 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +if [[ ${PV} == "99999999" ]] ; then
39 + inherit git-r3
40 + EGIT_REPO_URI="git://anongit.gentoo.org/proj/crossdev.git"
41 +else
42 + SRC_URI="mirror://gentoo/${P}.tar.xz
43 + https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz"
44 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
45 +fi
46 +
47 +DESCRIPTION="Gentoo Cross-toolchain generator"
48 +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Crossdev"
49 +
50 +LICENSE="GPL-2"
51 +SLOT="0"
52 +IUSE=""
53 +
54 +RDEPEND="
55 + >=sys-apps/portage-2.1
56 + >=app-portage/portage-utils-0.55
57 + app-shells/bash
58 + sys-apps/gentoo-functions
59 +"
60 +DEPEND="app-arch/xz-utils"
61 +
62 +src_install() {
63 + default
64 +
65 + if [[ "${PV}" == "99999999" ]] ; then
66 + sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED}"/usr/bin/crossdev || die
67 + fi
68 +}