Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pkgconf/
Date: Sun, 31 May 2020 07:33:36
Message-Id: 1590910405.f4d91d83b713b2e9f758c814cfb5d33680e5eac2.polynomial-c@gentoo
1 commit: f4d91d83b713b2e9f758c814cfb5d33680e5eac2
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 31 07:13:26 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sun May 31 07:33:25 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4d91d83
7
8 ev-util/pkgconf: Bump to version 1.7.3
9
10 Package-Manager: Portage-2.3.100, Repoman-2.3.22
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 dev-util/pkgconf/Manifest | 1 +
14 dev-util/pkgconf/pkgconf-1.7.3.ebuild | 82 +++++++++++++++++++++++++++++++++++
15 2 files changed, 83 insertions(+)
16
17 diff --git a/dev-util/pkgconf/Manifest b/dev-util/pkgconf/Manifest
18 index 505b8528b44..07a4d486ce9 100644
19 --- a/dev-util/pkgconf/Manifest
20 +++ b/dev-util/pkgconf/Manifest
21 @@ -1,3 +1,4 @@
22 DIST pkgconf-1.6.3.tar.xz 291216 BLAKE2B 04bf58590e2f0b37bac7b24b3d595ad08680e85647548cbd642495398d95706f9f738af5c6f9b9ad8801567caa20ade85d4c4d74179f08313420683cb1b34263 SHA512 437c5a5c9866e2047e62e0592639930b2420d4afd41d98cef51f3475165418a39e916477860025314828a6ee0a4eefc10fdf26bda66f80c291f324d9674fa5c1
23 DIST pkgconf-1.7.1.tar.xz 292908 BLAKE2B 004ad290ae97dd8383a24a3c390341e1c054825136b241234396248cedf5edc221d77b68fd3e502aab123a7f18daca62374d1cc7c0311650cec4f87d237c33c8 SHA512 d5d264f48f537ba60efc47baa5aa3a375aecdaebf87f268846c69f7e807e29081f5e25334e21c014adb33e9de77d6e1b8a65124f718617f5825082579af801df
24 DIST pkgconf-1.7.2.tar.xz 292944 BLAKE2B dd0197afb75590e18b6ec8c76f9a7109edc3a0934b6b9ef7bf4006ffa73b0083d2a4aa120f2f3bd0a0e9d5fd564fd7d387aedeaa297fe72c63bc440518a51c6d SHA512 b0376178e93743fd844bdc94b5fa2678521ffe5022323e20f3c5196d500a87c3546d0edc2ac22e92cb528348116e2826d6f144bd7bd18d3f0afaa5cda74f25cd
25 +DIST pkgconf-1.7.3.tar.xz 293148 BLAKE2B b0fdad9e86c7e2aaf5f268de779730e55e14d6f0ddbec50f354b888aa9ca284f6d1d4c462f00b815cd6e0e17a3b41025ce77485f66a7d527f519a7b80283774d SHA512 37b6c4f9f3b93970e35b6970fde22fbbde65e7fa32a5634b3fdfc25cc1f33843582722ad13d9a8e96fd6768406fcbe86bf5feb76996ddd0bb66d6ff91e65f0b6
26
27 diff --git a/dev-util/pkgconf/pkgconf-1.7.3.ebuild b/dev-util/pkgconf/pkgconf-1.7.3.ebuild
28 new file mode 100644
29 index 00000000000..c5741a92475
30 --- /dev/null
31 +++ b/dev-util/pkgconf/pkgconf-1.7.3.ebuild
32 @@ -0,0 +1,82 @@
33 +# Copyright 2012-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +inherit multilib-minimal
39 +
40 +if [[ ${PV} == "9999" ]] ; then
41 + inherit autotools git-r3
42 + EGIT_REPO_URI="https://git.sr.ht/~kaniini/pkgconf"
43 +else
44 + SRC_URI="http://distfiles.dereferenced.org/${PN}/${P}.tar.xz"
45 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
46 +fi
47 +
48 +DESCRIPTION="pkg-config compatible replacement with no dependencies other than ANSI C89"
49 +HOMEPAGE="https://git.sr.ht/~kaniini/pkgconf"
50 +
51 +LICENSE="ISC"
52 +SLOT="0/3"
53 +IUSE="+pkg-config test"
54 +
55 +# tests require 'kyua'
56 +RESTRICT="!test? ( test )"
57 +
58 +BDEPEND="
59 + test? (
60 + dev-libs/atf
61 + dev-util/kyua
62 + )
63 +"
64 +RDEPEND="
65 + pkg-config? (
66 + !dev-util/pkgconfig
67 + !dev-util/pkg-config-lite
68 + !dev-util/pkgconfig-openbsd[pkg-config]
69 + )
70 +"
71 +
72 +MULTILIB_CHOST_TOOLS=(
73 + /usr/bin/pkgconf
74 +)
75 +
76 +src_prepare() {
77 + default
78 +
79 + [[ ${PV} == "9999" ]] && eautoreconf
80 + if use pkg-config; then
81 + MULTILIB_CHOST_TOOLS+=(
82 + /usr/bin/pkg-config
83 + )
84 + fi
85 +}
86 +
87 +multilib_src_configure() {
88 + local ECONF_SOURCE="${S}"
89 + econf --disable-static
90 +}
91 +
92 +multilib_src_test() {
93 + unset PKG_CONFIG_LIBDIR PKG_CONFIG_PATH
94 + default
95 +}
96 +
97 +multilib_src_install() {
98 + default
99 +
100 + if use pkg-config; then
101 + dosym pkgconf /usr/bin/pkg-config
102 + dosym pkgconf.1 /usr/share/man/man1/pkg-config.1
103 + else
104 + rm "${ED}"/usr/share/aclocal/pkg.m4 || die
105 + rmdir "${ED}"/usr/share/aclocal || die
106 + rm "${ED}"/usr/share/man/man7/pkg.m4.7 || die
107 + rmdir "${ED}"/usr/share/man/man7 || die
108 + fi
109 +}
110 +
111 +multilib_src_install_all() {
112 + einstalldocs
113 + find "${ED}" -type f -name '*.la' -delete || die
114 +}