Сравнение hf_xet-1.2.0 с hf_xet-1.5.2
| /usr/portage/sci-ml/hf_xet/hf_xet-1.5.2.ebuild 2026-08-11 20:03:04.761460125 +0300 | ||
|---|---|---|
| 1 | 1 |
# Copyright 2025-2026 Gentoo Authors |
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 |
# Autogenerated by pycargoebuild 0.15.0 |
|
| 4 |
# Autogenerated by pycargoebuild 0.15.3 |
|
| 5 | 5 | |
| 6 | 6 |
EAPI=8 |
| 7 | 7 | |
| 8 | 8 |
DISTUTILS_EXT=1 |
| 9 | 9 |
DISTUTILS_USE_PEP517=maturin |
| 10 |
PYTHON_COMPAT=( python3_{11..14} )
|
|
| 11 |
RUST_MIN_VER="1.88" |
|
| 10 |
PYTHON_COMPAT=( python3_{12..15} )
|
|
| 11 |
RUST_MIN_VER="1.89.0" |
|
| 12 | 12 | |
| 13 |
CRATES=" |
|
| 14 |
" |
|
| 13 |
CRATES="" |
|
| 15 | 14 | |
| 16 | 15 |
inherit cargo distutils-r1 |
| 17 | 16 | |
| ... | ... | |
| 29 | 28 |
# Dependent crate licenses |
| 30 | 29 |
LICENSE+=" |
| 31 | 30 |
Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CDDL |
| 32 |
CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 |
|
| 31 |
CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 ZLIB |
|
| 33 | 32 |
" |
| 34 | 33 |
SLOT="0" |
| 35 | 34 |
KEYWORDS="~amd64 ~arm64" |
| 36 | 35 | |
| 37 |
PATCHES=( |
|
| 38 |
"${FILESDIR}"/${P}-maturin1_12.patch
|
|
| 39 |
) |
|
| 40 | ||
| 41 | 36 |
src_configure() {
|
| 42 | 37 |
cargo_src_configure |
| 43 | 38 |
distutils-r1_src_configure |
| 44 | 39 |
} |
| 45 | 40 | |
| 46 |
src_compile() {
|
|
| 41 |
python_compile() {
|
|
| 47 | 42 |
cargo_src_compile |
| 43 |
distutils-r1_python_compile |
|
| 44 |
} |
|
| 45 | ||
| 46 |
src_compile() {
|
|
| 48 | 47 |
distutils-r1_src_compile |
| 49 | 48 |
} |
| 49 | ||
| 50 |
EPYTEST_PLUGINS=() |
|
| 51 |
distutils_enable_tests pytest |
|