summaryrefslogtreecommitdiff
path: root/app-portage/iwdevtools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
commit2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch)
treec8af0fd04194aed03cf067d44e53c7edd3e9ab84 /app-portage/iwdevtools
parente9d044d4b9b71200a96adfa280848858c0f468c9 (diff)
gentoo resync : 05.12.2021
Diffstat (limited to 'app-portage/iwdevtools')
-rw-r--r--app-portage/iwdevtools/Manifest6
-rw-r--r--app-portage/iwdevtools/iwdevtools-0.8.0.ebuild2
-rw-r--r--app-portage/iwdevtools/iwdevtools-0.8.1.ebuild65
-rw-r--r--app-portage/iwdevtools/iwdevtools-9999.ebuild3
4 files changed, 72 insertions, 4 deletions
diff --git a/app-portage/iwdevtools/Manifest b/app-portage/iwdevtools/Manifest
index ba05c8151970..3b8cb52764ff 100644
--- a/app-portage/iwdevtools/Manifest
+++ b/app-portage/iwdevtools/Manifest
@@ -1,4 +1,6 @@
DIST iwdevtools-0.8.0.tar.gz 57529 BLAKE2B b8068c7781b8b164b9b5d191f8a33a4a89854edb7c78c56d4f1312dd0d051d0b033f21611066303acb7efdf8403d6869458db98e7b1b2a293c779cca2bdcdd36 SHA512 df39fa02d7f4f72334286305bfa9c2db6d5db90bddc47194e3383a99492366796c7ae2e751bcf8af01d14cfa0bac88ea8d9c8678b7891f85aaa1b20e4a9e91cb
-EBUILD iwdevtools-0.8.0.ebuild 1879 BLAKE2B b2c2bf0f0cc6d1421f4660a9ecb121d2028d247716d988bd00d3e778a771ed3c0669325798ad25eaef444c4e5663f328b151aea3586ef5fc824a36d46d088b27 SHA512 a69df9aac24292a13bdef36be7416ab529d6fbf5a933cfa7568d01bff3aa57a02ec97dc37e4fffee0b3d42935834f30c5afdc93186df3e0f7b4eb5ea3b7d6d99
-EBUILD iwdevtools-9999.ebuild 1826 BLAKE2B d52e86df1f1b6f82c0e9d1de02e007715cb6c39e2b076d22d5316623261637e57a7aef582b55e56472afdaf1bfe48aae57ac9630416285bca0987ac4bf809db6 SHA512 5b32c64fe82629d8dd1ac504f377328ededb5e0c661b3fa3f3fa61bfb356c5b51e64ee3229152d52b27a08cbce51741c7cc30b7b37fd999ed7bf52d465ef9d1a
+DIST iwdevtools-0.8.1.tar.gz 58058 BLAKE2B b9f17f68bb073ecf2d8a94fc8b97d95f7188e7526dd6a32cf33aa3b01fe82bf25c696cc2be9cbdc0aaa3a8279532e506ab287d3e25da5d5fb55789064d47aec6 SHA512 cb365e7010d620f2a255db0244ee1a38fd5714a17093b2e2a71627155764165853f99a4477b281b92061f7fe184297a222a8c79c2c62beb8e0656761feee859b
+EBUILD iwdevtools-0.8.0.ebuild 1886 BLAKE2B 58b7db6dce9bdd9ea1cce3c5ee3889aa1fa3107b57908d2b6d01776ef6037ff45a57568b4174f2cf97c40e010338543c8f1b9d6cbb88f713374b502bbe7ce11b SHA512 4432156adc76ea8a8b2db83548e5ad3c676f63aaecc29c045e8e074dae7bb57dbc1264717ec1c164b8f27a7a40bcf44eb955200915386c7d67ec31ebed24651a
+EBUILD iwdevtools-0.8.1.ebuild 1919 BLAKE2B ae899a1f817add16cfa17e4ab3d8cabf0400caea0b3df5a40fae03908b3bb7dd4f801c6e3ff761d4befb17d11ad096284fc34b3d6efb5be405595d589b83b2b1 SHA512 0fa9c0a926aa54eb66814bb1bcc00209766606710691ed73d345c4fa7574ba4b46984caf99baee7e1e6e9b8c44a73f9748fd14b717b0236093d9f516a523ce86
+EBUILD iwdevtools-9999.ebuild 1859 BLAKE2B 040a0a3481f04bc8c414000b6e6f3afc80fdeb0807f0c92300c86659f58b91bb23de6ec8596f8c5170f2bbeb7a1ca165542c75be91f89688eda87c4e151c05f5 SHA512 2aa5fb6f48366ec6ecc219c6efe0ec8808b91db83d235c22cd3f37729629ea75f35aef138cff73210797d145a65c2d044e695882534835990aa9c0943436d937
MISC metadata.xml 354 BLAKE2B 752c8fbf18967fb380f0f5d460396222f5fea3f0c7b9ed960ff0dbe62a9a505a2d07c45750aaa55285d11169e01f5e83b82eb278b12fbc5e9c43353c0a5fc9ed SHA512 d8e5866d89b7f05a5a8cd8cc464083d3d096b4c03f8a83e9314dcf45e57c25369bf8a3bc725aed3b8db9f3f86e76bad358bfa58f1eca70f7ec0bf3d31286c2c3
diff --git a/app-portage/iwdevtools/iwdevtools-0.8.0.ebuild b/app-portage/iwdevtools/iwdevtools-0.8.0.ebuild
index c1c495dcafbf..5d03e033a003 100644
--- a/app-portage/iwdevtools/iwdevtools-0.8.0.ebuild
+++ b/app-portage/iwdevtools/iwdevtools-0.8.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/ionenwks/iwdevtools/archive/refs/tags/v${PV}.tar.gz
LICENSE="BSD-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
diff --git a/app-portage/iwdevtools/iwdevtools-0.8.1.ebuild b/app-portage/iwdevtools/iwdevtools-0.8.1.ebuild
new file mode 100644
index 000000000000..5add38623491
--- /dev/null
+++ b/app-portage/iwdevtools/iwdevtools-0.8.1.ebuild
@@ -0,0 +1,65 @@
+# 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 ~arm ~arm64 ~riscv ~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}"
+ -Dshellcheck=false
+ $(meson_use test)
+ )
+
+ meson_src_configure
+}
+
+pkg_postinst() {
+ optfeature "detecting potential ABI issues using abidiff" dev-util/libabigail
+
+ if [[ ! ${REPLACING_VERSIONS} ]]; then
+ elog "Optional portage integration relies on using /etc/portage/bashrc."
+ elog "The example bashrc can be used as-is if not already using one:"
+ elog
+ elog " ln -s ../../usr/share/${PN}/bashrc ${EROOT}/etc/portage/bashrc"
+ elog
+ elog "Otherwise, inspect the tools' --help output and the example to integrate"
+ elog "(if not defining the same phase functions, the example can be sourced)."
+ elog
+ elog "Note that \`eqawarn\` is used for portage output by default. QA messages"
+ elog "aren't logged / shown post-emerge unless e.g. in /etc/portage/make.conf:"
+ elog
+ elog ' PORTAGE_ELOG_CLASSES="${PORTAGE_ELOG_CLASSES} qa"'
+ elog
+ elog "See ${EROOT}/usr/share/doc/${PF}/README.rst* for information on tools."
+ fi
+
+ if [[ ${REPLACING_VERSIONS} ]] &&
+ ver_test ${REPLACING_VERSIONS} -le 0.7.0; then
+ elog "qa-* bashrcs now use \`eqawarn\` for portage output. If no longer"
+ elog "seeing messages post-emerge, ensure 'qa' is in PORTAGE_ELOG_CLASSES."
+ fi
+}
diff --git a/app-portage/iwdevtools/iwdevtools-9999.ebuild b/app-portage/iwdevtools/iwdevtools-9999.ebuild
index 282831c8b50a..e646ee963668 100644
--- a/app-portage/iwdevtools/iwdevtools-9999.ebuild
+++ b/app-portage/iwdevtools/iwdevtools-9999.ebuild
@@ -57,7 +57,8 @@ pkg_postinst() {
elog "See ${EROOT}/usr/share/doc/${PF}/README.rst* for information on tools."
fi
- if ver_test ${REPLACING_VERSIONS} -le 0.7.0; then
+ if [[ ${REPLACING_VERSIONS} ]] &&
+ ver_test ${REPLACING_VERSIONS} -le 0.7.0; then
elog "qa-* bashrcs now use \`eqawarn\` for portage output. If no longer"
elog "seeing messages post-emerge, ensure 'qa' is in PORTAGE_ELOG_CLASSES."
fi