commit:     1bff14fbb48fabf3fa9cb50ff3cd470915c45ce4
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Aug 16 19:44:42 2021 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Mon Aug 16 19:44:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1bff14fb

app-misc/ssmtool: update EAPI, enable py 3.10

Drop ~arm and ~arm64 keywords as not all deps support them.

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 app-misc/ssmtool/ssmtool-0.3.3.ebuild | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/app-misc/ssmtool/ssmtool-0.3.3.ebuild 
b/app-misc/ssmtool/ssmtool-0.3.3.ebuild
index c5c8c6988..9d51a55aa 100644
--- a/app-misc/ssmtool/ssmtool-0.3.3.ebuild
+++ b/app-misc/ssmtool/ssmtool-0.3.3.ebuild
@@ -1,9 +1,9 @@
 # Copyright 2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_USE_SETUPTOOLS=pyproject.toml
 inherit distutils-r1 desktop
 
@@ -12,7 +12,10 @@ HOMEPAGE="https://github.com/FreeLanguageTools/ssmtool/ 
https://pypi.org/project
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"
-DEPEND="
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
        dev-python/PyQt5[${PYTHON_USEDEP}]
        dev-python/simplemma[${PYTHON_USEDEP}]
        ~dev-python/googletrans-4.0.0_rc1[${PYTHON_USEDEP}]
@@ -22,16 +25,15 @@ DEPEND="
        dev-python/bidict[${PYTHON_USEDEP}]
        dev-python/pystardict[${PYTHON_USEDEP}]
 "
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 
 python_prepare_all () {
        # sed to remove the data_files option, which are necessary to include
        # data files in the packaged version, but will install files into
        # /usr/data if not removed before converting it to setup.py
-       sed -i -e '/options\.data_files/,+4d' setup.cfg
+       sed -i -e '/options\.data_files/,+4d' setup.cfg || die
        distutils-r1_python_prepare_all
 }
+
 python_install() {
        distutils-r1_python_install
        newicon icon.png ssmtool.png

Reply via email to