1 |
commit: 4c41e88e153b03a4956a40e99c70305c41af534a |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Wed Feb 2 07:28:16 2022 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Wed Feb 2 08:11:07 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4c41e88e |
7 |
|
8 |
dev-python/sentence-splitter: fix tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/831734 |
11 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
12 |
|
13 |
dev-python/sentence-splitter/Manifest | 2 +- |
14 |
...sentence-splitter-1.4.ebuild => sentence-splitter-1.4-r1.ebuild} | 6 ++++-- |
15 |
2 files changed, 5 insertions(+), 3 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/sentence-splitter/Manifest b/dev-python/sentence-splitter/Manifest |
18 |
index 42e8226fe..e43d10438 100644 |
19 |
--- a/dev-python/sentence-splitter/Manifest |
20 |
+++ b/dev-python/sentence-splitter/Manifest |
21 |
@@ -1 +1 @@ |
22 |
-DIST sentence_splitter-1.4.tar.gz 30607 BLAKE2B 6f1ebf416e9cb0ae837d54dbae0ae275a091086bbaf266b8e991014a7aab8e9c63af16ba3904d34691df10f4d237817a9049383b70ba4de14c8d32748e759320 SHA512 b173f1dd0b94191f03eab4ac4679608ec2cb2f2964c644144020df4ea740915ad7f96737e2384eb6fb2d4cd8a1cf353e472b8e059714e914a8973f99f3ad8e94 |
23 |
+DIST sentence-splitter-1.4.tar.gz 33888 BLAKE2B 490da5f1dde77a164306a0ac5cd9b073eda5e25e8016f7dbd4e5add1341c276ea7dd646442e88697e9fb1f3ebe58ad04da7d0fda36793e66c34f83a728f6a121 SHA512 d1c8cc2c830f5b005265c5a0633bde9237f0d4f52526fc16197fa1b6bb413c25394e41eea03bdcedc824066c4d16d4c77b293ecb3ba37f8ec8eee2037842869f |
24 |
|
25 |
diff --git a/dev-python/sentence-splitter/sentence-splitter-1.4.ebuild b/dev-python/sentence-splitter/sentence-splitter-1.4-r1.ebuild |
26 |
similarity index 70% |
27 |
rename from dev-python/sentence-splitter/sentence-splitter-1.4.ebuild |
28 |
rename to dev-python/sentence-splitter/sentence-splitter-1.4-r1.ebuild |
29 |
index 3cdb4f6e4..5a451aa52 100644 |
30 |
--- a/dev-python/sentence-splitter/sentence-splitter-1.4.ebuild |
31 |
+++ b/dev-python/sentence-splitter/sentence-splitter-1.4-r1.ebuild |
32 |
@@ -3,15 +3,17 @@ |
33 |
|
34 |
EAPI=8 |
35 |
|
36 |
-PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
38 |
inherit distutils-r1 |
39 |
|
40 |
DESCRIPTION="Sentence splitter using heuristic algorithm by Philipp Koehn and Josh Schroeder" |
41 |
HOMEPAGE="https://github.com/mediacloud/sentence-splitter https://pypi.org/project/sentence-splitter/" |
42 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN/-/_}/${P/-/_}.tar.gz" |
43 |
+SRC_URI="https://github.com/mediacloud/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
44 |
|
45 |
LICENSE="LGPL-3" |
46 |
SLOT="0" |
47 |
KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
48 |
|
49 |
+RDEPEND="dev-python/regex[${PYTHON_USEDEP}]" |
50 |
+ |
51 |
distutils_enable_tests pytest |