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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 76485158094 for ; Sat, 1 Oct 2022 20:43:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B29A9E07D8; Sat, 1 Oct 2022 20:43:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 954C0E07D8 for ; Sat, 1 Oct 2022 20:43:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 98960340C53 for ; Sat, 1 Oct 2022 20:43:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 083A8523 for ; Sat, 1 Oct 2022 20:43:50 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1664657018.1d33ef5e7a09e31453bb83996fd0ad7f7f89030d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/libabigail/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/libabigail/Manifest dev-util/libabigail/libabigail-2.1.ebuild X-VCS-Directories: dev-util/libabigail/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1d33ef5e7a09e31453bb83996fd0ad7f7f89030d X-VCS-Branch: master Date: Sat, 1 Oct 2022 20:43:50 +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: 1ece0c04-c377-43a6-93d4-558a788145c2 X-Archives-Hash: bd4ab3fb0f01276119f4deb794da9364 commit: 1d33ef5e7a09e31453bb83996fd0ad7f7f89030d Author: Sam James gentoo org> AuthorDate: Sat Oct 1 20:43:21 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat Oct 1 20:43:38 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d33ef5e dev-util/libabigail: add 2.1 Signed-off-by: Sam James gentoo.org> dev-util/libabigail/Manifest | 1 + dev-util/libabigail/libabigail-2.1.ebuild | 83 +++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) diff --git a/dev-util/libabigail/Manifest b/dev-util/libabigail/Manifest index 6beddf6aa0dd..ceb1e13b4493 100644 --- a/dev-util/libabigail/Manifest +++ b/dev-util/libabigail/Manifest @@ -1 +1,2 @@ DIST libabigail-2.0.tar.gz 286383045 BLAKE2B 2ba6f59bcd7a1484c4a60c6c9f212ad76af239a552d2cc9e47748e0db52363afadd7a99ef3e123c263de34b416f71b9d679bf2a5c542c419bb38ee75f3d5c57b SHA512 288f63f3495f0cd38258c50b78f30a573e43ab60494fefa22c8cba6d6776c5f94742ffea26297a232b78d25f6804f1b3f51febd59ec487733e6ef683cef2c180 +DIST libabigail-2.1.tar.gz 405861148 BLAKE2B 28c8c7cfc33b5002d10b94e2eb9e16ef403dcce73c1404b8af011d8bf71b142b62a5079154af078a479b4528f8464c420322b814e75bb3127a09992e7ca8f84f SHA512 4fe1d3323f078a76a7529c15a809d0c0d3ac43cabd5ab4bb5c2d03992cbbb61bae3ec858e40796bf9f65029cbc779d258ae4559455178fb95cb8b53bf92bcc9a diff --git a/dev-util/libabigail/libabigail-2.1.ebuild b/dev-util/libabigail/libabigail-2.1.ebuild new file mode 100644 index 000000000000..470bcde9663b --- /dev/null +++ b/dev-util/libabigail/libabigail-2.1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit autotools bash-completion-r1 python-any-r1 out-of-source + +DESCRIPTION="Suite of tools for checking ABI differences between ELF objects" +HOMEPAGE="https://sourceware.org/libabigail/" +SRC_URI="https://mirrors.kernel.org/sourceware/libabigail/${P}.tar.gz" + +LICENSE="Apache-2.0-with-LLVM-exceptions" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/elfutils + dev-libs/libxml2:2 + elibc_musl? ( sys-libs/fts-standalone )" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( + app-doc/doxygen + dev-python/sphinx + sys-apps/texinfo + ) + test? ( ${PYTHON_DEPS} )" + +src_prepare() { + default + # need to run our autotools, due to ltmain.sh including Redhat calls: + # cannot read spec file '/usr/lib/rpm/redhat/redhat-hardened-ld': No such file or directory + eautoreconf +} + +my_src_configure() { + econf \ + --disable-deb \ + --disable-fedabipkgdiff \ + --disable-rpm \ + --disable-rpm415 \ + --disable-ctf \ + --enable-bash-completion \ + --enable-python3 \ + $(use_enable doc apidoc) \ + $(use_enable doc manual) +} + +my_src_compile() { + default + use doc && emake doc +} + +my_src_install() { + emake DESTDIR="${D}" install + + if use doc; then + doman doc/manuals/man/* + doinfo doc/manuals/texinfo/abigail.info + + dodoc -r doc/manuals/html + + docinto html/api + dodoc -r doc/api/html/. + fi +} + +my_src_install_all() { + einstalldocs + + local file + for file in abicompat abidiff abidw abilint abinilint abipkgdiff abisym fedabipkgdiff ; do + dobashcomp bash-completion/${file} + done + + # No static archives + find "${ED}" -name '*.la' -delete || die +}