summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-09-01 22:03:41 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-09-01 22:04:36 -0400
commitf6427df293847b1affce1af3a63ea366bb3fe5c0 (patch)
tree2fe0c6a74a5acabc16310a63d13d90c25e14e698 /app-portage/iwdevtools
parentsys-cluster/ceph-15.2.14: Version bump (diff)
downloadgentoo-f6427df293847b1affce1af3a63ea366bb3fe5c0.tar.gz
gentoo-f6427df293847b1affce1af3a63ea366bb3fe5c0.tar.bz2
gentoo-f6427df293847b1affce1af3a63ea366bb3fe5c0.zip
app-portage/iwdevtools: add 0.5.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-portage/iwdevtools')
-rw-r--r--app-portage/iwdevtools/Manifest1
-rw-r--r--app-portage/iwdevtools/iwdevtools-0.5.1.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/app-portage/iwdevtools/Manifest b/app-portage/iwdevtools/Manifest
index 2c74eee3f137..c84ed7bb4782 100644
--- a/app-portage/iwdevtools/Manifest
+++ b/app-portage/iwdevtools/Manifest
@@ -1,2 +1,3 @@
DIST iwdevtools-0.4.0.tar.gz 31939 BLAKE2B bdab037a2b27bf0c67bb453427ad7f8d7485db3f45f3c465e3b2790e8e259b1328b75eff7d86012df06a44f4101e8bc0e83c9e7a8886adc25d589ecca1a25892 SHA512 a8be15568f24d2f54178f9a92cbc4107f7fdb06da8b2a769ad19ca5b55e90896c4b2253569d7d39158765081d9f9267ff568a066edef8401ec52c29451655ee1
DIST iwdevtools-0.5.0.tar.gz 40957 BLAKE2B def2531a5a4e771e3f6ce73afbfa679290537b77d76ad3a5b8db5286e690233dd069e6f4ce286ed8ec278f3af3efb8ebfb91a6cae80de827eb63591281ce1d29 SHA512 801496c92f1d8b5c259adb635b4a6d6e3e94d6a2d5f9840508a5efb9babef8f36b74811afce0548d21f732d0a702439fcd289ef8ba59f4ebc5a2454d4e92f03b
+DIST iwdevtools-0.5.1.tar.gz 41587 BLAKE2B 30423085f5240ec05b943085e0f20cf96f00e2b98058c509c5c9c3a0d17dd2fc65916f29eded9038bcb7b7deb57d3a3e551f63a31b7dcc00100b973aaabd33af SHA512 65a677a4e5202cbb7f412168f172475736c487a5f3b72f03e7c4809b275e9c437f941b85009cfcee76602a0414c5c5e872fd346d4275b3e591daa0b6e87745c1
diff --git a/app-portage/iwdevtools/iwdevtools-0.5.1.ebuild b/app-portage/iwdevtools/iwdevtools-0.5.1.ebuild
new file mode 100644
index 000000000000..e83725ab97f0
--- /dev/null
+++ b/app-portage/iwdevtools/iwdevtools-0.5.1.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
+}