2025-08-27 04:28:19 +09:00
|
|
|
# Copyright 2022-2025 Gentoo Authors
|
2022-03-31 10:51:48 +05:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
|
2025-08-27 04:28:19 +09:00
|
|
|
PYTHON_COMPAT=( python3_{11..14} )
|
2022-11-22 10:26:54 +05:00
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
2023-03-17 17:48:43 +05:00
|
|
|
inherit distutils-r1 pypi
|
2022-03-31 10:51:48 +05:00
|
|
|
|
|
|
|
|
DESCRIPTION="Port of Google's language-detection library to Python"
|
|
|
|
|
HOMEPAGE="
|
|
|
|
|
https://pypi.org/project/langdetect/
|
|
|
|
|
https://github.com/Mimino666/langdetect
|
|
|
|
|
"
|
|
|
|
|
|
2022-11-22 10:26:54 +05:00
|
|
|
LICENSE="Apache-2.0"
|
2022-03-31 10:51:48 +05:00
|
|
|
SLOT="0"
|
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
|
|
|
|
|
|
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
|
|
|
|
|
|
2024-01-25 20:18:06 +09:00
|
|
|
PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" )
|
|
|
|
|
|
2022-03-31 10:51:48 +05:00
|
|
|
distutils_enable_tests unittest
|