commit:     e40f7b5020efef05abc724d7e91107f599a79361
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 27 09:18:28 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Aug 27 09:19:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e40f7b50

app-portage/iwdevtools: add 0.4.0

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 app-portage/iwdevtools/Manifest                |  1 +
 app-portage/iwdevtools/iwdevtools-0.4.0.ebuild | 43 ++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/app-portage/iwdevtools/Manifest b/app-portage/iwdevtools/Manifest
index e3214abec85..907bc4cc53c 100644
--- a/app-portage/iwdevtools/Manifest
+++ b/app-portage/iwdevtools/Manifest
@@ -1,2 +1,3 @@
 DIST iwdevtools-0.3.1.tar.gz 25597 BLAKE2B 
1129ff57f95c27156023752a85b9cb25f66c75d2548a2d7be284b5de9b2b1dee7ed56fa806d175c7751f29a05529f659de7524f967484deacf9138e83899dd9a
 SHA512 
4504d8fb1ff18497fc747482ab1c707b6c581f6b4ac74a494459e4e5e45867e2ee8e39e60b020225509a6c5654e40b31f17d9de0300a2ef76e9d5df248c01847
 DIST iwdevtools-0.3.2.tar.gz 31510 BLAKE2B 
451327cf7b3ed08a9ad0665bd9e3e60beaadc7690f9c0619a02aea1da981102107340b16dfbf95dbfc23797fe5704c1db0f028590714f14848e68ef07897f0f7
 SHA512 
95deb7d09041f693332ec06897afec7677dddb3d05c2df6d9494a14a484e9a53b51cc2e550a15a039219cdcc238154f1c9a16528d28100659ab87a200a8be344
+DIST iwdevtools-0.4.0.tar.gz 31939 BLAKE2B 
bdab037a2b27bf0c67bb453427ad7f8d7485db3f45f3c465e3b2790e8e259b1328b75eff7d86012df06a44f4101e8bc0e83c9e7a8886adc25d589ecca1a25892
 SHA512 
a8be15568f24d2f54178f9a92cbc4107f7fdb06da8b2a769ad19ca5b55e90896c4b2253569d7d39158765081d9f9267ff568a066edef8401ec52c29451655ee1

diff --git a/app-portage/iwdevtools/iwdevtools-0.4.0.ebuild 
b/app-portage/iwdevtools/iwdevtools-0.4.0.ebuild
new file mode 100644
index 00000000000..c8f5f248d61
--- /dev/null
+++ b/app-portage/iwdevtools/iwdevtools-0.4.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2021 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 ~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"
+BDEPEND="test? ( ${RDEPEND} )"
+
+src_configure() {
+       meson_src_configure -Ddocdir=${PF}
+}
+
+pkg_postinst() {
+       optfeature "detecting potential ABI issues using abidiff" 
dev-util/libabigail
+
+       if [[ ! ${REPLACING_VERSIONS} ]]; then
+               elog "To (optionally) integrate with portage, inspect the 
.bashrc files installed"
+               elog "at ${EROOT}/usr/share/${PN}. If not already using a 
bashrc, you can use"
+               elog "the example bashrc directly by creating a symlink:"
+               elog
+               elog "    ln -s ../../../usr/share/${PN}/bashrc 
${EROOT}/etc/portage/bashrc"
+               elog
+               elog "See ${EROOT}/usr/share/doc/${PF}/README.rst* for info on 
tools."
+       fi
+}

Reply via email to