1 |
commit: 5f4d089302d53650d9d03baebc32fe9e192efb9a |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 1 21:01:47 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 1 21:05:05 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f4d0893 |
7 |
|
8 |
app-portage/iwdevtools: add 0.5.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.5.0.ebuild | 50 ++++++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/app-portage/iwdevtools/Manifest b/app-portage/iwdevtools/Manifest |
17 |
index 03d88c5ae6f..c9617d7c6af 100644 |
18 |
--- a/app-portage/iwdevtools/Manifest |
19 |
+++ b/app-portage/iwdevtools/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST iwdevtools-0.3.1.tar.gz 25597 BLAKE2B 1129ff57f95c27156023752a85b9cb25f66c75d2548a2d7be284b5de9b2b1dee7ed56fa806d175c7751f29a05529f659de7524f967484deacf9138e83899dd9a SHA512 4504d8fb1ff18497fc747482ab1c707b6c581f6b4ac74a494459e4e5e45867e2ee8e39e60b020225509a6c5654e40b31f17d9de0300a2ef76e9d5df248c01847 |
22 |
DIST iwdevtools-0.4.0.tar.gz 31939 BLAKE2B bdab037a2b27bf0c67bb453427ad7f8d7485db3f45f3c465e3b2790e8e259b1328b75eff7d86012df06a44f4101e8bc0e83c9e7a8886adc25d589ecca1a25892 SHA512 a8be15568f24d2f54178f9a92cbc4107f7fdb06da8b2a769ad19ca5b55e90896c4b2253569d7d39158765081d9f9267ff568a066edef8401ec52c29451655ee1 |
23 |
+DIST iwdevtools-0.5.0.tar.gz 40957 BLAKE2B def2531a5a4e771e3f6ce73afbfa679290537b77d76ad3a5b8db5286e690233dd069e6f4ce286ed8ec278f3af3efb8ebfb91a6cae80de827eb63591281ce1d29 SHA512 801496c92f1d8b5c259adb635b4a6d6e3e94d6a2d5f9840508a5efb9babef8f36b74811afce0548d21f732d0a702439fcd289ef8ba59f4ebc5a2454d4e92f03b |
24 |
|
25 |
diff --git a/app-portage/iwdevtools/iwdevtools-0.5.0.ebuild b/app-portage/iwdevtools/iwdevtools-0.5.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..e83725ab97f |
28 |
--- /dev/null |
29 |
+++ b/app-portage/iwdevtools/iwdevtools-0.5.0.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 |
+} |