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: Tue, 08 May 2018 21:45:06
Message-Id: 1525815886.e42f1893098bfc973c2c869cfc33e6df7d31e9fd.slyfox@gentoo
1 commit: e42f1893098bfc973c2c869cfc33e6df7d31e9fd
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 8 21:44:02 2018 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Tue May 8 21:44:46 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e42f1893
7
8 sys-devel/crossdev: bump up to 20180508, bug #644930
9
10 Single new patch: "disable USE=pie for all mingw targets"
11
12 Reported-by: Jernej Simoncic
13 Closes: https://bugs.gentoo.org/644930
14 Package-Manager: Portage-2.3.36, Repoman-2.3.9
15
16 sys-devel/crossdev/Manifest | 1 +
17 sys-devel/crossdev/crossdev-20180508.ebuild | 39 +++++++++++++++++++++++++++++
18 2 files changed, 40 insertions(+)
19
20 diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest
21 index 8d50ea350e1..b101ccfaaa7 100644
22 --- a/sys-devel/crossdev/Manifest
23 +++ b/sys-devel/crossdev/Manifest
24 @@ -3,3 +3,4 @@ DIST crossdev-20180105.tar.xz 23056 BLAKE2B 66618f312b6f9492b1ccbdc7142e6b38035b
25 DIST crossdev-20180120.tar.xz 23328 BLAKE2B a95b834f2b5c0cfad178a2795ec650c2461c6462f4aad239e55666f4503e2607410d5fb318a2fa59d01271475e6d4438ca399ad6565632610ad51ae0142ea5c0 SHA512 7b57f4eebec3ddf6460fb3305a124c670c79d6d4708e45314fd4e68b47bfdc9617f2dbd8c1c30af141fe43d4afc001615b1574e155fb5685c703f5e17149c3ba
26 DIST crossdev-20180302.tar.xz 23368 BLAKE2B 1bd93ca8dc1c65d1c5cbc095a84540e0a09f666674d87e56ff051900e1f3ab60a087a61734c86406d3f8160469c20e161b940ca19b1f4da318461d02d7915ac3 SHA512 f1b5d066851c54e84c1bb58f261655be2e5ac4c7a247831f4c45186574a306e839497b5a72cf9d603545c01b52ef3ee47b6c7c90086217268572697835fc7f1e
27 DIST crossdev-20180410.tar.xz 26716 BLAKE2B 67f47052af4299028470613900e7f1b91fd2b861cce71d2a4b40bb1bf16a7b9b8967eed18dabcca819d89cfb30cbf1253498b2ef9eab8d941a6d611d333b6d65 SHA512 2e70f8c01e7b1484e76dee82fb3342cbcbd60ee3458e2c6acf5b642e01be95546fe03fc00c82d59fa871aae9f5a6728f45f9f7cb4bc27c4cdf56c4fd8a93b754
28 +DIST crossdev-20180508.tar.xz 26728 BLAKE2B ab92cac544ee787ca91c794191c51faeab99e88bc2fc695c5e913e4137cc941457f5b27bf22f3b6a7991fa46ebdc2e5b4238a01425c5021fa9fc05ca23c51f49 SHA512 a96afeeb03747ce67a39b53b925361d07117b49316b5c657413125413d006de25249b0d3d1804c8a946c288c80beb42aa7c32362b57ac81399d26a67ceccfe04
29
30 diff --git a/sys-devel/crossdev/crossdev-20180508.ebuild b/sys-devel/crossdev/crossdev-20180508.ebuild
31 new file mode 100644
32 index 00000000000..d1adb4564b5
33 --- /dev/null
34 +++ b/sys-devel/crossdev/crossdev-20180508.ebuild
35 @@ -0,0 +1,39 @@
36 +# Copyright 1999-2018 Gentoo Foundation
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=6
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 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
48 +fi
49 +
50 +DESCRIPTION="Gentoo Cross-toolchain generator"
51 +HOMEPAGE="https://www.gentoo.org/"
52 +
53 +LICENSE="GPL-2"
54 +SLOT="0"
55 +IUSE=""
56 +
57 +RDEPEND="
58 + || (
59 + >=sys-apps/portage-2.1
60 + sys-apps/portage-mgorny
61 + )
62 + >=app-portage/portage-utils-0.55
63 + app-shells/bash
64 + sys-apps/gentoo-functions
65 + !sys-devel/crossdev-wrappers"
66 +DEPEND="app-arch/xz-utils"
67 +
68 +src_install() {
69 + default
70 +
71 + if [[ "${PV}" == "99999999" ]] ; then
72 + sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED%/}"/usr/bin/crossdev || die
73 + fi
74 +}