commit:     440bab3d94dbc9b4b8a04a324419e3f5b666935b
Author:     vad <vad.sol <AT> proton <DOT> me>
AuthorDate: Wed Jan  7 08:43:32 2026 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu Feb  5 13:42:08 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=440bab3d

dev-util/pmbootstrap: add 3.9.0

Signed-off-by: Michal Rostecki <vadorovsky <AT> protonmail.com>
Part-of: https://github.com/gentoo/guru/pull/414
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 dev-util/pmbootstrap/Manifest                 |  1 +
 dev-util/pmbootstrap/pmbootstrap-3.9.0.ebuild | 46 +++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-util/pmbootstrap/Manifest b/dev-util/pmbootstrap/Manifest
index 1d07aac27d..b9c1093cb3 100644
--- a/dev-util/pmbootstrap/Manifest
+++ b/dev-util/pmbootstrap/Manifest
@@ -1 +1,2 @@
 DIST pmbootstrap-3.6.0.tar.bz2 228003 BLAKE2B 
fcd85b2563037cbc851ed879518b853b49a099df6829a54ba3ec449bdcb744b54c4b4f14c2fe2912b803d4e156bb02509bcb5d22aebef58f989730332d61a034
 SHA512 
649891223c9b5a749540ea230fd4924a2458e33c63a89494531a2dead970c4c771f424ef1af17bb0eb40c1cf897dcc1c8629778f97411c4d9d9e9172f2030cd0
+DIST pmbootstrap-3.9.0.tar.bz2 242497 BLAKE2B 
bc17bd11eb8ea4aa1608bd52c36cacb99ad6fdd9e5d14f4d166ba332cbce1560b59763b7580a6803b0fed2b147a85d02b26f46c1fbd5d9b16d8298077dac4063
 SHA512 
b2365466350eaaf46a89cec477717a5a5629c1402a0fddb042f2087705a204f5fed88713b32521d7f4c5a53038875090134e504426dfb2701ba605867397d9dd

diff --git a/dev-util/pmbootstrap/pmbootstrap-3.9.0.ebuild 
b/dev-util/pmbootstrap/pmbootstrap-3.9.0.ebuild
new file mode 100644
index 0000000000..d3f8d391bb
--- /dev/null
+++ b/dev-util/pmbootstrap/pmbootstrap-3.9.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2024 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_{11..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
+"
+
+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
+}

Reply via email to