summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-09-01 17:01:47 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-09-01 17:05:05 -0400
commit5f4d089302d53650d9d03baebc32fe9e192efb9a (patch)
tree0c4dfc8d454c9f327bedf7924b688249eef5a384
parentunpacker.eclass: enable EAPI 8 (diff)
downloadgentoo-5f4d089302d53650d9d03baebc32fe9e192efb9a.tar.gz
gentoo-5f4d089302d53650d9d03baebc32fe9e192efb9a.tar.bz2
gentoo-5f4d089302d53650d9d03baebc32fe9e192efb9a.zip
app-portage/iwdevtools: add 0.5.0
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r--app-portage/iwdevtools/Manifest1
-rw-r--r--app-portage/iwdevtools/iwdevtools-0.5.0.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/app-portage/iwdevtools/Manifest b/app-portage/iwdevtools/Manifest
index 03d88c5ae6f0..c9617d7c6afd 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.4.0.tar.gz 31939 BLAKE2B bdab037a2b27bf0c67bb453427ad7f8d7485db3f45f3c465e3b2790e8e259b1328b75eff7d86012df06a44f4101e8bc0e83c9e7a8886adc25d589ecca1a25892 SHA512 a8be15568f24d2f54178f9a92cbc4107f7fdb06da8b2a769ad19ca5b55e90896c4b2253569d7d39158765081d9f9267ff568a066edef8401ec52c29451655ee1
+DIST iwdevtools-0.5.0.tar.gz 40957 BLAKE2B def2531a5a4e771e3f6ce73afbfa679290537b77d76ad3a5b8db5286e690233dd069e6f4ce286ed8ec278f3af3efb8ebfb91a6cae80de827eb63591281ce1d29 SHA512 801496c92f1d8b5c259adb635b4a6d6e3e94d6a2d5f9840508a5efb9babef8f36b74811afce0548d21f732d0a702439fcd289ef8ba59f4ebc5a2454d4e92f03b
diff --git a/app-portage/iwdevtools/iwdevtools-0.5.0.ebuild b/app-portage/iwdevtools/iwdevtools-0.5.0.ebuild
new file mode 100644
index 000000000000..e83725ab97f0
--- /dev/null
+++ b/app-portage/iwdevtools/iwdevtools-0.5.0.ebuild
@@ -0,0 +1,50 @@
+# 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="
+ sys-apps/help2man
+ test? ( ${RDEPEND} )"
+
+src_configure() {
+ local emesonargs=(
+ -Ddocdir=${PF}
+ -Deprefix="${EPREFIX}"
+ $(meson_use test)
+ )
+ meson_src_configure
+}
+
+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
+}