summaryrefslogtreecommitdiff
path: root/net-mail
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-24 03:04:33 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-24 03:04:33 -0500
commit719f5679cb7b1141529b574349239e0640bae1ca (patch)
tree50e50c55d988644908338c57bfe99cf9b7e00a01 /net-mail
parent262287a0872daa2bb1ff43d4b8484c17babc2f51 (diff)
downloadbaldeagleos-repo-719f5679cb7b1141529b574349239e0640bae1ca.tar.gz
baldeagleos-repo-719f5679cb7b1141529b574349239e0640bae1ca.tar.xz
baldeagleos-repo-719f5679cb7b1141529b574349239e0640bae1ca.zip
Adding metadata
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/b4/b4-0.15.2-r1.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/net-mail/b4/b4-0.15.2-r1.ebuild b/net-mail/b4/b4-0.15.2-r1.ebuild
new file mode 100644
index 000000000000..7cd2ad37fc1d
--- /dev/null
+++ b/net-mail/b4/b4-0.15.2-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2020-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+inherit distutils-r1 shell-completion sysroot
+
+DESCRIPTION="Utility for fetching patchsets from public-inbox"
+HOMEPAGE="https://pypi.org/project/b4/"
+SRC_URI="https://git.kernel.org/pub/scm/utils/b4/b4.git/snapshot/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+RESTRICT=test # gentoo:: is missing dependences (e.g. dev-python/textual)
+
+RDEPEND="
+ >=dev-python/certifi-3024.7.22[${PYTHON_USEDEP}]
+ >=dev-python/cffi-2.0.0[${PYTHON_USEDEP}]
+ >=dev-python/charset-normalizer-3.4.6[${PYTHON_USEDEP}]
+ >=dev-python/dkimpy-1.1.8[${PYTHON_USEDEP}]
+ >=dev-python/dnspython-2.8[${PYTHON_USEDEP}]
+ >=dev-python/idna-3.11[${PYTHON_USEDEP}]
+ >=dev-python/patatt-0.7[${PYTHON_USEDEP}]
+ >=dev-python/pycparser-3.0[${PYTHON_USEDEP}]
+ >=dev-python/pynacl-1.6.2[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.32.5[${PYTHON_USEDEP}]
+ >=dev-python/urllib3-2.6.3[${PYTHON_USEDEP}]
+ >=dev-vcs/git-filter-repo-2.47[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+ dev-python/shtab[${PYTHON_USEDEP}]
+"
+
+python_compile_all() {
+ local shell
+ local -x PYTHONPATH="${S}/src:${S}/patatt/src"
+ for shell in bash zsh; do
+ sysroot_try_run_prefixed \
+ "${EPYTHON}" src/b4/command.py \
+ --print-completion "${shell}" > "${shell}".completion ||
+ die "Could not create completion for ${shell}"
+ done
+}
+
+python_install_all() {
+ newbashcomp bash.completion b4
+ newzshcomp zsh.completion _b4
+}