Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/portage-utils/
Date: Sun, 14 Apr 2019 09:38:23
Message-Id: 1555234675.3e6b19ce1c1d86a2d5dfcfad0baac014ec34db75.grobian@gentoo
1 commit: 3e6b19ce1c1d86a2d5dfcfad0baac014ec34db75
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 14 09:37:55 2019 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 14 09:37:55 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e6b19ce
7
8 app-portage/portage-utils: add live ebuild
9
10 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
11 Package-Manager: Portage-2.3.62, Repoman-2.3.11
12
13 .../portage-utils/portage-utils-9999.ebuild | 36 ++++++++++++++++++++++
14 1 file changed, 36 insertions(+)
15
16 diff --git a/app-portage/portage-utils/portage-utils-9999.ebuild b/app-portage/portage-utils/portage-utils-9999.ebuild
17 new file mode 100644
18 index 00000000000..d2afd91deb5
19 --- /dev/null
20 +++ b/app-portage/portage-utils/portage-utils-9999.ebuild
21 @@ -0,0 +1,36 @@
22 +# Copyright 1999-2019 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI="6"
26 +
27 +inherit toolchain-funcs
28 +
29 +DESCRIPTION="Small and fast Portage helper tools written in C"
30 +HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils"
31 +
32 +LICENSE="GPL-2"
33 +SLOT="0"
34 +IUSE="nls static"
35 +
36 +if [[ ${PV} == *9999 ]]; then
37 + inherit git-r3 autotools
38 + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage-utils.git"
39 +else
40 + SRC_URI="mirror://gentoo/${P}.tar.xz
41 + https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz"
42 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
43 +fi
44 +
45 +RDEPEND="dev-libs/iniparser:0"
46 +DEPEND="${RDEPEND}
47 + app-arch/xz-utils
48 + static? ( dev-libs/iniparser:0[static-libs] )"
49 +
50 +src_prepare() {
51 + default
52 + [[ ${PV} == *9999 ]] && eautoreconf
53 +}
54 +
55 +src_configure() {
56 + econf --with-eprefix="${EPREFIX}"
57 +}