dev-util/pmbootstrap: add 3.10.3

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2026-06-05 17:41:53 +05:00
parent c2cd9d7af1
commit 322c0c5eee
2 changed files with 51 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST pmbootstrap-3.10.3.tar.bz2 237228 BLAKE2B da3110e77a842ef8d54c404c2023a6d5aabca43004f8d006126d092d1a0ba4e34d1840801c6e67d3b3950467581120b22a962b0602123d3308050a6ee0083768 SHA512 87efc3acb814d50a2867a927e09ff245077c350eb841a4f8f2fb6aa6bba5a08204d0975f25efcd603175f6734831c37921ed7880893045a7d31f2d0998d9e387
DIST pmbootstrap-3.9.0.tar.bz2 242497 BLAKE2B bc17bd11eb8ea4aa1608bd52c36cacb99ad6fdd9e5d14f4d166ba332cbce1560b59763b7580a6803b0fed2b147a85d02b26f46c1fbd5d9b16d8298077dac4063 SHA512 b2365466350eaaf46a89cec477717a5a5629c1402a0fddb042f2087705a204f5fed88713b32521d7f4c5a53038875090134e504426dfb2701ba605867397d9dd

View File

@@ -0,0 +1,50 @@
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_SINGLE_IMPL=1
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 linux-info
DESCRIPTION="Helper tool for developing and building postmarketOS"
HOMEPAGE="https://postmarketos.org/"
SRC_URI="https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/archive/${PV}/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
# According to upstream README either x86, amd64 or arm64 are required. I
# wrote down all other arches because if I just did -* without adding x86 and
# arm64 keywords it would seem like the package only works on amd64, but I can't
# keyword x86 and arm64 because I can't test these.
KEYWORDS="-alpha ~amd64 -arm -hppa -ppc -ppc64 -riscv -sparc"
RESTRICT="mirror"
RDEPEND="
dev-vcs/git
sys-fs/multipath-tools
"
# test_pkgrepo.py is disabled because it requires the pmaports repository (containing
# postmarketOS APKBUILDs) to be cloned at runtime.
EPYTEST_DESELECT=(
"test/core/test_pkgrepo.py"
)
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
pkg_pretend() {
if kernel_is -lt 3 17 0; then
eerror "pmbootstrap requires Linux 3.17 or greater."
die
fi
}
# Without this, emerge errors with an "EPYTHON not set" error.
pkg_setup() {
python-single-r1_pkg_setup
}