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 7096915803E for ; Wed, 3 Jan 2024 20:30:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7A3C2BC017; Wed, 3 Jan 2024 20:30:16 +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 807F92BC017 for ; Wed, 3 Jan 2024 20:30:16 +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 53A08340813 for ; Wed, 3 Jan 2024 20:30:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AA4C81339 for ; Wed, 3 Jan 2024 20:30:13 +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: <1704313709.e3c46a3c8fd5be7c44ec6b29fd1d3c59c35e5e88.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.9.ebuild X-VCS-Directories: app-portage/iwdevtools/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: e3c46a3c8fd5be7c44ec6b29fd1d3c59c35e5e88 X-VCS-Branch: master Date: Wed, 3 Jan 2024 20:30:13 +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: 2c950e1f-f86b-4ec3-8c45-19366d196691 X-Archives-Hash: 3999cbc470694736a9fc3f09018b6ead commit: e3c46a3c8fd5be7c44ec6b29fd1d3c59c35e5e88 Author: Ionen Wolkens gentoo org> AuthorDate: Wed Jan 3 20:28:04 2024 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Wed Jan 3 20:28:29 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3c46a3c app-portage/iwdevtools: add 0.12.9 Signed-off-by: Ionen Wolkens gentoo.org> app-portage/iwdevtools/Manifest | 1 + app-portage/iwdevtools/iwdevtools-0.12.9.ebuild | 70 +++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/app-portage/iwdevtools/Manifest b/app-portage/iwdevtools/Manifest index 71983978424b..d0c6ed7474d0 100644 --- a/app-portage/iwdevtools/Manifest +++ b/app-portage/iwdevtools/Manifest @@ -1 +1,2 @@ DIST iwdevtools-0.12.8.tar.gz 91178 BLAKE2B d131ab44587df0e4c0b8a697298373517ca4d33265aba00c9dd832c9576d8b08c359e20a129b1a5d9aa01fcaaa3a33d410b5c6e521032d1d90bce781483f8c74 SHA512 0236a4cb6dae4c97296525df940000c6c30fd05f85848a7828cfa610ba68dcd09d5d0bf9b76a0444fa172f47ac1d739aa332e494deb4fccbfd6460e779605186 +DIST iwdevtools-0.12.9.tar.gz 91444 BLAKE2B 81d4011705ca40bc751a2a534b3f07845da26d30de8bacf8bbe0a283701a7a61d166f021da7089cbc7ec64bd1b76308d1a43edebb794a6ff7cbd85e10990a8dd SHA512 1cc4a5efcf1dddd787ae26cda732d986c714a68ffd12715c4aa4ae5e9da809c2a451c8193d0f4b525496f5226344bc757566957cee4af364201a43c4ae39b716 diff --git a/app-portage/iwdevtools/iwdevtools-0.12.9.ebuild b/app-portage/iwdevtools/iwdevtools-0.12.9.ebuild new file mode 100644 index 000000000000..7f36be50e156 --- /dev/null +++ b/app-portage/iwdevtools/iwdevtools-0.12.9.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 +}