dev-python/sentence-splitter: fix tests

Closes: https://bugs.gentoo.org/831734
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2022-02-02 12:28:16 +05:00
parent 3ae0631508
commit 4c41e88e15
2 changed files with 5 additions and 3 deletions

View File

@@ -1 +1 @@
DIST sentence_splitter-1.4.tar.gz 30607 BLAKE2B 6f1ebf416e9cb0ae837d54dbae0ae275a091086bbaf266b8e991014a7aab8e9c63af16ba3904d34691df10f4d237817a9049383b70ba4de14c8d32748e759320 SHA512 b173f1dd0b94191f03eab4ac4679608ec2cb2f2964c644144020df4ea740915ad7f96737e2384eb6fb2d4cd8a1cf353e472b8e059714e914a8973f99f3ad8e94
DIST sentence-splitter-1.4.tar.gz 33888 BLAKE2B 490da5f1dde77a164306a0ac5cd9b073eda5e25e8016f7dbd4e5add1341c276ea7dd646442e88697e9fb1f3ebe58ad04da7d0fda36793e66c34f83a728f6a121 SHA512 d1c8cc2c830f5b005265c5a0633bde9237f0d4f52526fc16197fa1b6bb413c25394e41eea03bdcedc824066c4d16d4c77b293ecb3ba37f8ec8eee2037842869f

View File

@@ -3,15 +3,17 @@
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1
DESCRIPTION="Sentence splitter using heuristic algorithm by Philipp Koehn and Josh Schroeder"
HOMEPAGE="https://github.com/mediacloud/sentence-splitter https://pypi.org/project/sentence-splitter/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN/-/_}/${P/-/_}.tar.gz"
SRC_URI="https://github.com/mediacloud/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
RDEPEND="dev-python/regex[${PYTHON_USEDEP}]"
distutils_enable_tests pytest