app-admin/krapplet: enable py3.11

Closes: https://bugs.gentoo.org/897358
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2023-03-07 18:43:47 +05:00
parent 3e1f16a54e
commit 6e8743bc0a
2 changed files with 29 additions and 32 deletions

View File

@@ -0,0 +1,29 @@
# Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi xdg
DESCRIPTION="Krapplet (keyring applet): a Linux graphical password manager"
HOMEPAGE="
https://gitlab.com/hfernh/krapplet
https://pypi.org/project/krapplet/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
IUSE="+gnome-keyring pass"
REQUIRED_USE="|| ( gnome-keyring pass )"
RDEPEND="
dev-libs/glib:2
dev-libs/gobject-introspection
dev-python/pygobject:3[${PYTHON_USEDEP}]
x11-libs/gtk+:3[introspection]
gnome-keyring? ( dev-python/secretstorage[${PYTHON_USEDEP}] )
pass? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
"

View File

@@ -1,32 +0,0 @@
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8,9} )
DISTUTILS_USE_SETUPTOOLS=bdepend
inherit distutils-r1 xdg
DESCRIPTION="Krapplet (keyring applet): a Linux graphical password manager"
HOMEPAGE="https://gitlab.com/hfernh/krapplet https://pypi.org/project/krapplet/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
IUSE="+gnome-keyring pass"
REQUIRED_USE="|| ( gnome-keyring pass )"
# Upstream does not provide any test suite.
RESTRICT="test"
RDEPEND="
dev-libs/glib
dev-libs/gobject-introspection
gnome-keyring? ( dev-python/secretstorage )
pass? ( dev-python/python-gnupg )
x11-libs/gtk+:3"
BDEPEND="${RDEPEND}"
DEPEND="${BDEPEND}"