From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 73E991382C5 for ; Wed, 27 May 2020 09:53:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 991C2E08A0; Wed, 27 May 2020 09:53:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 636CAE08A0 for ; Wed, 27 May 2020 09:53:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C6ACC34EDDE for ; Wed, 27 May 2020 09:53:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D533B21E for ; Wed, 27 May 2020 09:53:44 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1590573221.4eae2a66b3cf7fc718844949a606947e31215894.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pkgconf/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/pkgconf/Manifest dev-util/pkgconf/pkgconf-1.7.2.ebuild X-VCS-Directories: dev-util/pkgconf/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 4eae2a66b3cf7fc718844949a606947e31215894 X-VCS-Branch: master Date: Wed, 27 May 2020 09:53:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b1b17320-9bf6-48e8-93b1-b87eba384d43 X-Archives-Hash: 2d8a4f1dae7ee65f259d0e217bce6a5d commit: 4eae2a66b3cf7fc718844949a606947e31215894 Author: Lars Wendler gentoo org> AuthorDate: Wed May 27 09:52:26 2020 +0000 Commit: Lars Wendler gentoo org> CommitDate: Wed May 27 09:53:41 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eae2a66 dev-util/pkgconf: Bump to version 1.7.2 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Lars Wendler gentoo.org> dev-util/pkgconf/Manifest | 1 + dev-util/pkgconf/pkgconf-1.7.2.ebuild | 82 +++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) diff --git a/dev-util/pkgconf/Manifest b/dev-util/pkgconf/Manifest index 6c1c18db28c..770bcaccd83 100644 --- a/dev-util/pkgconf/Manifest +++ b/dev-util/pkgconf/Manifest @@ -1,3 +1,4 @@ DIST pkgconf-1.6.3.tar.xz 291216 BLAKE2B 04bf58590e2f0b37bac7b24b3d595ad08680e85647548cbd642495398d95706f9f738af5c6f9b9ad8801567caa20ade85d4c4d74179f08313420683cb1b34263 SHA512 437c5a5c9866e2047e62e0592639930b2420d4afd41d98cef51f3475165418a39e916477860025314828a6ee0a4eefc10fdf26bda66f80c291f324d9674fa5c1 DIST pkgconf-1.7.0.tar.xz 292420 BLAKE2B 2b709596c0ca8b62913a89fd6d3c4267f4f6f8585565dd66243d876a3b49795a522d3fced913d97cdaeb5cbad95b9655f2c23ef8160a03e68109fb4a21df8d90 SHA512 636741c11c35dbe39bbd38760268deefede2c312cb65ac1c20dbb2ce2c4eca884481e5888f5f6987c084f753684ff8d008713f7638952ea1d67a58ecce2fa05d DIST pkgconf-1.7.1.tar.xz 292908 BLAKE2B 004ad290ae97dd8383a24a3c390341e1c054825136b241234396248cedf5edc221d77b68fd3e502aab123a7f18daca62374d1cc7c0311650cec4f87d237c33c8 SHA512 d5d264f48f537ba60efc47baa5aa3a375aecdaebf87f268846c69f7e807e29081f5e25334e21c014adb33e9de77d6e1b8a65124f718617f5825082579af801df +DIST pkgconf-1.7.2.tar.xz 292944 BLAKE2B dd0197afb75590e18b6ec8c76f9a7109edc3a0934b6b9ef7bf4006ffa73b0083d2a4aa120f2f3bd0a0e9d5fd564fd7d387aedeaa297fe72c63bc440518a51c6d SHA512 b0376178e93743fd844bdc94b5fa2678521ffe5022323e20f3c5196d500a87c3546d0edc2ac22e92cb528348116e2826d6f144bd7bd18d3f0afaa5cda74f25cd diff --git a/dev-util/pkgconf/pkgconf-1.7.2.ebuild b/dev-util/pkgconf/pkgconf-1.7.2.ebuild new file mode 100644 index 00000000000..c5741a92475 --- /dev/null +++ b/dev-util/pkgconf/pkgconf-1.7.2.ebuild @@ -0,0 +1,82 @@ +# Copyright 2012-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib-minimal + +if [[ ${PV} == "9999" ]] ; then + inherit autotools git-r3 + EGIT_REPO_URI="https://git.sr.ht/~kaniini/pkgconf" +else + SRC_URI="http://distfiles.dereferenced.org/${PN}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +DESCRIPTION="pkg-config compatible replacement with no dependencies other than ANSI C89" +HOMEPAGE="https://git.sr.ht/~kaniini/pkgconf" + +LICENSE="ISC" +SLOT="0/3" +IUSE="+pkg-config test" + +# tests require 'kyua' +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-libs/atf + dev-util/kyua + ) +" +RDEPEND=" + pkg-config? ( + !dev-util/pkgconfig + !dev-util/pkg-config-lite + !dev-util/pkgconfig-openbsd[pkg-config] + ) +" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/pkgconf +) + +src_prepare() { + default + + [[ ${PV} == "9999" ]] && eautoreconf + if use pkg-config; then + MULTILIB_CHOST_TOOLS+=( + /usr/bin/pkg-config + ) + fi +} + +multilib_src_configure() { + local ECONF_SOURCE="${S}" + econf --disable-static +} + +multilib_src_test() { + unset PKG_CONFIG_LIBDIR PKG_CONFIG_PATH + default +} + +multilib_src_install() { + default + + if use pkg-config; then + dosym pkgconf /usr/bin/pkg-config + dosym pkgconf.1 /usr/share/man/man1/pkg-config.1 + else + rm "${ED}"/usr/share/aclocal/pkg.m4 || die + rmdir "${ED}"/usr/share/aclocal || die + rm "${ED}"/usr/share/man/man7/pkg.m4.7 || die + rmdir "${ED}"/usr/share/man/man7 || die + fi +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -type f -name '*.la' -delete || die +}