Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/portage-utils/
Date: Sun, 28 Aug 2022 21:43:03
Message-Id: 1661722965.152cba16dd90e36b4e8abd4c4445adee321a37d3.soap@gentoo
1 commit: 152cba16dd90e36b4e8abd4c4445adee321a37d3
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 28 21:42:45 2022 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 28 21:42:45 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=152cba16
7
8 app-portage/portage-utils: add 0.94.2
9
10 Closes: https://bugs.gentoo.org/867076
11 Bug: https://bugs.gentoo.org/841898
12 Signed-off-by: David Seifert <soap <AT> gentoo.org>
13
14 app-portage/portage-utils/Manifest | 1 +
15 .../portage-utils/portage-utils-0.94.2.ebuild | 75 ++++++++++++++++++++++
16 2 files changed, 76 insertions(+)
17
18 diff --git a/app-portage/portage-utils/Manifest b/app-portage/portage-utils/Manifest
19 index 261a59707cc5..3847937d7dcb 100644
20 --- a/app-portage/portage-utils/Manifest
21 +++ b/app-portage/portage-utils/Manifest
22 @@ -1,2 +1,3 @@
23 DIST portage-utils-0.93.3.tar.xz 1796828 BLAKE2B cfad7ab27ff2d92f631f4e31012e8903c5fa6113485f727338812059379cdd4a9552d80dc3aef6bb91264c361c0554fe9054a12347e274c4c5c3db66fd36008b SHA512 c1245aa78d236263cd266fc8565312c2ac30cb992037a7b0f26da04ecf2dfeebc85bff653784e186cf2c7d7468e4772fb0bd93bcdb3a37d46e493d000933e5a1
24 DIST portage-utils-0.94.1.tar.xz 1871688 BLAKE2B bec5ddd514b397c157c3b1bff70d61730f15804a6751f56eb69c4030a35fc6a6b11fa1e2bde94332772660f02bf9428623210733ae9e2f1290f29aa3b31a1813 SHA512 29fdb4093997eb95703d407da6b00305c949f0a00ae3aa5cfb2c47b66bddc59e034fae114663b40b611f906332066b648018aa4e5bc1b935e61a64f4b4bf1088
25 +DIST portage-utils-0.94.2.tar.xz 1804152 BLAKE2B 416e72851744cfe595ff11dc3c39b4b7a2ed243fa59e1b94ba1e94072e8c63382a29256f918af229f4bee0543509108cc7a3f1222a7810e0a9e47a89726cd8e1 SHA512 d4fc9d9cbb9ecca3269c1e4bc192e623e1f671be072bac57b6be0a885fa99344f313644d17533f3c062591d2709d36d88f0370479fb488fd4636b42724b8f15f
26
27 diff --git a/app-portage/portage-utils/portage-utils-0.94.2.ebuild b/app-portage/portage-utils/portage-utils-0.94.2.ebuild
28 new file mode 100644
29 index 000000000000..b07e43f8a485
30 --- /dev/null
31 +++ b/app-portage/portage-utils/portage-utils-0.94.2.ebuild
32 @@ -0,0 +1,75 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +inherit flag-o-matic toolchain-funcs
39 +
40 +DESCRIPTION="Small and fast Portage helper tools written in C"
41 +HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils"
42 +
43 +if [[ ${PV} == *9999 ]]; then
44 + inherit git-r3 autotools
45 + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage-utils.git"
46 +else
47 + SRC_URI="https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz"
48 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
49 +fi
50 +
51 +LICENSE="GPL-2"
52 +SLOT="0"
53 +IUSE="openmp +qmanifest +qtegrity static"
54 +
55 +RDEPEND="
56 + qmanifest? (
57 + !static? (
58 + app-crypt/gpgme:=
59 + app-crypt/libb2:=
60 + dev-libs/openssl:=
61 + sys-libs/zlib:=
62 + )
63 + )
64 + qtegrity? (
65 + !static? (
66 + dev-libs/openssl:=
67 + )
68 + )"
69 +DEPEND="${RDEPEND}
70 + qmanifest? (
71 + static? (
72 + app-crypt/gpgme[static-libs]
73 + app-crypt/libb2[static-libs]
74 + dev-libs/openssl[static-libs]
75 + sys-libs/zlib[static-libs]
76 + )
77 + )
78 + qtegrity? (
79 + static? (
80 + dev-libs/openssl[static-libs]
81 + )
82 + )"
83 +BDEPEND="virtual/pkgconfig"
84 +
85 +pkg_pretend() {
86 + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
87 +}
88 +
89 +pkg_setup() {
90 + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
91 +}
92 +
93 +src_prepare() {
94 + default
95 + [[ ${PV} == *9999 ]] && eautoreconf
96 +}
97 +
98 +src_configure() {
99 + use static && append-ldflags -static
100 +
101 + econf \
102 + --disable-maintainer-mode \
103 + --with-eprefix="${EPREFIX}" \
104 + $(use_enable qmanifest) \
105 + $(use_enable qtegrity) \
106 + $(use_enable openmp)
107 +}