commit:     43caf5a913cb1cb25bf07895808fd06dc2fb0fc6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 22 10:03:18 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 22 10:10:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43caf5a9

sys-apps/dtc: add 1.7.1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/dtc/Manifest                              |  1 +
 sys-apps/dtc/{dtc-9999.ebuild => dtc-1.7.1.ebuild} | 13 ++++---------
 sys-apps/dtc/dtc-9999.ebuild                       | 13 ++++---------
 3 files changed, 9 insertions(+), 18 deletions(-)

diff --git a/sys-apps/dtc/Manifest b/sys-apps/dtc/Manifest
index 48789513fcd2..3bca2a9fbccc 100644
--- a/sys-apps/dtc/Manifest
+++ b/sys-apps/dtc/Manifest
@@ -1,2 +1,3 @@
 DIST dtc-1.6.0.tar.xz 158584 BLAKE2B 
47b15b5df7f5d87369d6daaad87f2989a80865f2fab19f89d050d390a9f8319bcd86a36e12f7cc8d62947bb4d1335769071d0e3ea0a6e16861aea163e78f4696
 SHA512 
15433b24f1d6b7ed1f8066d050bd1bcbf988731aa38147564e3dd04b5f69af8d69e03befdc621a768526c620425a9bdd24aad4f9ff135930d6a1eeb0625f7de3
 DIST dtc-1.7.0.tar.xz 165548 BLAKE2B 
de433a1034b7ef75559bf39f85695d0b275cfd17bf100c12b6186e226a65659053f9b5a053f20e64a5a0670ea3e728edd0e624c26287bd264594569408065bab
 SHA512 
d3ba6902a9a2f2cdbaff55f12fca3cfe4a1ec5779074a38e3d8b88097c7abc981835957e8ce72971e10c131e05fde0b1b961768e888ff96d89e42c75edb53afb
+DIST dtc-1.7.1.tar.xz 169524 BLAKE2B 
c9d9d7c60ce13c8e138ab8ddf3e8166d7cf3867ca4e5ea53621bf73514319faf6a6bac09fb96c971554db9f77dd3428e01d53990586041092a64849685d8854b
 SHA512 
3195924b374680e367d7be6b9793691efc0441858068c8bc8d8a908db00bbae781a99184b5c5e272af39045ec58cb0f92adbdd00ff808480b635bd632aa74719

diff --git a/sys-apps/dtc/dtc-9999.ebuild b/sys-apps/dtc/dtc-1.7.1.ebuild
similarity index 91%
copy from sys-apps/dtc/dtc-9999.ebuild
copy to sys-apps/dtc/dtc-1.7.1.ebuild
index c58d58fb7840..6da2ddea52c2 100644
--- a/sys-apps/dtc/dtc-9999.ebuild
+++ b/sys-apps/dtc/dtc-1.7.1.ebuild
@@ -33,7 +33,9 @@ RDEPEND="
        python? ( ${PYTHON_DEPS} )
        yaml? ( >=dev-libs/libyaml-0.2.3 )
 "
-DEPEND="${RDEPEND}"
+DEPEND="
+       ${RDEPEND}
+"
 
 DOCS=(
        Documentation/dt-object-internal.txt
@@ -48,19 +50,12 @@ pkg_setup() {
        fi
 }
 
-src_prepare() {
-       default
-
-       if ! use test ; then
-               sed -i -e "/subdir('tests')/d" meson.build || die
-       fi
-}
-
 src_configure() {
        local emesonargs=(
                -Dtools=true
                -Dvalgrind=disabled # only used for some tests
                $(meson_feature python)
+               $(meson_use test tests)
                $(meson_feature yaml)
        )
 

diff --git a/sys-apps/dtc/dtc-9999.ebuild b/sys-apps/dtc/dtc-9999.ebuild
index c58d58fb7840..6da2ddea52c2 100644
--- a/sys-apps/dtc/dtc-9999.ebuild
+++ b/sys-apps/dtc/dtc-9999.ebuild
@@ -33,7 +33,9 @@ RDEPEND="
        python? ( ${PYTHON_DEPS} )
        yaml? ( >=dev-libs/libyaml-0.2.3 )
 "
-DEPEND="${RDEPEND}"
+DEPEND="
+       ${RDEPEND}
+"
 
 DOCS=(
        Documentation/dt-object-internal.txt
@@ -48,19 +50,12 @@ pkg_setup() {
        fi
 }
 
-src_prepare() {
-       default
-
-       if ! use test ; then
-               sed -i -e "/subdir('tests')/d" meson.build || die
-       fi
-}
-
 src_configure() {
        local emesonargs=(
                -Dtools=true
                -Dvalgrind=disabled # only used for some tests
                $(meson_feature python)
+               $(meson_use test tests)
                $(meson_feature yaml)
        )
 

Reply via email to