From 39fbeae8e681fc40c5fb1e0d7ea40b28be9370ca Mon Sep 17 00:00:00 2001 From: Marcin Deranek Date: Wed, 11 Jan 2023 09:59:20 +0100 Subject: Initial dev-python/langdetect ebuild --- dev-python/langdetect/langdetect-1.0.9.ebuild | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 dev-python/langdetect/langdetect-1.0.9.ebuild (limited to 'dev-python/langdetect/langdetect-1.0.9.ebuild') diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild new file mode 100644 index 0000000..194327d --- /dev/null +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -0,0 +1,23 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} pypy3 ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Port of Google's language-detection library to Python" +HOMEPAGE=" + https://pypi.org/project/langdetect/ + https://github.com/Mimino666/langdetect +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" + +distutils_enable_tests unittest -- cgit v1.2.3