Сравнение bcachefs-tools-1.20.0 с bcachefs-tools-1.34.0
| /usr/portage/sys-fs/bcachefs-tools/bcachefs-tools-1.34.0.ebuild 2026-01-08 10:18:06.759008091 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| ... | ... | |
| 87 | 87 |
zeroize_derive@1.4.2 |
| 88 | 88 |
" |
| 89 | 89 | |
| 90 |
LLVM_COMPAT=( {17..19} )
|
|
| 91 |
PYTHON_COMPAT=( python3_{10..13} )
|
|
| 90 |
LLVM_COMPAT=( {17..21} )
|
|
| 91 |
PYTHON_COMPAT=( python3_{11..14} )
|
|
| 92 |
RUST_MIN_VER="1.77.0" |
|
| 92 | 93 |
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kentoverstreet.asc |
| 93 | 94 | |
| 94 | 95 |
inherit cargo flag-o-matic llvm-r1 python-any-r1 shell-completion toolchain-funcs unpacker verify-sig |
| ... | ... | |
| 101 | 102 |
else |
| 102 | 103 |
SRC_URI="https://evilpiepirate.org/bcachefs-tools/bcachefs-tools-${PV}.tar.zst
|
| 103 | 104 |
${CARGO_CRATE_URIS}
|
| 104 |
https://github.com/koverstreet/bcachefs-tools/commit/67c9b378c7e7820b91033004b032e236a8069b4a.patch |
|
| 105 |
-> ${P}-fix-fuse-build.patch
|
|
| 106 | 105 |
" |
| 107 | 106 |
SRC_URI+=" verify-sig? ( https://evilpiepirate.org/bcachefs-tools/bcachefs-tools-${PV}.tar.sign )"
|
| 108 | 107 |
S="${WORKDIR}/${P}"
|
| 109 |
KEYWORDS="amd64 arm64" |
|
| 108 |
KEYWORDS="~amd64 ~arm64" |
|
| 110 | 109 |
fi |
| 111 | 110 | |
| 112 |
LICENSE="Apache-2.0 BSD GPL-2 MIT" |
|
| 111 |
LICENSE="GPL-2" |
|
| 112 |
# Dependent crate licenses |
|
| 113 |
LICENSE+=" Apache-2.0 BSD ISC MIT Unicode-DFS-2016" |
|
| 113 | 114 |
SLOT="0" |
| 114 | 115 |
IUSE="fuse verify-sig" |
| 115 | 116 |
RESTRICT="test" |
| ... | ... | |
| 124 | 125 |
sys-apps/util-linux |
| 125 | 126 |
virtual/zlib:= |
| 126 | 127 |
virtual/udev |
| 127 |
fuse? ( >=sys-fs/fuse-3.7.0 ) |
|
| 128 |
fuse? ( >=sys-fs/fuse-3.7.0:3= ) |
|
| 128 | 129 |
" |
| 129 | 130 | |
| 130 | 131 |
RDEPEND="${DEPEND}"
|
| ... | ... | |
| 146 | 147 | |
| 147 | 148 |
QA_FLAGS_IGNORED="/sbin/bcachefs" |
| 148 | 149 | |
| 149 |
PATCHES=( |
|
| 150 |
"${DISTDIR}/bcachefs-tools-1.20.0-fix-fuse-build.patch"
|
|
| 151 |
) |
|
| 152 | ||
| 153 | 150 |
python_check_deps() {
|
| 154 | 151 |
python_has_version "dev-python/docutils[${PYTHON_USEDEP}]"
|
| 155 | 152 |
} |
| 156 | 153 | |
| 157 | 154 |
pkg_setup() {
|
| 155 |
rust_pkg_setup |
|
| 158 | 156 |
llvm-r1_pkg_setup |
| 159 | 157 |
python-any-r1_pkg_setup |
| 160 | 158 |
} |
| ... | ... | |
| 182 | 180 |
default |
| 183 | 181 |
tc-export CC |
| 184 | 182 | |
| 183 |
sed -i s/^VERSION=.*$/VERSION=${PV}/ Makefile || die
|
|
| 185 | 184 |
sed \ |
| 186 | 185 |
-e '/^CFLAGS/s:-O2::' \ |
| 187 | 186 |
-e '/^CFLAGS/s:-g::' \ |