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 2A04A15815E for ; Fri, 9 Feb 2024 10:05:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B11BE2A3F; Fri, 9 Feb 2024 10:05:21 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 3DE8FE2A3F for ; Fri, 9 Feb 2024 10:05:21 +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 4B6BA343005 for ; Fri, 9 Feb 2024 10:05:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2A21D14BD for ; Fri, 9 Feb 2024 10:05:16 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1707472980.88cea83bb4080d5755c5bb1b6f39edd06e2137bb.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/iwdevtools/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-portage/iwdevtools/Manifest app-portage/iwdevtools/iwdevtools-0.12.11.ebuild X-VCS-Directories: app-portage/iwdevtools/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 88cea83bb4080d5755c5bb1b6f39edd06e2137bb X-VCS-Branch: master Date: Fri, 9 Feb 2024 10:05:16 +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: 16e9af9a-8e88-4050-80d4-56c3a5f2663f X-Archives-Hash: 3564cb95506514501b2dfe70b96ac401 commit: 88cea83bb4080d5755c5bb1b6f39edd06e2137bb Author: Ionen Wolkens gentoo org> AuthorDate: Fri Feb 9 10:01:49 2024 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Fri Feb 9 10:03:00 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88cea83b app-portage/iwdevtools: add 0.12.11 Identical to 0.12.10 beside a minor default config addition. So doing straight-to-stable to avoid extra hassle. Signed-off-by: Ionen Wolkens gentoo.org> app-portage/iwdevtools/Manifest | 1 + app-portage/iwdevtools/iwdevtools-0.12.11.ebuild | 70 ++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/app-portage/iwdevtools/Manifest b/app-portage/iwdevtools/Manifest index ae377cd61317..6574c28e8cdb 100644 --- a/app-portage/iwdevtools/Manifest +++ b/app-portage/iwdevtools/Manifest @@ -1 +1,2 @@ DIST iwdevtools-0.12.10.tar.gz 91518 BLAKE2B 7a017c6666c67903d5a67b77508d8e86578d673b58cc9763fb6a435697e6dca1da15d9aa40a53e1f84c2966976fd3deafe9351992f886ddf130fe4f75637d105 SHA512 d321259334931be9e488bac8f322d0f042c513a4c84a5b656c381ebb51d8fa1fc7bdf3214b64ad9ea9204f3a5f4dee485325190f8d9a29e918a8cc209d108e8f +DIST iwdevtools-0.12.11.tar.gz 91626 BLAKE2B ffdc58c9a76105031b3be771d49d3b1afa7550333bc8cc2eae6a8ba798974e363aecf6c3f7f3f76e6d0cf6e3aac1ccd6f73bfafe3f0ae99987099fb3896ecb0f SHA512 6083a7ddef331b8f7ef96491c438096b7c920dedbe2ba3f0d74e6542592cfabbe442939609f10cddce736c21d02794900e8428c10b2b2b46ed988f6efe80351b diff --git a/app-portage/iwdevtools/iwdevtools-0.12.11.ebuild b/app-portage/iwdevtools/iwdevtools-0.12.11.ebuild new file mode 100644 index 000000000000..43c7fdf45013 --- /dev/null +++ b/app-portage/iwdevtools/iwdevtools-0.12.11.ebuild @@ -0,0 +1,70 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson optfeature + +DESCRIPTION="Small tools to aid with Gentoo development, primarily intended for QA" +HOMEPAGE="https://github.com/ionenwks/iwdevtools/" +SRC_URI=" + https://github.com/ionenwks/iwdevtools/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + app-misc/pax-utils + app-portage/portage-utils + >=app-shells/bash-5.1:0[readline] + dev-libs/libxml2:2 + sys-apps/coreutils + sys-apps/diffutils + sys-apps/file + sys-apps/portage + || ( sys-apps/util-linux app-misc/getopt ) +" +BDEPEND=" + sys-apps/help2man + || ( sys-apps/util-linux app-misc/getopt ) + test? ( ${RDEPEND} ) +" + +src_configure() { + local emesonargs=( + -Ddocdir=${PF} + -Deprefix="${EPREFIX}" + -Dshellcheck=false + $(meson_use test) + ) + + has_version sys-apps/util-linux || emesonargs+=( -Dgetopt=getopt-long ) + + meson_src_configure +} + +pkg_postinst() { + optfeature "detecting potential ABI issues using abidiff" dev-util/libabigail + + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog "Optional portage integration relies on using /etc/portage/bashrc." + elog "The example bashrc can be used as-is if not already using one:" + elog + elog " ln -s ../../usr/share/${PN}/bashrc ${EROOT}/etc/portage/bashrc" + elog + elog "Otherwise, inspect the tools' --help output and the example to integrate" + elog "(if not defining the same phase functions, the example can be sourced)." + elog + elog "Note that \`eqawarn\` is used for portage output by default. QA messages" + elog "aren't logged / shown post-emerge unless e.g. in /etc/portage/make.conf:" + elog + elog ' PORTAGE_ELOG_CLASSES="${PORTAGE_ELOG_CLASSES} qa"' + elog + elog "See ${EROOT}/usr/share/doc/${PF}/README.rst* for information on tools." + fi +}