dev-util/pmbootstrap: add 3.0.0, drop 2.3.3, re-enable tests

Signed-off-by: Jason Blackwell <blackwell@disroot.org>
This commit is contained in:
Jason Blackwell 2024-11-10 22:14:37 -06:00
parent d8dc72dff9
commit db9b3fea72
No known key found for this signature in database
GPG Key ID: 2272B13CD263FCD7
2 changed files with 20 additions and 3 deletions

View File

@ -1 +1 @@
DIST pmbootstrap-2.3.3.tar.bz2 22494602 BLAKE2B 53fc61e4982e7fac93f3f7de051efee87904bb87e11865812f6d757ae27f8458e3899eb65fac6bc64a9fe0b34a1a1bf52c551468a91396613fbf4a00930c62cf SHA512 d59e254482077f061ef78c4ce7f5f9d1e8be4a1a58f3125430c52bba6cb379b0eb9e60dc8802da8a94284458c30c225e8a558fe9a38885143c1e5efe1ffad92c
DIST pmbootstrap-3.0.0.tar.bz2 3244742 BLAKE2B 58f03a93d863b84a8d406c49a9c424aebddfeabfa748cbd91f243dd9fcb8c269c35db7db9f3b349da1efe8a239cf371ab149e2635ee097d05640714033e7d12d SHA512 c45164f151abaa2f018476cd5a2dd1edcdbfbc565b7f67fc6764ff64fc768c17e727bef349f633f7775904d8e2868515f11470ec5c98f4ccbab69e5ad7bbbc1b

View File

@ -22,10 +22,15 @@ SLOT="0"
KEYWORDS="-alpha ~amd64 -arm -hppa -ppc -ppc64 -riscv -sparc"
# Tests are disabled because they require the pmaports repository (containing
# postmarketOS APKBUILDs) to be cloned at runtime.
RESTRICT="mirror test"
RESTRICT="mirror"
DEPEND="${PYTHON_DEPS}"
RDEPEND="dev-vcs/git"
RDEPEND="
dev-vcs/git
sys-fs/multipath-tools
"
distutils_enable_tests pytest
pkg_pretend() {
if kernel_is -lt 3 17 0; then
@ -38,3 +43,15 @@ pkg_pretend() {
pkg_setup() {
python-single-r1_pkg_setup
}
python_test() {
local -x EPYTEST_DESELECT=()
# test_pkgrepo.py is disabled because it requires the pmaports repository (containing
# postmarketOS APKBUILDs) to be cloned at runtime.
EPYTEST_DESELECT+=(
"pmb/core/test_pkgrepo.py"
)
distutils-r1_python_test
}