Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-embedded/rauc/, dev-embedded/rauc/files/
Date: Sat, 15 Aug 2020 18:15:15
Message-Id: 1597474157.5180dd14e1b9eb11e7d7a95e93984e82d2e928aa.andrewammerlaan@gentoo
1 commit: 5180dd14e1b9eb11e7d7a95e93984e82d2e928aa
2 Author: Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de>
3 AuthorDate: Sat Aug 15 06:49:17 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Sat Aug 15 06:49:17 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5180dd14
7
8 dev-embedded/rauc: Drop old
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 Signed-off-by: Kurt Kanzenbach <kurt <AT> kmk-computers.de>
12
13 dev-embedded/rauc/Manifest | 1 -
14 dev-embedded/rauc/files/rauc-1.3-tests.patch | 56 ---------------------------
15 dev-embedded/rauc/rauc-1.3.ebuild | 57 ----------------------------
16 3 files changed, 114 deletions(-)
17
18 diff --git a/dev-embedded/rauc/Manifest b/dev-embedded/rauc/Manifest
19 index 2bd0fb6..6e64fb6 100644
20 --- a/dev-embedded/rauc/Manifest
21 +++ b/dev-embedded/rauc/Manifest
22 @@ -1,2 +1 @@
23 -DIST rauc-1.3.tar.xz 1336420 BLAKE2B 79d8cc081b7871a7c4cf7eee47c042cb57723c60dad0cfefcb194048fe1c9a52261e1ef037f397ec80e7c1f1690fd34e4ce44a2d7cb427a5a48632760215e48b SHA512 044f679f81c0af58d5620a16c3a0fd7bc8ae50dccc403dd26f201735e0d7488e485b84ac38329b5f091648ae1173088a4e14976f6d28ef185a07daed82cc5b65
24 DIST rauc-1.4.tar.xz 807676 BLAKE2B e8dc46daf861c4ff5e80ac5af08eb03afb071b313dce38cbc127205f24c2f25793f51812c95ae4a0d914ea4cfec257ee06e3776b78b20488a6a33edd9b08e5c0 SHA512 6ac572d396cae609060ff4a7d2a26f5b8ed839504e76628f47388b1dac93ad1794114a9c105c5a9eb070478f9bd1b6f2cd6aeb5e84c64fdce4d7cbe30bb9ea31
25
26 diff --git a/dev-embedded/rauc/files/rauc-1.3-tests.patch b/dev-embedded/rauc/files/rauc-1.3-tests.patch
27 deleted file mode 100644
28 index 1fed632..0000000
29 --- a/dev-embedded/rauc/files/rauc-1.3-tests.patch
30 +++ /dev/null
31 @@ -1,56 +0,0 @@
32 -From 2c5300478b288ef8aa627280cca691312ac75a9e Mon Sep 17 00:00:00 2001
33 -From: Kurt Kanzenbach <kurt@×××××××××××××.de>
34 -Date: Fri, 1 May 2020 13:25:51 +0200
35 -Subject: [PATCH] tests: Disable failing tests
36 -
37 -Some tests are failing inside portage. Disable them.
38 -
39 -Signed-off-by: Kurt Kanzenbach <kurt@×××××××××××××.de>
40 ----
41 - Makefile.am | 12 ------------
42 - 1 file changed, 12 deletions(-)
43 -
44 -diff --git a/Makefile.am b/Makefile.am
45 -index 4d9a0687aec2..7ddc38e836a1 100644
46 ---- a/Makefile.am
47 -+++ b/Makefile.am
48 -@@ -139,15 +139,10 @@ check_PROGRAMS = \
49 - test/update_handler.test \
50 - test/utils.test \
51 - test/install.test \
52 -- test/service.test \
53 - test/bundle.test \
54 - test/progress.test \
55 - test/slot.test
56 -
57 --if WANT_NETWORK
58 --check_PROGRAMS += test/network.test
59 --endif
60 --
61 - noinst_PROGRAMS = test/fakerand
62 -
63 - test_fakerand_SOURCES = test/fakerand.c
64 -@@ -201,10 +196,6 @@ test_context_test_LDADD = librauctest.la
65 - test_manifest_test_SOURCES = test/manifest.c
66 - test_manifest_test_LDADD = librauctest.la
67 -
68 --test_service_test_CFLAGS = $(AM_CFLAGS) -DTEST_SERVICES=\""$(abs_top_builddir)"\"
69 --test_service_test_SOURCES = test/service.c rauc-installer-generated.h
70 --test_service_test_LDADD = librauctest.la
71 --
72 - test_signature_test_SOURCES = test/signature.c
73 - test_signature_test_LDADD = librauctest.la
74 -
75 -@@ -217,9 +208,6 @@ test_utils_test_LDADD = librauctest.la
76 - test_install_test_SOURCES = test/install.c
77 - test_install_test_LDADD = librauctest.la
78 -
79 --test_network_test_SOURCES = test/network.c
80 --test_network_test_LDADD = librauctest.la
81 --
82 - test_progress_test_SOURCES = test/progress.c
83 - test_progress_test_LDADD = librauctest.la
84 -
85 ---
86 -2.26.2
87 -
88
89 diff --git a/dev-embedded/rauc/rauc-1.3.ebuild b/dev-embedded/rauc/rauc-1.3.ebuild
90 deleted file mode 100644
91 index 8172482..0000000
92 --- a/dev-embedded/rauc/rauc-1.3.ebuild
93 +++ /dev/null
94 @@ -1,57 +0,0 @@
95 -# Copyright 1999-2020 Gentoo Authors
96 -# Distributed under the terms of the GNU General Public License v2
97 -
98 -EAPI=7
99 -
100 -DOCBUILDER="sphinx"
101 -DOCDIR="${S}/docs"
102 -
103 -inherit autotools docs
104 -
105 -DESCRIPTION="Lightweight update client that runs on your Embedded Linux device"
106 -HOMEPAGE="https://rauc.io/"
107 -SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
108 -
109 -SLOT="0"
110 -LICENSE="LGPL-2.1"
111 -KEYWORDS="~amd64 ~arm64 ~x86"
112 -IUSE="json network service test"
113 -
114 -RESTRICT="!test? ( test )"
115 -
116 -BDEPEND="
117 - dev-util/gdbus-codegen
118 - virtual/pkgconfig
119 - test? ( sys-fs/squashfs-tools )
120 -"
121 -RDEPEND="
122 - dev-libs/glib:2
123 - dev-libs/openssl:0=
124 - json? ( dev-libs/json-glib )
125 - network? ( net-misc/curl )
126 - service? ( sys-apps/dbus )
127 -"
128 -DEPEND="
129 - ${RDEPEND}
130 -"
131 -
132 -PATCHES=( "${FILESDIR}/${P}-tests.patch" )
133 -
134 -src_prepare() {
135 - default
136 - eautoreconf
137 -}
138 -
139 -src_configure() {
140 - local myconf=(
141 - $(use_enable json)
142 - $(use_enable network)
143 - $(use_enable service)
144 - )
145 - econf "${myconf[@]}"
146 -}
147 -
148 -src_compile() {
149 - default
150 - docs_compile
151 -}