commit:     4c41e88e153b03a4956a40e99c70305c41af534a
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Feb  2 07:28:16 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Feb  2 08:11:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4c41e88e

dev-python/sentence-splitter: fix tests

Closes: https://bugs.gentoo.org/831734
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/sentence-splitter/Manifest                               | 2 +-
 ...sentence-splitter-1.4.ebuild => sentence-splitter-1.4-r1.ebuild} | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/dev-python/sentence-splitter/Manifest 
b/dev-python/sentence-splitter/Manifest
index 42e8226fe..e43d10438 100644
--- a/dev-python/sentence-splitter/Manifest
+++ b/dev-python/sentence-splitter/Manifest
@@ -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

diff --git a/dev-python/sentence-splitter/sentence-splitter-1.4.ebuild 
b/dev-python/sentence-splitter/sentence-splitter-1.4-r1.ebuild
similarity index 70%
rename from dev-python/sentence-splitter/sentence-splitter-1.4.ebuild
rename to dev-python/sentence-splitter/sentence-splitter-1.4-r1.ebuild
index 3cdb4f6e4..5a451aa52 100644
--- a/dev-python/sentence-splitter/sentence-splitter-1.4.ebuild
+++ b/dev-python/sentence-splitter/sentence-splitter-1.4-r1.ebuild
@@ -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

Reply via email to