From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9552E15838C for ; Fri, 26 Jan 2024 10:35:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F08B8E29FC; Fri, 26 Jan 2024 10:35:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C3CCAE29FA for ; Fri, 26 Jan 2024 10:35:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 79B953433CF for ; Fri, 26 Jan 2024 10:35:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CBF8B14BE for ; Fri, 26 Jan 2024 10:35:17 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1706200500.d6fc1f78bc5b63a32e1eef35391d27a1823cbcda.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-embedded/rauc/files/, dev-embedded/rauc/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-embedded/rauc/Manifest dev-embedded/rauc/files/rauc-1.11.1-tests.patch dev-embedded/rauc/rauc-1.11.1.ebuild X-VCS-Directories: dev-embedded/rauc/files/ dev-embedded/rauc/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: d6fc1f78bc5b63a32e1eef35391d27a1823cbcda X-VCS-Branch: master Date: Fri, 26 Jan 2024 10:35:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5ac74b2c-3d05-4874-9b3b-3456b7aab03f X-Archives-Hash: 5e5be9cf96a9b484b54a9e071ba9c5cf commit: d6fc1f78bc5b63a32e1eef35391d27a1823cbcda Author: Kurt Kanzenbach kmk-computers de> AuthorDate: Wed Jan 24 20:22:23 2024 +0000 Commit: David Roman gmail com> CommitDate: Thu Jan 25 16:35:00 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d6fc1f78 dev-embedded/rauc: add 1.11.1 Signed-off-by: Kurt Kanzenbach kmk-computers.de> dev-embedded/rauc/Manifest | 1 + dev-embedded/rauc/files/rauc-1.11.1-tests.patch | 43 ++++++++++++++++ dev-embedded/rauc/rauc-1.11.1.ebuild | 67 +++++++++++++++++++++++++ 3 files changed, 111 insertions(+) diff --git a/dev-embedded/rauc/Manifest b/dev-embedded/rauc/Manifest index 71ea35cd2e..8322da82bd 100644 --- a/dev-embedded/rauc/Manifest +++ b/dev-embedded/rauc/Manifest @@ -1 +1,2 @@ DIST rauc-1.10.1.tar.xz 912140 BLAKE2B 3cdaa88886e0d4f97623939af06a0a90de1a166535ff1cdaf523938a1778bfdd24049387886732d1a13c0d94a43d66f73d9328cc005beb3a73f33b3afda49b22 SHA512 794a1a517c9a9eacf7466710054f88fc48bf57e34cb460f202f62ca976777054c0faf74dd045164ea29977aa8f5d9d268f5154621b51642898ffafc831c75bbb +DIST rauc-1.11.1.tar.xz 927392 BLAKE2B ba1aa015be1b28f50014ccd43154b296170faa680f97e27e14a98d6af58f0b0151cef33f4fb4f13bfd304a278edbcd7d9cc9134612ae7a14de04c3a169ab9e00 SHA512 09f6e7218f884404b56d9d69a028e6098ab2c3d44033d107dcfeffa3ed26ccbd7fff0c27ba1b7c9a74c635b7483f2db1253da148a695bd7db75a2a674438e0f3 diff --git a/dev-embedded/rauc/files/rauc-1.11.1-tests.patch b/dev-embedded/rauc/files/rauc-1.11.1-tests.patch new file mode 100644 index 0000000000..b2faf59ca3 --- /dev/null +++ b/dev-embedded/rauc/files/rauc-1.11.1-tests.patch @@ -0,0 +1,43 @@ +From cfeab43e8c1ebbe952bca9b71fb8400a9947d229 Mon Sep 17 00:00:00 2001 +From: Kurt Kanzenbach +Date: Sat, 15 Aug 2020 08:45:21 +0200 +Subject: [PATCH] tests: Disable failed tests + +The network and squashfs tests won't work within portage. Disable them. + +Signed-off-by: Kurt Kanzenbach +--- + test/meson.build | 18 ------------------ + 1 file changed, 18 deletions(-) + +--- a/test/meson.build ++++ b/test/meson.build +@@ -24,10 +24,6 @@ tests = [ + 'stats', + ] + +-if get_option('network') +- tests += 'network' +-endif +- + if get_option('streaming') + tests += 'nbd' + endif +@@ -63,17 +59,3 @@ fakerand = executable( + 'fakerand', + 'fakerand.c', + ) +- +-rauc_t = find_program( +- 'rauc.t' +-) +- +-test( +- 'rauc.t', +- rauc_t, +- args : '-v', +- is_parallel : false, +- timeout : 360, +- env : ['SHARNESS_BUILD_DIRECTORY=' + meson.build_root()], +- workdir : meson.current_source_dir(), +-) diff --git a/dev-embedded/rauc/rauc-1.11.1.ebuild b/dev-embedded/rauc/rauc-1.11.1.ebuild new file mode 100644 index 0000000000..9c6745225b --- /dev/null +++ b/dev-embedded/rauc/rauc-1.11.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DOCS_BUILDER="sphinx" +DOCS_DIR="${S}/docs" + +inherit meson python-any-r1 docs + +DESCRIPTION="Lightweight update client that runs on your Embedded Linux device" +HOMEPAGE="https://rauc.io/" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz" + +SLOT="0" +LICENSE="LGPL-2.1" +KEYWORDS="~amd64" +IUSE="gpt json network service test" + +RESTRICT="!test? ( test )" + +BDEPEND=" + ${PYTHON_DEPS} + dev-util/gdbus-codegen + virtual/pkgconfig + doc? ( + $(python_gen_any_dep ' + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + ') + ) + test? ( + dev-libs/opensc + net-misc/casync + sys-fs/mtd-utils + sys-fs/squashfs-tools + sys-libs/libfaketime + ) +" +RDEPEND=" + dev-libs/glib:2 + dev-libs/openssl:0= + json? ( dev-libs/json-glib ) + network? ( net-misc/curl ) + service? ( sys-apps/dbus ) +" +DEPEND=" + ${RDEPEND} +" + +PATCHES=( "${FILESDIR}/${P}-tests.patch" ) + +src_configure() { + local emesonargs=( + $(meson_feature gpt) + $(meson_feature json) + $(meson_use network) + $(meson_use service) + ) + meson_src_configure +} + +src_compile() { + meson_src_compile + docs_compile +}