dev-python/langdetect: enable py3.12

Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono 2024-01-25 20:18:06 +09:00
parent 6275d600d3
commit efa770e79c
No known key found for this signature in database
GPG Key ID: 91CA2604719DDA61
2 changed files with 17 additions and 2 deletions

View File

@ -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',

View File

@ -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