Diff b4-0.15.2 with a b4-0.15.2-r1
| /usr/portage/net-mail/b4/b4-0.15.2-r1.ebuild 2026-09-16 20:03:04.915816386 +0300 | ||
|---|---|---|
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 | 6 |
DISTUTILS_USE_PEP517=setuptools |
| 7 |
PYTHON_COMPAT=( python3_{11..14} )
|
|
| 8 |
inherit distutils-r1 |
|
| 7 |
PYTHON_COMPAT=( python3_{12..14} )
|
|
| 8 |
inherit distutils-r1 shell-completion sysroot |
|
| 9 | 9 | |
| 10 | 10 |
DESCRIPTION="Utility for fetching patchsets from public-inbox" |
| 11 | 11 |
HOMEPAGE="https://pypi.org/project/b4/" |
| ... | ... | |
| 13 | 13 | |
| 14 | 14 |
LICENSE="GPL-2+" |
| 15 | 15 |
SLOT="0" |
| 16 |
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" |
|
| 16 |
KEYWORDS="amd64 ~arm64 ~ppc64 ~x86" |
|
| 17 | 17 | |
| 18 | 18 |
RESTRICT=test # gentoo:: is missing dependences (e.g. dev-python/textual) |
| 19 | 19 | |
| ... | ... | |
| 31 | 31 |
>=dev-python/urllib3-2.6.3[${PYTHON_USEDEP}]
|
| 32 | 32 |
>=dev-vcs/git-filter-repo-2.47[${PYTHON_USEDEP}]
|
| 33 | 33 |
" |
| 34 | ||
| 35 |
BDEPEND=" |
|
| 36 |
dev-python/shtab[${PYTHON_USEDEP}]
|
|
| 37 |
" |
|
| 38 | ||
| 39 |
python_compile_all() {
|
|
| 40 |
local shell |
|
| 41 |
local -x PYTHONPATH="${S}/src:${S}/patatt/src"
|
|
| 42 |
for shell in bash zsh; do |
|
| 43 |
sysroot_try_run_prefixed \ |
|
| 44 |
"${EPYTHON}" src/b4/command.py \
|
|
| 45 |
--print-completion "${shell}" > "${shell}".completion ||
|
|
| 46 |
die "Could not create completion for ${shell}"
|
|
| 47 |
done |
|
| 48 |
} |
|
| 49 | ||
| 50 |
python_install_all() {
|
|
| 51 |
einstalldocs |
|
| 52 |
newbashcomp bash.completion b4 |
|
| 53 |
newzshcomp zsh.completion _b4 |
|
| 54 |
} |
|