commit: 41be3e96e733513372b33e60437a5ffa8c52bcc7 Author: Shaoyu Tseng <shaoyu0209 <AT> tuta <DOT> io> AuthorDate: Fri Jan 21 03:30:55 2022 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Fri Jan 21 03:31:57 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=41be3e96
dev-python/sentence_splitter: new package Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Shaoyu Tseng <shaoyu0209 <AT> tuta.io> dev-python/sentence_splitter/Manifest | 1 + dev-python/sentence_splitter/metadata.xml | 12 ++++++++++++ .../sentence_splitter/sentence_splitter-1.4.ebuild | 17 +++++++++++++++++ 3 files changed, 30 insertions(+) diff --git a/dev-python/sentence_splitter/Manifest b/dev-python/sentence_splitter/Manifest new file mode 100644 index 000000000..42e8226fe --- /dev/null +++ b/dev-python/sentence_splitter/Manifest @@ -0,0 +1 @@ +DIST sentence_splitter-1.4.tar.gz 30607 BLAKE2B 6f1ebf416e9cb0ae837d54dbae0ae275a091086bbaf266b8e991014a7aab8e9c63af16ba3904d34691df10f4d237817a9049383b70ba4de14c8d32748e759320 SHA512 b173f1dd0b94191f03eab4ac4679608ec2cb2f2964c644144020df4ea740915ad7f96737e2384eb6fb2d4cd8a1cf353e472b8e059714e914a8973f99f3ad8e94 diff --git a/dev-python/sentence_splitter/metadata.xml b/dev-python/sentence_splitter/metadata.xml new file mode 100644 index 000000000..5994a6ed8 --- /dev/null +++ b/dev-python/sentence_splitter/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Shaoyu Tseng</name> + </maintainer> + <upstream> + <remote-id type="pypi">sentence-splitter</remote-id> + <remote-id type="github">mediacloud/sentence-splitter</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/sentence_splitter/sentence_splitter-1.4.ebuild b/dev-python/sentence_splitter/sentence_splitter-1.4.ebuild new file mode 100644 index 000000000..753104bdb --- /dev/null +++ b/dev-python/sentence_splitter/sentence_splitter-1.4.ebuild @@ -0,0 +1,17 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +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" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +distutils_enable_tests pytest
