Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/gentoo-functions/
Date: Mon, 02 May 2016 10:46:37
Message-Id: 1462185105.a15037b85d09ab1f440ff997beca4136e7d75342.monsieurp@gentoo
1 commit: a15037b85d09ab1f440ff997beca4136e7d75342
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 2 10:31:21 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon May 2 10:31:45 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a15037b8
7
8 sys-apps/gentoo-functions: Add back stable gentoo-functions-0.8.ebuild.
9
10 Since commit ca1af4526d676d5162292af3ad9d6db4f84a8083 broke the tree due to a
11 couple of packages relying on gentoo-functions for exotic arches, add back 0.8
12 till 0.10 is stabilised across all arches to mend the breakage.
13
14 Package-Manager: portage-2.2.26
15
16 sys-apps/gentoo-functions/Manifest | 2 ++
17 .../gentoo-functions/gentoo-functions-0.8.ebuild | 34 ++++++++++++++++++++++
18 2 files changed, 36 insertions(+)
19
20 diff --git a/sys-apps/gentoo-functions/Manifest b/sys-apps/gentoo-functions/Manifest
21 index 3a1aea6..39f521a 100644
22 --- a/sys-apps/gentoo-functions/Manifest
23 +++ b/sys-apps/gentoo-functions/Manifest
24 @@ -1 +1,3 @@
25 +DIST consoletype-1.0.sh 616 SHA256 b6f837be496024941b81402e6c11300eb4a53987368c5c6d9afb5fd8b1c34d28 SHA512 ab6edd0035ad2ac855bc7b94679a78aad63f647b906dfda39a9844b676e6cdfc872fd1fc897f6158a5709906905a4da5ce8b4665f9e2bc0bcd1e88bb9ecace07 WHIRLPOOL b2d5f13e7411d8e6b5c4dae875041a95bed3ed7b20e765971b86fd16b1a970e8ad10288683d2efa530ef8568c6c58a07f9fc5a4a1b6b00ee6ed731da90e472ed
26 DIST gentoo-functions-0.10.tar.gz 11432 SHA256 709c8b22f404001a512e47a7a4d3192070b3e150fb9d0f943de09736d665b0db SHA512 2622cede032089c7b8a2dec576e848852f9964e0198ab161f0ff5c426c542d0849bd3d30a40c296805bfec90b533c419df43c7975ed85678471483c827ca4cdb WHIRLPOOL 6559c62083eca8a016f005d1003c8a0b6e2c89836c130cec9e0a40575e1604039f669313547c63f6cf84f1a40cdd7249d227c6f0b57f282764df8d20ef239051
27 +DIST gentoo-functions-0.8.tar.bz2 10647 SHA256 89dc0a3289a2e3312efb560e904add13ececdd5eb554151cb30d0b96f1bd8116 SHA512 34f04f5e7ecd888197b6486c131c346a84a6937501f68a54481ec3caacaee86e54345a6c34364a5953c55b1d4aeb4ca2173b70864cdd7b81e74964352132b322 WHIRLPOOL 6ba223987953fa1dd80b79590c5f72ab8b5d0eca47cc1df23559e295f03faa369a372e5c27ed47d19d605dfe072c22c7702f3d4443a8ea2489d25092274670f3
28
29 diff --git a/sys-apps/gentoo-functions/gentoo-functions-0.8.ebuild b/sys-apps/gentoo-functions/gentoo-functions-0.8.ebuild
30 new file mode 100644
31 index 0000000..272a37c
32 --- /dev/null
33 +++ b/sys-apps/gentoo-functions/gentoo-functions-0.8.ebuild
34 @@ -0,0 +1,34 @@
35 +# Copyright 1999-2016 Gentoo Foundation
36 +# Distributed under the terms of the GNU General Public License v2
37 +# $Id$
38 +
39 +EAPI=5
40 +
41 +if [[ ${PV} = 9999* ]]; then
42 + inherit git-r3
43 + EGIT_REPO_URI="git://github.com/gentoo/${PN}.git"
44 +else
45 + SRC_URI="https://dev.gentoo.org/~williamh/dist/${P}.tar.bz2
46 + prefix? ( https://dev.gentoo.org/~grobian/distfiles/consoletype-1.0.sh )"
47 + KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
48 +fi
49 +
50 +inherit toolchain-funcs
51 +
52 +DESCRIPTION="base functions required by all gentoo systems"
53 +HOMEPAGE="https://www.gentoo.org"
54 +
55 +LICENSE="GPL-2"
56 +SLOT="0"
57 +IUSE=""
58 +
59 +src_prepare() {
60 + tc-export CC
61 +
62 + # in prefix, use shell script, for the C-code doesn't compile
63 + use prefix && cp "${DISTDIR}"/consoletype-1.0.sh consoletype
64 +}
65 +
66 +src_install() {
67 + emake install DESTDIR="${ED}"
68 +}