Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pkgconf/
Date: Sun, 07 Aug 2022 05:32:18
Message-Id: 1659850329.cc295391fddf63aec465b58d7aac89e1f72b951c.sam@gentoo
1 commit: cc295391fddf63aec465b58d7aac89e1f72b951c
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 7 05:31:46 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 7 05:32:09 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc295391
7
8 dev-util/pkgconf: add 1.9.0 (unkeyworded)
9
10 Unkeyworded as it's a testing/development release.
11
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 dev-util/pkgconf/Manifest | 1 +
15 .../{pkgconf-9999.ebuild => pkgconf-1.9.0.ebuild} | 29 +++++++++-------------
16 dev-util/pkgconf/pkgconf-9999.ebuild | 28 ++++++++-------------
17 3 files changed, 24 insertions(+), 34 deletions(-)
18
19 diff --git a/dev-util/pkgconf/Manifest b/dev-util/pkgconf/Manifest
20 index 5a9d1dca32cd..c74a2969150f 100644
21 --- a/dev-util/pkgconf/Manifest
22 +++ b/dev-util/pkgconf/Manifest
23 @@ -1 +1,2 @@
24 DIST pkgconf-1.8.0.tar.xz 296304 BLAKE2B 6585a855a313406f77d26fba3cc3cef798b27c4b7ece81738bdba12f36ee93fbcaf838e1065406c28adc20852e34e2de14bc5f4837982f9cc35360d9a3ac83a5 SHA512 58204006408ad5ce91222ed3c93c2e0b61c04fa83c0a8ad337b747b583744578dbebd4ad5ccbc577689637caa1c5dc246b7795ac46e39c6666b1aa78199b7c28
25 +DIST pkgconf-1.9.0.tar.xz 306336 BLAKE2B 5e66082ed0d4279eacc5d8428e1243196e446c9346171f78fa693bc028edbe80ba585274e00a4d461a3118bb33845f42b4e54c6a0092a642320a59cf2807cd6a SHA512 14b53b8a5a2e90b62d23c4ca3ea8e6f3113aac1ab4bc63bb59fef27d61d2f13953d02ea022c38ed9aa039b075a9ff93cf9fd58f93013cd1ea78bef411937055a
26
27 diff --git a/dev-util/pkgconf/pkgconf-9999.ebuild b/dev-util/pkgconf/pkgconf-1.9.0.ebuild
28 similarity index 71%
29 copy from dev-util/pkgconf/pkgconf-9999.ebuild
30 copy to dev-util/pkgconf/pkgconf-1.9.0.ebuild
31 index ecbccf339c73..c63109267d0a 100644
32 --- a/dev-util/pkgconf/pkgconf-9999.ebuild
33 +++ b/dev-util/pkgconf/pkgconf-1.9.0.ebuild
34 @@ -1,26 +1,26 @@
35 # Copyright 2012-2022 Gentoo Authors
36 # Distributed under the terms of the GNU General Public License v2
37
38 -EAPI=7
39 +EAPI=8
40
41 inherit multilib multilib-minimal
42
43 -if [[ ${PV} == "9999" ]] ; then
44 +if [[ ${PV} == 9999 ]] ; then
45 inherit autotools git-r3
46 EGIT_REPO_URI="https://gitea.treehouse.systems/ariadne/pkgconf.git"
47 else
48 SRC_URI="https://distfiles.dereferenced.org/${PN}/${P}.tar.xz"
49 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~ppc-macos ~x64-macos"
50 + # Per release notes, 1.9.0 is a testing/development release.
51 + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
52 fi
53
54 DESCRIPTION="pkg-config compatible replacement with no dependencies other than ANSI C89"
55 HOMEPAGE="https://gitea.treehouse.systems/ariadne/pkgconf"
56
57 LICENSE="ISC"
58 -SLOT="0/3"
59 +SLOT="0/4"
60 IUSE="test"
61
62 -# tests require 'kyua'
63 RESTRICT="!test? ( test )"
64
65 BDEPEND="
66 @@ -29,31 +29,25 @@ BDEPEND="
67 dev-util/kyua
68 )
69 "
70 -RDEPEND="
71 - !dev-util/pkgconfig
72 -"
73 -
74 -MULTILIB_CHOST_TOOLS=(
75 - /usr/bin/pkgconf$(get_exeext)
76 -)
77 +RDEPEND="!dev-util/pkgconfig"
78
79 src_prepare() {
80 default
81
82 - [[ ${PV} == "9999" ]] && eautoreconf
83 + [[ ${PV} == 9999 ]] && eautoreconf
84 +
85 MULTILIB_CHOST_TOOLS+=(
86 /usr/bin/pkg-config$(get_exeext)
87 )
88 }
89
90 multilib_src_configure() {
91 - local ECONF_SOURCE="${S}"
92 - local args=(
93 - --disable-static
94 + local myeconfargs=(
95 --with-system-includedir="${EPREFIX}/usr/include"
96 --with-system-libdir="${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir)"
97 )
98 - econf "${args[@]}"
99 +
100 + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
101 }
102
103 multilib_src_test() {
104 @@ -70,5 +64,6 @@ multilib_src_install() {
105
106 multilib_src_install_all() {
107 einstalldocs
108 +
109 find "${ED}" -type f -name '*.la' -delete || die
110 }
111
112 diff --git a/dev-util/pkgconf/pkgconf-9999.ebuild b/dev-util/pkgconf/pkgconf-9999.ebuild
113 index ecbccf339c73..a889721e17d0 100644
114 --- a/dev-util/pkgconf/pkgconf-9999.ebuild
115 +++ b/dev-util/pkgconf/pkgconf-9999.ebuild
116 @@ -1,26 +1,25 @@
117 # Copyright 2012-2022 Gentoo Authors
118 # Distributed under the terms of the GNU General Public License v2
119
120 -EAPI=7
121 +EAPI=8
122
123 inherit multilib multilib-minimal
124
125 -if [[ ${PV} == "9999" ]] ; then
126 +if [[ ${PV} == 9999 ]] ; then
127 inherit autotools git-r3
128 EGIT_REPO_URI="https://gitea.treehouse.systems/ariadne/pkgconf.git"
129 else
130 SRC_URI="https://distfiles.dereferenced.org/${PN}/${P}.tar.xz"
131 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~ppc-macos ~x64-macos"
132 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
133 fi
134
135 DESCRIPTION="pkg-config compatible replacement with no dependencies other than ANSI C89"
136 HOMEPAGE="https://gitea.treehouse.systems/ariadne/pkgconf"
137
138 LICENSE="ISC"
139 -SLOT="0/3"
140 +SLOT="0/4"
141 IUSE="test"
142
143 -# tests require 'kyua'
144 RESTRICT="!test? ( test )"
145
146 BDEPEND="
147 @@ -29,31 +28,25 @@ BDEPEND="
148 dev-util/kyua
149 )
150 "
151 -RDEPEND="
152 - !dev-util/pkgconfig
153 -"
154 -
155 -MULTILIB_CHOST_TOOLS=(
156 - /usr/bin/pkgconf$(get_exeext)
157 -)
158 +RDEPEND="!dev-util/pkgconfig"
159
160 src_prepare() {
161 default
162
163 - [[ ${PV} == "9999" ]] && eautoreconf
164 + [[ ${PV} == 9999 ]] && eautoreconf
165 +
166 MULTILIB_CHOST_TOOLS+=(
167 /usr/bin/pkg-config$(get_exeext)
168 )
169 }
170
171 multilib_src_configure() {
172 - local ECONF_SOURCE="${S}"
173 - local args=(
174 - --disable-static
175 + local myeconfargs=(
176 --with-system-includedir="${EPREFIX}/usr/include"
177 --with-system-libdir="${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir)"
178 )
179 - econf "${args[@]}"
180 +
181 + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
182 }
183
184 multilib_src_test() {
185 @@ -70,5 +63,6 @@ multilib_src_install() {
186
187 multilib_src_install_all() {
188 einstalldocs
189 +
190 find "${ED}" -type f -name '*.la' -delete || die
191 }