Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/gentoo-functions/
Date: Sun, 26 Jan 2020 23:33:20
Message-Id: 1580081583.bcb11aec5a7c5d40753e40482dc4cd12cf247bec.floppym@gentoo
1 commit: bcb11aec5a7c5d40753e40482dc4cd12cf247bec
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 26 23:30:28 2020 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 26 23:33:03 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcb11aec
7
8 sys-apps/gentoo-functions: bump to 0.13
9
10 Package-Manager: Portage-2.3.85_p2, Repoman-2.3.20_p36
11 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
12
13 sys-apps/gentoo-functions/Manifest | 1 +
14 .../gentoo-functions/gentoo-functions-0.13.ebuild | 28 ++++++++++++++++++++++
15 .../gentoo-functions/gentoo-functions-9999.ebuild | 20 +++++++---------
16 3 files changed, 38 insertions(+), 11 deletions(-)
17
18 diff --git a/sys-apps/gentoo-functions/Manifest b/sys-apps/gentoo-functions/Manifest
19 index 34ce1ac1e41..9d74eed5686 100644
20 --- a/sys-apps/gentoo-functions/Manifest
21 +++ b/sys-apps/gentoo-functions/Manifest
22 @@ -1 +1,2 @@
23 DIST gentoo-functions-0.12.tar.gz 11514 BLAKE2B 88f626a977b6f7b7cde2df452b91ef9570d29f3e6488d23859077b4d31a441dd0eb9cc473263e06a67dd90b714e24cbcfc09d4c4003f9cd29c8b7aeb0f3c91f9 SHA512 181e09216e1ed78f590e0bb50c60cfb0295bfeef335ed6c957ea7f2a1d6145d91c0a6dc4377bd6cd538fb4e5871e9a5ef8332d91bc91931792d5f05f62bc4705
24 +DIST gentoo-functions-0.13.tar.gz 11334 BLAKE2B 740e6d950b62b777e533d16b707cbf6f9ab0e9de4c92c5e755af186571539949017aadcd7d428b1e635f43052a575f89787b3e92087675b600a6b7350fda24a6 SHA512 61185197e1eb4155d0db9ba024dcb1b9eb0d272e3369f986668634012e35b57c3cdcd7beecd4714b9b48a0e44e8bb73472713949e16827aa05c055ec83d537dd
25
26 diff --git a/sys-apps/gentoo-functions/gentoo-functions-0.13.ebuild b/sys-apps/gentoo-functions/gentoo-functions-0.13.ebuild
27 new file mode 100644
28 index 00000000000..3c1089a7586
29 --- /dev/null
30 +++ b/sys-apps/gentoo-functions/gentoo-functions-0.13.ebuild
31 @@ -0,0 +1,28 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +if [[ ${PV} == 9999* ]]; then
38 + inherit git-r3
39 + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/gentoo-functions.git"
40 +else
41 + SRC_URI="https://gitweb.gentoo.org/proj/gentoo-functions.git/snapshot/${P}.tar.gz"
42 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
43 +fi
44 +
45 +inherit toolchain-funcs flag-o-matic
46 +
47 +DESCRIPTION="base functions required by all Gentoo systems"
48 +HOMEPAGE="https://gitweb.gentoo.org/proj/gentoo-functions.git"
49 +
50 +LICENSE="GPL-2"
51 +SLOT="0"
52 +IUSE=""
53 +
54 +src_configure() {
55 + tc-export CC
56 + append-lfs-flags
57 + export ROOTPREFIX="${EPREFIX}"
58 + export PREFIX="${EPREFIX}/usr"
59 +}
60
61 diff --git a/sys-apps/gentoo-functions/gentoo-functions-9999.ebuild b/sys-apps/gentoo-functions/gentoo-functions-9999.ebuild
62 index a8780922f9d..3c1089a7586 100644
63 --- a/sys-apps/gentoo-functions/gentoo-functions-9999.ebuild
64 +++ b/sys-apps/gentoo-functions/gentoo-functions-9999.ebuild
65 @@ -1,30 +1,28 @@
66 -# Copyright 1999-2018 Gentoo Foundation
67 +# Copyright 1999-2020 Gentoo Authors
68 # Distributed under the terms of the GNU General Public License v2
69
70 -EAPI="5"
71 +EAPI=7
72
73 if [[ ${PV} == 9999* ]]; then
74 inherit git-r3
75 - EGIT_REPO_URI="https://github.com/gentoo/${PN}.git"
76 + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/gentoo-functions.git"
77 else
78 - SRC_URI="https://github.com/gentoo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
79 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
80 + SRC_URI="https://gitweb.gentoo.org/proj/gentoo-functions.git/snapshot/${P}.tar.gz"
81 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
82 fi
83
84 inherit toolchain-funcs flag-o-matic
85
86 DESCRIPTION="base functions required by all Gentoo systems"
87 -HOMEPAGE="https://www.gentoo.org"
88 +HOMEPAGE="https://gitweb.gentoo.org/proj/gentoo-functions.git"
89
90 LICENSE="GPL-2"
91 SLOT="0"
92 IUSE=""
93
94 -src_prepare() {
95 +src_configure() {
96 tc-export CC
97 append-lfs-flags
98 -}
99 -
100 -src_install() {
101 - emake install DESTDIR="${ED}"
102 + export ROOTPREFIX="${EPREFIX}"
103 + export PREFIX="${EPREFIX}/usr"
104 }