python3_11 no longer resolves for packages depending on dev-python/requests, which dropped it. Raise the PYTHON_COMPAT floor to python3_12 across every package in the overlay that still allowed python3_11, keeping the python3_14 profile default (ceiling raised to python3_14 where it was lower). python3_15 is only kept where it was already declared and verified on 3.15 (mwparserfromhell: builds and tests pass); it is not added elsewhere, since python3.15 is not installed here and could not be build-tested. Bug: https://github.com/gentoo-zh/overlay/issues/11037
30 lines
648 B
Bash
30 lines
648 B
Bash
# Copyright 2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{12..14} )
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
inherit distutils-r1 pypi
|
|
|
|
DESCRIPTION="Chinese text segmentation library"
|
|
HOMEPAGE="
|
|
https://github.com/fxsjy/jieba
|
|
https://pypi.org/project/jieba/
|
|
"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
|
|
# Tests are standalone scripts incompatible with pytest, and require
|
|
# missing data files (userdict.txt, extra_dict/) not included in sdist
|
|
RESTRICT="test"
|
|
|
|
src_prepare() {
|
|
default
|
|
|
|
# Remove deprecated license classifier
|
|
sed -i "/License ::/d" setup.py || die
|
|
}
|