guru/gui-libs/gtk4-layer-shell/gtk4-layer-shell-1.0.4.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

53 lines
1.2 KiB
Bash

# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="A library for using the Layer Shell Wayland protocol with GTK4."
HOMEPAGE="https://github.com/wmww/gtk4-layer-shell"
SRC_URI="https://github.com/wmww/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="examples doc test smoke-tests introspection vala"
REQUIRED_USE="vala? ( introspection )"
RESTRICT="!test? ( test )"
PYTHON_COMPAT=( python3_{11..13} )
inherit meson python-any-r1
DEPEND="
>=gui-libs/gtk-4.10.5[wayland]
"
RDEPEND="${DEPEND}"
BDEPEND="
>=dev-build/meson-0.51.0
>=dev-build/ninja-1.8.2
>=dev-libs/wayland-1.10.0
>=dev-libs/wayland-protocols-1.16
>=dev-util/wayland-scanner-1.10.0
introspection? ( dev-libs/gobject-introspection )
doc? ( dev-util/gtk-doc )
test? ( >=dev-lang/python-3.8.19 )
vala? ( dev-lang/vala )
smoke-tests? (
dev-lang/luajit
dev-lua/lgi
)
"
src_configure() {
local emesonargs=(
$(meson_use examples)
$(meson_use doc docs)
$(meson_use test tests)
$(meson_use smoke-tests)
$(meson_use introspection)
$(meson_use vala vapi)
)
meson_src_configure
}