From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-embedded/rauc/files/, dev-embedded/rauc/
Date: Fri, 26 Jan 2024 10:35:17 +0000 (UTC) [thread overview]
Message-ID: <1706200500.d6fc1f78bc5b63a32e1eef35391d27a1823cbcda.davidroman@gentoo> (raw)
commit: d6fc1f78bc5b63a32e1eef35391d27a1823cbcda
Author: Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de>
AuthorDate: Wed Jan 24 20:22:23 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> 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 <kurt <AT> 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 <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 | 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
+}
next reply other threads:[~2024-01-26 10:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-26 10:35 David Roman [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-06 9:25 [gentoo-commits] repo/proj/guru:master commit in: dev-embedded/rauc/files/, dev-embedded/rauc/ David Roman
2024-04-14 15:11 Julien Roy
2024-04-14 15:11 Julien Roy
2023-07-12 5:39 Viorel Munteanu
2022-10-04 2:54 Haelwenn Monnier
2022-02-26 18:16 Florian Schmaus
2020-08-15 18:15 Andrew Ammerlaan
2020-05-01 15:39 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=1706200500.d6fc1f78bc5b63a32e1eef35391d27a1823cbcda.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