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 6C3C615808B for ; Sun, 13 Feb 2022 05:57:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2296E0829; Sun, 13 Feb 2022 05:57:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 832F9E0829 for ; Sun, 13 Feb 2022 05:57:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 854B1343389 for ; Sun, 13 Feb 2022 05:57:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 360B2250 for ; Sun, 13 Feb 2022 05:57:33 +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: <1644731688.133314d45de7bd8868a451f8aa1a5a04c956c1a1.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.10.1.ebuild X-VCS-Directories: app-portage/iwdevtools/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 133314d45de7bd8868a451f8aa1a5a04c956c1a1 X-VCS-Branch: master Date: Sun, 13 Feb 2022 05:57:33 +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: c4652ec4-cf12-43ca-8d00-adc2f169aae4 X-Archives-Hash: bbd31bee0d93fad213d5e1c02e01b7f5 commit: 133314d45de7bd8868a451f8aa1a5a04c956c1a1 Author: Ionen Wolkens gentoo org> AuthorDate: Sun Feb 13 05:53:45 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sun Feb 13 05:54:48 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=133314d4 app-portage/iwdevtools: add 0.10.1 Signed-off-by: Ionen Wolkens gentoo.org> app-portage/iwdevtools/Manifest | 1 + app-portage/iwdevtools/iwdevtools-0.10.1.ebuild | 62 +++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/app-portage/iwdevtools/Manifest b/app-portage/iwdevtools/Manifest index ef36a601aa85..d9d9dd05deec 100644 --- a/app-portage/iwdevtools/Manifest +++ b/app-portage/iwdevtools/Manifest @@ -1 +1,2 @@ DIST iwdevtools-0.10.0.tar.gz 60808 BLAKE2B 31f5288c54513a95199c3e41e7147778276ffaa2a63bb88e49a91680fa53602c4d1883ccf9b78bf63eba2fefec3fcd50e45ce7a599a0b252eadfaca62f2d9a09 SHA512 e03eda68eced8a23476d6681bd8090f80b642c40e5ed7e3ecb758fe04e51f496be02042bb87f6b42e150d28086e7ce14b278a6fdd05f06725b184b328405d412 +DIST iwdevtools-0.10.1.tar.gz 61117 BLAKE2B fd5508a40a854987db7f2ecc0e68e100cd6a8b6cc5b90a9901bbf6c16336ebc497861e05a6c1683ac9082aa9f12a03cb47f7116da793fbd8e105ed78aae2bbb3 SHA512 0f04850f15edc8af368a87bbc665c62d5588f4220c2d15ca5c0dd00d2c8135f7e1294217c8aec313650b7b7aae6433b87bdc32306c2c4c6e6747e55a13adbbe0 diff --git a/app-portage/iwdevtools/iwdevtools-0.10.1.ebuild b/app-portage/iwdevtools/iwdevtools-0.10.1.ebuild new file mode 100644 index 000000000000..037698e7008f --- /dev/null +++ b/app-portage/iwdevtools/iwdevtools-0.10.1.ebuild @@ -0,0 +1,62 @@ +# 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 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + app-misc/pax-utils + app-portage/portage-utils + 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 +}