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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 53013158094 for ; Fri, 19 Aug 2022 11:57:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3B02BE0844; Fri, 19 Aug 2022 11:57:46 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 7E150E0844 for ; Fri, 19 Aug 2022 11:57:45 +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 41CE83413F0 for ; Fri, 19 Aug 2022 11:57:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8DEAE500 for ; Fri, 19 Aug 2022 11:57:42 +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: <1660910244.ce952d0b8e0c5ff4df4e939f51ca85d1daf1649d.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.11.7.ebuild X-VCS-Directories: app-portage/iwdevtools/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: ce952d0b8e0c5ff4df4e939f51ca85d1daf1649d X-VCS-Branch: master Date: Fri, 19 Aug 2022 11:57:42 +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: ae438150-ba87-4532-82c3-6247d7795f92 X-Archives-Hash: dd30694b116b082f8c6d9c4cdb24425e commit: ce952d0b8e0c5ff4df4e939f51ca85d1daf1649d Author: Ionen Wolkens gentoo org> AuthorDate: Fri Aug 19 11:48:02 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Fri Aug 19 11:57:24 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce952d0b app-portage/iwdevtools: add 0.11.7, straight-to-stable qa-sed could mangle installed files when using sed labels and not passing them within the same `-e` they're used in (fortunately, only known case is sys-apps/shadow and only resulted in harmless duplicate login.defs comments -- labels isn't a widespread practice) Even if minor here, potential mangling cases is something been trying to avoid as much as possible, so doing straight-to-stable Signed-off-by: Ionen Wolkens gentoo.org> app-portage/iwdevtools/Manifest | 1 + app-portage/iwdevtools/iwdevtools-0.11.7.ebuild | 64 +++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/app-portage/iwdevtools/Manifest b/app-portage/iwdevtools/Manifest index 9dd8555ce4d7..9fca2b41b2eb 100644 --- a/app-portage/iwdevtools/Manifest +++ b/app-portage/iwdevtools/Manifest @@ -1 +1,2 @@ DIST iwdevtools-0.11.6.tar.gz 85945 BLAKE2B 61c18ae0ed1c0f7e90d41af485f18f891cdd9ffbaff5437cb9f9ca88622efa0f5acd89ac8596e7d41c25a083a970143f3b226284f4566b0b8ee3718071cd6cbb SHA512 21ffda72945947658bf6867bf83d9b9ad4f6b930d4c2cee3dea551581030668ab286a4c4a07edeae937fd91f4aba08fe8e7c6506459808c4ada38502226b5b26 +DIST iwdevtools-0.11.7.tar.gz 86578 BLAKE2B 1945f99ab5d516bdef7081e13ecb0921728497f84e5e5248b2ddea78b306f185a0952a664165b4bae6c2089ddd1a4423d26524f42631a53b75fd2749a6994721 SHA512 fe18a88d166f239581bdddb0c719bf1d7789f671df151d87844b1836d134754d731114250ae2a9ef5b1a37a403615c15bbd6174eeeec3fe275e93c32ce6fae5c diff --git a/app-portage/iwdevtools/iwdevtools-0.11.7.ebuild b/app-portage/iwdevtools/iwdevtools-0.11.7.ebuild new file mode 100644 index 000000000000..4c53d2af1ea3 --- /dev/null +++ b/app-portage/iwdevtools/iwdevtools-0.11.7.ebuild @@ -0,0 +1,64 @@ +# Copyright 2021-2022 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 ~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 + dev-libs/libxml2:2 + 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 +}