dev-python/sentence-splitter: enable py3.11

Closes: https://bugs.gentoo.org/897564
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2023-03-08 12:29:51 +05:00
parent 67dcee14e9
commit b07397e6b4
2 changed files with 9 additions and 5 deletions

View File

@@ -0,0 +1,23 @@
# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} pypy3 )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Sentence splitter using heuristic algorithm by Philipp Koehn and Josh Schroeder"
HOMEPAGE="
https://pypi.org/project/sentence-splitter/
https://github.com/mediacloud/sentence-splitter
"
SRC_URI="https://github.com/mediacloud/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
RDEPEND="dev-python/regex[${PYTHON_USEDEP}]"
distutils_enable_tests pytest