public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-embedded/rauc/, dev-embedded/rauc/files/
Date: Thu, 06 Feb 2025 09:25:33 +0000 (UTC)	[thread overview]
Message-ID: <1738693311.1eb8cdf26063bf50524037038de87206b9c7e942.davidroman@gentoo> (raw)

commit:     1eb8cdf26063bf50524037038de87206b9c7e942
Author:     Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de>
AuthorDate: Sun Feb  2 17:42:48 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Feb  4 18:21:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1eb8cdf2

dev-embedded/rauc: add 1.13

Signed-off-by: Kurt Kanzenbach <kurt <AT> kmk-computers.de>

 dev-embedded/rauc/Manifest                    |  1 +
 dev-embedded/rauc/files/rauc-1.13-tests.patch | 38 +++++++++++++++
 dev-embedded/rauc/rauc-1.13.ebuild            | 70 +++++++++++++++++++++++++++
 3 files changed, 109 insertions(+)

diff --git a/dev-embedded/rauc/Manifest b/dev-embedded/rauc/Manifest
index a5c265845..d589dc354 100644
--- a/dev-embedded/rauc/Manifest
+++ b/dev-embedded/rauc/Manifest
@@ -1 +1,2 @@
 DIST rauc-1.12.tar.xz 935632 BLAKE2B 8c2c0bcba1e2bc284695b6f5cf274667a51a64d97891f8cf10f142c558710ff4057235bb7c2d885a4a4a8c92d860b19b6d7bba1a938f496e2107bf2d339a9945 SHA512 c768cde19f0f75c0c9c373586bac0589d438f2ee4ab28fb24e492a6ae5f6672b1ff2daa1e4496ece45ba18499e2f177bf28902091122edacf556a6cde7be926f
+DIST rauc-1.13.tar.xz 960616 BLAKE2B 3d72a650c9a47fd408b80bbfb7ef7233d8239790222f8d52e603b9e6a84a41974964bbf94dff5f29ff42de5ba8d70c65b23f17253f8c4bb636b17bcafd2ff685 SHA512 b63221de828d5f24f9b2a73975a2e6fdbf30b0e3ce6809d4c5e0b5ec0acb109ecfa711c35dc23da0730a0ebb87c6866f937ccc56769a108274f2e30791f3f5a1

diff --git a/dev-embedded/rauc/files/rauc-1.13-tests.patch b/dev-embedded/rauc/files/rauc-1.13-tests.patch
new file mode 100644
index 000000000..4fabdf2a3
--- /dev/null
+++ b/dev-embedded/rauc/files/rauc-1.13-tests.patch
@@ -0,0 +1,38 @@
+From cfeab43e8c1ebbe952bca9b71fb8400a9947d229 Mon Sep 17 00:00:00 2001
+From: Kurt Kanzenbach <kurt@kmk-computers.de>
+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 <kurt@kmk-computers.de>
+---
+ test/meson.build |    6 ------
+ 1 file changed, 6 deletions(-)
+
+--- a/test/meson.build
++++ b/test/meson.build
+@@ -6,12 +6,10 @@ tests = [
+   'artifacts',
+   'boot_raw_fallback',
+   'bootchooser',
+-  'bundle',
+   'checksum',
+   'config_file',
+   'context',
+   'dm',
+-  'event_log',
+   'hash_index',
+   'install',
+   'manifest',
+@@ -25,10 +23,6 @@ tests = [
+   'utils',
+ ]
+ 
+-if get_option('network')
+-  tests += 'network'
+-endif
+-
+ if get_option('streaming')
+   tests += 'nbd'
+ endif

diff --git a/dev-embedded/rauc/rauc-1.13.ebuild b/dev-embedded/rauc/rauc-1.13.ebuild
new file mode 100644
index 000000000..80d11ebb3
--- /dev/null
+++ b/dev-embedded/rauc/rauc-1.13.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+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"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+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/libnl:3=
+	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 network streaming)
+		$(meson_use service)
+	)
+	meson_src_configure
+}
+
+src_compile() {
+	meson_src_compile
+	docs_compile
+}


             reply	other threads:[~2025-02-06  9:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-06  9:25 David Roman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-25 15:24 [gentoo-commits] repo/proj/guru:master commit in: dev-embedded/rauc/, dev-embedded/rauc/files/ David Roman
2024-09-08 16:32 David Roman
2024-09-08 16:32 David Roman
2024-01-26 10:35 David Roman
2023-08-17  5:15 Viorel Munteanu
2023-08-17  5:15 Viorel Munteanu
2023-07-12  5:39 Viorel Munteanu
2022-10-04  2:54 Haelwenn Monnier
2022-02-26 18:16 Florian Schmaus
2021-01-24 16:05 Andrew Ammerlaan
2021-01-24 16:05 Andrew Ammerlaan
2020-12-25 20:42 Haelwenn Monnier
2020-12-25 20:42 Haelwenn Monnier
2020-08-15 18:15 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1738693311.1eb8cdf26063bf50524037038de87206b9c7e942.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox