Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/crossdev/
Date: Sun, 20 Feb 2022 02:02:09
Message-Id: 1645322499.90086142b8928c12c36fafaac816810e83e5cae4.sam@gentoo
1 commit: 90086142b8928c12c36fafaac816810e83e5cae4
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 20 02:01:39 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 20 02:01:39 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90086142
7
8 sys-devel/crossdev: add 20220205
9
10 Closes: https://bugs.gentoo.org/832059
11 Closes: https://bugs.gentoo.org/830453
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 sys-devel/crossdev/Manifest | 1 +
15 sys-devel/crossdev/crossdev-20220205.ebuild | 36 +++++++++++++++++++++++++++++
16 2 files changed, 37 insertions(+)
17
18 diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest
19 index a855b5bb440f..9c6baba8f100 100644
20 --- a/sys-devel/crossdev/Manifest
21 +++ b/sys-devel/crossdev/Manifest
22 @@ -2,3 +2,4 @@ DIST crossdev-20210621.tar.xz 28588 BLAKE2B 33ff6069c85cbcff6bf34bf5f6dd8050bd5f
23 DIST crossdev-20210718.tar.xz 28640 BLAKE2B 1e9b9313a5c9a1cb4d82f00e4979794d61b9eaa0035c575ac55092c6c015d820a590c5816d212a4ffad95b96a3dd99a9b94ca7c20b78a7d7b062f16dec6ed329 SHA512 e1a37aebf759abaa30f071f43a528f9059b83456e71fd86fc8202a7eff5c506c1f34fdd260c7b91a03f491b9f2a107ce6a65c2314845a352176fcc5a27a766e2
24 DIST crossdev-20211027.tar.xz 28752 BLAKE2B 058d6254c702709c18cc426fe15d7a11cb856336236837a15c0b2cb0c2389198f8b0ea9893e7cdadd6ecdabb3e75c05b64c22448324ce2ea86032cb57e92a5d9 SHA512 6c15d71fb551dcb5cb8e95d7e3b1ecb52b34e47335842408da5acc9d258c1a5fa7e4699681b9b414b1b444df98601aa8b99b2000700485ec6028c076abeafd03
25 DIST crossdev-20211121.tar.xz 28700 BLAKE2B bfe637dcd3c5b6d45e289d6298de18cab4b70b5d21a817a9207b91360b489457b9ee10266a1c2641f8dfac09dffb166bf1565a7e519ba41f84c6d5c2000f5158 SHA512 5189fa7639b819dfffc8f994bb557d8d83f115b82cd61d938db77fdcf16a33cc9d0147f9708b3bed22fdc4ace27ac863436813ebad94876ae767172ac0cbb9ce
26 +DIST crossdev-20220205.tar.xz 29088 BLAKE2B 46e90557f0a6df49e4f6ab7be6495514a188c4366868290d3b6b879ad1e5741e1600bca237735290f7e9278d441534569853b582cd85b96581c6ae0517cb4c54 SHA512 72e7cf690d49a87b32f6fdad2462fd4156e4e35a3f0b5f30911012a2b7936bb999575f757547a7a805c0cfdd1fd0caa8b23bf61e72c4333096314043ed565f40
27
28 diff --git a/sys-devel/crossdev/crossdev-20220205.ebuild b/sys-devel/crossdev/crossdev-20220205.ebuild
29 new file mode 100644
30 index 000000000000..605240d7bf07
31 --- /dev/null
32 +++ b/sys-devel/crossdev/crossdev-20220205.ebuild
33 @@ -0,0 +1,36 @@
34 +# Copyright 1999-2022 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI="8"
38 +
39 +if [[ ${PV} == "99999999" ]] ; then
40 + inherit git-r3
41 + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/crossdev.git"
42 +else
43 + SRC_URI="mirror://gentoo/${P}.tar.xz
44 + https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz
45 + https://dev.gentoo.org/~vapier/dist/${P}.tar.xz"
46 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
47 +fi
48 +
49 +DESCRIPTION="Gentoo Cross-toolchain generator"
50 +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Crossdev"
51 +
52 +LICENSE="GPL-2"
53 +SLOT="0"
54 +
55 +RDEPEND="
56 + >=sys-apps/portage-2.1
57 + >=app-portage/portage-utils-0.55
58 + app-shells/bash
59 + sys-apps/gentoo-functions
60 +"
61 +BDEPEND="app-arch/xz-utils"
62 +
63 +src_install() {
64 + default
65 +
66 + if [[ "${PV}" == "99999999" ]] ; then
67 + sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED}"/usr/bin/crossdev || die
68 + fi
69 +}