Files
guru/dev-embedded/rauc/rauc-1.13.ebuild
Anna (cybertailor) Vyalkova bb0aae8ad3 */*: disable py3.10
Python 3.10 target is scheduled for removal in Gentoo:
https://public-inbox.gentoo.org/gentoo-dev/e6ca9f1f4ababb79ab2a3d005c39b483c3ecef6e.camel@gentoo.org/

Sphinx 8.2.0 already dropped support for CPython 3.10 and PyPy 3.10,
leading to multiple CI failures in ::guru.

We can safely remove this target, because GURU is "experimental" and
does not have stable keywords.

Let's not remove "pypy3" right now because
a) There are not many packages using it.
b) So we can see which packages supported PyPy 3.10, and test them with
   PyPy 3.11.

Closes: https://github.com/gentoo/guru/pull/291
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2025-02-21 17:51:14 +05:00

71 lines
1.3 KiB
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..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
}