net-mail/b4: add 0.14.1, fix test support

Closes: https://bugs.gentoo.org/935775

Signed-off-by: Mike Pagano <mpagano@gentoo.org>
This commit is contained in:
Mike Pagano
2024-08-10 18:23:10 -04:00
parent 2d1217de91
commit ad4acd187c
2 changed files with 37 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST b4-0.13.0.tar.gz 243729 BLAKE2B b004209ab289026e5013003355873feeef0c275dbd638a9ca725adc0bb594ea5091094b2fb30737fad9ef60a742809699c9c9a0e0015e9ebf58ee3d1c90fc989 SHA512 692d01970019d3fc604187882004d97f4286a22d87e5778d7830ec247757534a9d951fa8edfe9e04e8f14107c77b08b6c15024f37bd99f4abf3aa0d823df21e5
DIST b4-0.14.1.tar.gz 268141 BLAKE2B 128a061600aeea7c0b05fc69ad1e36be55086dff4b66e1456151fae375457dcd60113a4bc1335878227fb86763d0d1ed74f103c683f17634e80cb4c6fedbe078 SHA512 6e77d9e7e49fee5ccada275ceda51280310bf71f17e910d30c4b9e6346cf7595563c5cc489963e0cb16aa68606e7ba8050ead19454c294469820fbf30a948c36

View File

@@ -0,0 +1,36 @@
# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
DESCRIPTION="Utility for fetching patchsets from public-inbox"
HOMEPAGE="https://pypi.org/project/b4/"
# pypi lacks tests
SRC_URI="https://git.kernel.org/pub/scm/utils/b4/b4.git/snapshot/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="
>=dev-python/dkimpy-1.0[${PYTHON_USEDEP}]
>=dev-python/dnspython-2.1[${PYTHON_USEDEP}]
>=dev-python/patatt-0.6[${PYTHON_USEDEP}]
>=dev-python/requests-2.24[${PYTHON_USEDEP}]
>=dev-vcs/git-filter-repo-2.30[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
${RDEPEND}
${PYTHON_DEPS}
$(python_gen_any_dep '
dev-python/pytest[${PYTHON_USEDEP}]
')
)
"
distutils_enable_tests pytest