Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/iwdevtools/
Date: Mon, 23 Aug 2021 03:55:57
Message-Id: 1629690920.481976f3c546763743c7a3abdfc7eb141af9d2ae.ionen@gentoo
1 commit: 481976f3c546763743c7a3abdfc7eb141af9d2ae
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 23 00:36:58 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 23 03:55:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=481976f3
7
8 app-portage/iwdevtools: add 0.2.0
9
10 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
11
12 app-portage/iwdevtools/Manifest | 1 +
13 app-portage/iwdevtools/iwdevtools-0.2.0.ebuild | 40 ++++++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/app-portage/iwdevtools/Manifest b/app-portage/iwdevtools/Manifest
17 index 026eabe4aed..7c269a9af5a 100644
18 --- a/app-portage/iwdevtools/Manifest
19 +++ b/app-portage/iwdevtools/Manifest
20 @@ -1 +1,2 @@
21 DIST iwdevtools-0.1.1.tar.gz 16139 BLAKE2B effceb407319d2f8acf44db5642a55c426c73628bef9c2004dd76118dc042cbc1178975e06b14d6950cef417790693af9a98dc77e4873f0175a408ca14f71384 SHA512 b0d3a1145c3ecfc71e7f8b0d8d8e321840869037841e1faa547ad4a385751b4fb13de31b3ed497eeacbdf227a81c4f28ff6fd229b008105489ada7c1a15b88e4
22 +DIST iwdevtools-0.2.0.tar.gz 23498 BLAKE2B 50c946bb69ae720b27836aebb825d6b1e9545e80dda6d0c939c4be7be30f0f4017c309b2794805fc030e074cc2629bbc328545024d5f89860d05693731ab0b55 SHA512 c31d8646477f1cb8ab784441e2f16155248fc337d2138ce6780810dc7e81cdd6792d610db26e8f7759f89f50732c784bf4938c4a861420412f0056fd9b391a08
23
24 diff --git a/app-portage/iwdevtools/iwdevtools-0.2.0.ebuild b/app-portage/iwdevtools/iwdevtools-0.2.0.ebuild
25 new file mode 100644
26 index 00000000000..7637b843925
27 --- /dev/null
28 +++ b/app-portage/iwdevtools/iwdevtools-0.2.0.ebuild
29 @@ -0,0 +1,40 @@
30 +# Copyright 2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +inherit meson optfeature
36 +
37 +DESCRIPTION="Small tools to aid with Gentoo development, primarily intended for QA"
38 +HOMEPAGE="https://github.com/ionenwks/iwdevtools"
39 +SRC_URI="https://github.com/ionenwks/iwdevtools/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
40 +
41 +LICENSE="BSD-2"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~x86"
44 +
45 +RDEPEND="
46 + app-misc/pax-utils
47 + app-portage/portage-utils
48 + sys-apps/diffutils
49 + sys-apps/file
50 + sys-apps/portage
51 + sys-apps/util-linux"
52 +
53 +src_configure() {
54 + meson_src_configure -Ddocdir=${PF}
55 +}
56 +
57 +pkg_postinst() {
58 + optfeature "detecting potential ABI issues using abidiff" dev-util/libabigail
59 +
60 + if [[ ! ${REPLACING_VERSIONS} ]]; then
61 + elog "To (optionally) integrate with portage, inspect the .bashrc files installed"
62 + elog "at ${EROOT}/usr/share/${PN}. If not already using a bashrc, you can use"
63 + elog "the example bashrc directly by creating a symlink:"
64 + elog
65 + elog " ln -s ../../../usr/share/${PN}/bashrc ${EROOT}/etc/portage/bashrc"
66 + elog
67 + elog "See ${EROOT}/usr/share/doc/${PF}/README.rst* for info on tools."
68 + fi
69 +}