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: Sun, 20 Jun 2021 20:39:19
Message-Id: 1624221553.65748140fcc0b20a855577ef8c724bd5174eb2a6.slyfox@gentoo
1 commit: 65748140fcc0b20a855577ef8c724bd5174eb2a6
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 20 20:38:56 2021 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 20 20:39:13 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65748140
7
8 sys-devel/crossdev: bump up to 20210608
9
10 A few notable changes:
11 - cross-pkg-config: Respect PKG_CONFIG_SYSROOT_DIR if its already set
12 - crossdev: mark ia64* targets as targets that always require libc headers
13 - crossdev: stop maintaining /etc/portage/categories
14
15 Package-Manager: Portage-3.0.20, Repoman-3.0.3
16 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
17
18 sys-devel/crossdev/Manifest | 1 +
19 sys-devel/crossdev/crossdev-20210608.ebuild | 35 +++++++++++++++++++++++++++++
20 2 files changed, 36 insertions(+)
21
22 diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest
23 index d49f6f22754..8aa65dfc407 100644
24 --- a/sys-devel/crossdev/Manifest
25 +++ b/sys-devel/crossdev/Manifest
26 @@ -1 +1,2 @@
27 DIST crossdev-20201129.tar.xz 28372 BLAKE2B b59d94a69b83f8db9193bd54ff6059b20617b6dd60c0f9a0ec5acdf4b93adf747886598b9af7d69d2fd9705fab709041a96c149286e623b6557ea709bf2f840a SHA512 7b49795ea266d90e45c48b092bffa485a7207c66550d797297cb7e0756f7c497d045b3cb9b90f50b80a3ada4916a3ba273b2c19b9d02c834fb47d906efe3a8ba
28 +DIST crossdev-20210608.tar.xz 28464 BLAKE2B 5a52427b86b0dbfaf5711a04382486ff247ba69ff18bdad4840f173e7ba55efe547aad550086570335377192ec9b3f0b36da1921ad7044b9e21bb2bd3a21779e SHA512 246eb7ce4db4a6fe8af461700878e30c2f83548c72960aba7e936b1bbb4e83cfdc1fe39b6fd21924075b745ff87130d0b8a5ce569c49474e0e0432f85a74c89c
29
30 diff --git a/sys-devel/crossdev/crossdev-20210608.ebuild b/sys-devel/crossdev/crossdev-20210608.ebuild
31 new file mode 100644
32 index 00000000000..edc534a7303
33 --- /dev/null
34 +++ b/sys-devel/crossdev/crossdev-20210608.ebuild
35 @@ -0,0 +1,35 @@
36 +# Copyright 1999-2021 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=7
40 +
41 +if [[ ${PV} == "99999999" ]] ; then
42 + inherit git-r3
43 + EGIT_REPO_URI="git://anongit.gentoo.org/proj/crossdev.git"
44 +else
45 + SRC_URI="mirror://gentoo/${P}.tar.xz
46 + https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz"
47 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
48 +fi
49 +
50 +DESCRIPTION="Gentoo Cross-toolchain generator"
51 +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Crossdev"
52 +
53 +LICENSE="GPL-2"
54 +SLOT="0"
55 +
56 +RDEPEND="
57 + >=sys-apps/portage-2.1
58 + >=app-portage/portage-utils-0.55
59 + app-shells/bash
60 + sys-apps/gentoo-functions
61 +"
62 +BDEPEND="app-arch/xz-utils"
63 +
64 +src_install() {
65 + default
66 +
67 + if [[ "${PV}" == "99999999" ]] ; then
68 + sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED}"/usr/bin/crossdev || die
69 + fi
70 +}