1 |
commit: 41be3e96e733513372b33e60437a5ffa8c52bcc7 |
2 |
Author: Shaoyu Tseng <shaoyu0209 <AT> tuta <DOT> io> |
3 |
AuthorDate: Fri Jan 21 03:30:55 2022 +0000 |
4 |
Commit: Shaoyu Tseng <shaoyu0209 <AT> tuta <DOT> io> |
5 |
CommitDate: Fri Jan 21 03:31:57 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=41be3e96 |
7 |
|
8 |
dev-python/sentence_splitter: new package |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Shaoyu Tseng <shaoyu0209 <AT> tuta.io> |
12 |
|
13 |
dev-python/sentence_splitter/Manifest | 1 + |
14 |
dev-python/sentence_splitter/metadata.xml | 12 ++++++++++++ |
15 |
.../sentence_splitter/sentence_splitter-1.4.ebuild | 17 +++++++++++++++++ |
16 |
3 files changed, 30 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/sentence_splitter/Manifest b/dev-python/sentence_splitter/Manifest |
19 |
new file mode 100644 |
20 |
index 000000000..42e8226fe |
21 |
--- /dev/null |
22 |
+++ b/dev-python/sentence_splitter/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST sentence_splitter-1.4.tar.gz 30607 BLAKE2B 6f1ebf416e9cb0ae837d54dbae0ae275a091086bbaf266b8e991014a7aab8e9c63af16ba3904d34691df10f4d237817a9049383b70ba4de14c8d32748e759320 SHA512 b173f1dd0b94191f03eab4ac4679608ec2cb2f2964c644144020df4ea740915ad7f96737e2384eb6fb2d4cd8a1cf353e472b8e059714e914a8973f99f3ad8e94 |
25 |
|
26 |
diff --git a/dev-python/sentence_splitter/metadata.xml b/dev-python/sentence_splitter/metadata.xml |
27 |
new file mode 100644 |
28 |
index 000000000..5994a6ed8 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/sentence_splitter/metadata.xml |
31 |
@@ -0,0 +1,12 @@ |
32 |
+<?xml version="1.0" encoding="UTF-8"?> |
33 |
+<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'> |
34 |
+<pkgmetadata> |
35 |
+ <maintainer type="person"> |
36 |
+ <email>shaoyu0209@××××.io</email> |
37 |
+ <name>Shaoyu Tseng</name> |
38 |
+ </maintainer> |
39 |
+ <upstream> |
40 |
+ <remote-id type="pypi">sentence-splitter</remote-id> |
41 |
+ <remote-id type="github">mediacloud/sentence-splitter</remote-id> |
42 |
+ </upstream> |
43 |
+</pkgmetadata> |
44 |
|
45 |
diff --git a/dev-python/sentence_splitter/sentence_splitter-1.4.ebuild b/dev-python/sentence_splitter/sentence_splitter-1.4.ebuild |
46 |
new file mode 100644 |
47 |
index 000000000..753104bdb |
48 |
--- /dev/null |
49 |
+++ b/dev-python/sentence_splitter/sentence_splitter-1.4.ebuild |
50 |
@@ -0,0 +1,17 @@ |
51 |
+# Copyright 2021-2022 Gentoo Authors |
52 |
+# Distributed under the terms of the GNU General Public License v2 |
53 |
+ |
54 |
+EAPI=8 |
55 |
+ |
56 |
+PYTHON_COMPAT=( python3_{8..10} ) |
57 |
+inherit distutils-r1 |
58 |
+ |
59 |
+DESCRIPTION="Sentence splitter using heuristic algorithm by Philipp Koehn and Josh Schroeder" |
60 |
+HOMEPAGE="https://github.com/mediacloud/sentence-splitter https://pypi.org/project/sentence-splitter/" |
61 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
62 |
+ |
63 |
+LICENSE="LGPL-3" |
64 |
+SLOT="0" |
65 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
66 |
+ |
67 |
+distutils_enable_tests pytest |