1 |
commit: f6427df293847b1affce1af3a63ea366bb3fe5c0 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 2 02:03:41 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 2 02:04:36 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6427df2 |
7 |
|
8 |
app-portage/iwdevtools: add 0.5.1 |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
11 |
|
12 |
app-portage/iwdevtools/Manifest | 1 + |
13 |
app-portage/iwdevtools/iwdevtools-0.5.1.ebuild | 50 ++++++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/app-portage/iwdevtools/Manifest b/app-portage/iwdevtools/Manifest |
17 |
index 2c74eee3f13..c84ed7bb478 100644 |
18 |
--- a/app-portage/iwdevtools/Manifest |
19 |
+++ b/app-portage/iwdevtools/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST iwdevtools-0.4.0.tar.gz 31939 BLAKE2B bdab037a2b27bf0c67bb453427ad7f8d7485db3f45f3c465e3b2790e8e259b1328b75eff7d86012df06a44f4101e8bc0e83c9e7a8886adc25d589ecca1a25892 SHA512 a8be15568f24d2f54178f9a92cbc4107f7fdb06da8b2a769ad19ca5b55e90896c4b2253569d7d39158765081d9f9267ff568a066edef8401ec52c29451655ee1 |
22 |
DIST iwdevtools-0.5.0.tar.gz 40957 BLAKE2B def2531a5a4e771e3f6ce73afbfa679290537b77d76ad3a5b8db5286e690233dd069e6f4ce286ed8ec278f3af3efb8ebfb91a6cae80de827eb63591281ce1d29 SHA512 801496c92f1d8b5c259adb635b4a6d6e3e94d6a2d5f9840508a5efb9babef8f36b74811afce0548d21f732d0a702439fcd289ef8ba59f4ebc5a2454d4e92f03b |
23 |
+DIST iwdevtools-0.5.1.tar.gz 41587 BLAKE2B 30423085f5240ec05b943085e0f20cf96f00e2b98058c509c5c9c3a0d17dd2fc65916f29eded9038bcb7b7deb57d3a3e551f63a31b7dcc00100b973aaabd33af SHA512 65a677a4e5202cbb7f412168f172475736c487a5f3b72f03e7c4809b275e9c437f941b85009cfcee76602a0414c5c5e872fd346d4275b3e591daa0b6e87745c1 |
24 |
|
25 |
diff --git a/app-portage/iwdevtools/iwdevtools-0.5.1.ebuild b/app-portage/iwdevtools/iwdevtools-0.5.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..e83725ab97f |
28 |
--- /dev/null |
29 |
+++ b/app-portage/iwdevtools/iwdevtools-0.5.1.ebuild |
30 |
@@ -0,0 +1,50 @@ |
31 |
+# Copyright 2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit meson optfeature |
37 |
+ |
38 |
+DESCRIPTION="Small tools to aid with Gentoo development, primarily intended for QA" |
39 |
+HOMEPAGE="https://github.com/ionenwks/iwdevtools" |
40 |
+SRC_URI="https://github.com/ionenwks/iwdevtools/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="BSD-2" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~x86" |
45 |
+IUSE="test" |
46 |
+RESTRICT="!test? ( test )" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ app-misc/pax-utils |
50 |
+ app-portage/portage-utils |
51 |
+ sys-apps/diffutils |
52 |
+ sys-apps/file |
53 |
+ sys-apps/portage |
54 |
+ sys-apps/util-linux" |
55 |
+BDEPEND=" |
56 |
+ sys-apps/help2man |
57 |
+ test? ( ${RDEPEND} )" |
58 |
+ |
59 |
+src_configure() { |
60 |
+ local emesonargs=( |
61 |
+ -Ddocdir=${PF} |
62 |
+ -Deprefix="${EPREFIX}" |
63 |
+ $(meson_use test) |
64 |
+ ) |
65 |
+ meson_src_configure |
66 |
+} |
67 |
+ |
68 |
+pkg_postinst() { |
69 |
+ optfeature "detecting potential ABI issues using abidiff" dev-util/libabigail |
70 |
+ |
71 |
+ if [[ ! ${REPLACING_VERSIONS} ]]; then |
72 |
+ elog "To (optionally) integrate with portage, inspect the .bashrc files installed" |
73 |
+ elog "at ${EROOT}/usr/share/${PN}. If not already using a bashrc, you can use" |
74 |
+ elog "the example bashrc directly by creating a symlink:" |
75 |
+ elog |
76 |
+ elog " ln -s ../../usr/share/${PN}/bashrc ${EROOT}/etc/portage/bashrc" |
77 |
+ elog |
78 |
+ elog "See ${EROOT}/usr/share/doc/${PF}/README.rst* for info on tools." |
79 |
+ fi |
80 |
+} |