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: Thu, 02 Jul 2020 10:09:57
Message-Id: 1593684586.6ffa98daff8e01386d3250caeea233dc5feb0af9.grobian@gentoo
1 commit: 6ffa98daff8e01386d3250caeea233dc5feb0af9
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 2 10:09:37 2020 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 2 10:09:46 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ffa98da
7
8 app-portage/portage-utils-0.88: version bump
9
10 mainly qpkg changes to better support different compression formats now
11 Portage switched to zstd
12
13 Package-Manager: Portage-2.3.99, Repoman-2.3.22
14 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
15
16 app-portage/portage-utils/Manifest | 1 +
17 .../portage-utils/portage-utils-0.88.ebuild | 85 ++++++++++++++++++++++
18 2 files changed, 86 insertions(+)
19
20 diff --git a/app-portage/portage-utils/Manifest b/app-portage/portage-utils/Manifest
21 index b983dd18876..febf97a9572 100644
22 --- a/app-portage/portage-utils/Manifest
23 +++ b/app-portage/portage-utils/Manifest
24 @@ -1,2 +1,3 @@
25 DIST portage-utils-0.80.tar.xz 1762692 BLAKE2B 32e4502d517ec088eadf17a4a348b9b9bc33348380b65f93ac7c043150732ba3ff0d18ee96f8877c697a91000fdc036de392d6e6711d62248bb7c57e25d4433f SHA512 cca86877e87e5bd2e9423822db4b7afa15e8f291717c808ef0455b121db0778b2364552e9f1d5e1a8bad3f1f8880ae2b5dbd586bf1dd74d7c4f4e72fa990c78c
26 DIST portage-utils-0.87.tar.xz 1772956 BLAKE2B b1487d89303b524ffa9e6030feba181fcad73a6f38febf29f63b1f7bcd7a5080ddb1f907ca217040d064427f2060bb3885a61c30663594428be475a5bf7253f0 SHA512 a29f2d1fc85aea1c2b4c8b16fca0e9b559a980951f79cb10d7fd836d99ec65a904f2cbc54a949150ce490ba5d705b0aa5aa39f56365968b3dd591cb3d7c5eb21
27 +DIST portage-utils-0.88.tar.xz 1776100 BLAKE2B 5165c99f163a39e2d8e9d503a43982999e70ff647af16acaae84279d17c327e78c2722fa9f332c570e8bfed7647ebb7f96281c3ed2c42948234fb23192e73ca5 SHA512 f5bddd170b66753bf3abd870add6f893e31ae971cc15f3b34366fbbd6d69848aa8aa301bbf3e4185f152ce110e890178828f867e64d8ede74c17e819c2961562
28
29 diff --git a/app-portage/portage-utils/portage-utils-0.88.ebuild b/app-portage/portage-utils/portage-utils-0.88.ebuild
30 new file mode 100644
31 index 00000000000..30461bad45e
32 --- /dev/null
33 +++ b/app-portage/portage-utils/portage-utils-0.88.ebuild
34 @@ -0,0 +1,85 @@
35 +# Copyright 1999-2020 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI="6"
39 +
40 +DESCRIPTION="Small and fast Portage helper tools written in C"
41 +HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils"
42 +
43 +LICENSE="GPL-2"
44 +SLOT="0"
45 +IUSE="nls static openmp +qmanifest +qtegrity libressl"
46 +
47 +if [[ ${PV} == *9999 ]]; then
48 + inherit git-r3 autotools
49 + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage-utils.git"
50 +else
51 + SRC_URI="https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz"
52 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~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"
53 +fi
54 +
55 +RDEPEND="
56 + qmanifest? (
57 + openmp? (
58 + || (
59 + >=sys-devel/gcc-4.2:*[openmp]
60 + sys-devel/clang-runtime:*[openmp]
61 + )
62 + )
63 + static? (
64 + app-crypt/libb2:=[static-libs]
65 + !libressl? ( dev-libs/openssl:0=[static-libs] )
66 + libressl? ( dev-libs/libressl:0=[static-libs] )
67 + sys-libs/zlib:=[static-libs]
68 + app-crypt/gpgme:=[static-libs]
69 + )
70 + !static? (
71 + app-crypt/libb2:=
72 + !libressl? ( dev-libs/openssl:0= )
73 + libressl? ( dev-libs/libressl:0= )
74 + sys-libs/zlib:=
75 + app-crypt/gpgme:=
76 + )
77 + )
78 + qtegrity? (
79 + openmp? (
80 + || (
81 + >=sys-devel/gcc-4.2:*[openmp]
82 + sys-devel/clang-runtime:*[openmp]
83 + )
84 + )
85 + static? (
86 + !libressl? ( dev-libs/openssl:0=[static-libs] )
87 + libressl? ( dev-libs/libressl:0=[static-libs] )
88 + )
89 + !static? (
90 + !libressl? ( dev-libs/openssl:0= )
91 + libressl? ( dev-libs/libressl:0= )
92 + )
93 + )
94 +"
95 +DEPEND="${RDEPEND}"
96 +
97 +src_configure() {
98 + econf \
99 + --disable-maintainer-mode \
100 + --with-eprefix="${EPREFIX}" \
101 + $(use_enable qmanifest) \
102 + $(use_enable qtegrity) \
103 + $(use_enable openmp) \
104 + $(use_enable static)
105 +}
106 +
107 +pkg_postinst() {
108 + local pvr
109 + local doshow=
110 + for pvr in ${REPLACING_VERSIONS} ; do
111 + [[ ${pvr} != "0.8"[012]* ]] && doshow=true
112 + done
113 +
114 + if [[ ${doshow} == true ]] ; then
115 + elog "This version of Portage utils has undergone significant changes."
116 + elog "Please read the elog manpages for applets like qlop(1) and"
117 + elog "qfile(1) where argument options have changed."
118 + fi
119 +}