diff options
author | 2024-01-25 20:18:06 +0900 | |
---|---|---|
committer | 2024-01-25 20:18:06 +0900 | |
commit | efa770e79cde11a060d91ba33b371c9b995109df (patch) | |
tree | 0eae8b0dbc0ddc147ad8085992f4ff486917cdaa /dev-python/langdetect | |
parent | net-misc/gmid: add 2.0.1 (diff) | |
download | guru-efa770e79cde11a060d91ba33b371c9b995109df.tar.gz guru-efa770e79cde11a060d91ba33b371c9b995109df.tar.bz2 guru-efa770e79cde11a060d91ba33b371c9b995109df.zip |
dev-python/langdetect: enable py3.12
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
Diffstat (limited to 'dev-python/langdetect')
-rw-r--r-- | dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch | 13 | ||||
-rw-r--r-- | dev-python/langdetect/langdetect-1.0.9.ebuild | 6 |
2 files changed, 17 insertions, 2 deletions
diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000..637368d2f --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 5a5c248cb..4ccb48f61 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,9 +1,9 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..11} pypy3 ) +PYTHON_COMPAT=( python3_{10..12} pypy3 ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest |