From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F1D641584F2 for ; Thu, 20 Mar 2025 09:49:09 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id DAE9F3431D8 for ; Thu, 20 Mar 2025 09:49:09 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id DB6E011037F; Thu, 20 Mar 2025 09:49:08 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id D0B4B11037F for ; Thu, 20 Mar 2025 09:49:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6A8483431D8 for ; Thu, 20 Mar 2025 09:49:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B3C6B1D72 for ; Thu, 20 Mar 2025 09:49:06 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1742464139.54304cd14eb8bbd8a4a3e77d28bf120c8380dbf8.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-util/pmbootstrap/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-util/pmbootstrap/Manifest dev-util/pmbootstrap/pmbootstrap-3.3.1.ebuild X-VCS-Directories: dev-util/pmbootstrap/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 54304cd14eb8bbd8a4a3e77d28bf120c8380dbf8 X-VCS-Branch: dev Date: Thu, 20 Mar 2025 09:49:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f2eeee25-5d1d-4341-ab70-546d4aff56d9 X-Archives-Hash: 7ab207ab7d30627d7f94f034ab5848a9 commit: 54304cd14eb8bbd8a4a3e77d28bf120c8380dbf8 Author: David Roman gmail com> AuthorDate: Thu Mar 20 09:40:14 2025 +0000 Commit: David Roman gmail com> CommitDate: Thu Mar 20 09:48:59 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=54304cd1 dev-util/pmbootstrap: add 3.3.1 Signed-off-by: David Roman gmail.com> dev-util/pmbootstrap/Manifest | 1 + dev-util/pmbootstrap/pmbootstrap-3.3.1.ebuild | 57 +++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-util/pmbootstrap/Manifest b/dev-util/pmbootstrap/Manifest index 69fa2c85f..975366c20 100644 --- a/dev-util/pmbootstrap/Manifest +++ b/dev-util/pmbootstrap/Manifest @@ -1 +1,2 @@ DIST pmbootstrap-3.0.0.tar.bz2 3244742 BLAKE2B 58f03a93d863b84a8d406c49a9c424aebddfeabfa748cbd91f243dd9fcb8c269c35db7db9f3b349da1efe8a239cf371ab149e2635ee097d05640714033e7d12d SHA512 c45164f151abaa2f018476cd5a2dd1edcdbfbc565b7f67fc6764ff64fc768c17e727bef349f633f7775904d8e2868515f11470ec5c98f4ccbab69e5ad7bbbc1b +DIST pmbootstrap-3.3.1.tar.bz2 213101 BLAKE2B f74d3c2f0b5a883baae48dc6cc663b6ac0473dc3e7eba08ac3ed2d7ca32e052c929faea7c5d126625d772d7cad7abf36c14808b61c52dd3e6ee136de9c3452eb SHA512 4b96b9e2c30535551581abdaf12e5df702cfb8f18f15dfdd8cef0561348ad67f2b0d4006e2d4b0b25d11c733fe8f59dc6e1c07bdaa2584e60a72991715faa3c6 diff --git a/dev-util/pmbootstrap/pmbootstrap-3.3.1.ebuild b/dev-util/pmbootstrap/pmbootstrap-3.3.1.ebuild new file mode 100644 index 000000000..e3ccafefd --- /dev/null +++ b/dev-util/pmbootstrap/pmbootstrap-3.3.1.ebuild @@ -0,0 +1,57 @@ +# 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..13} ) + +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" +# Tests are disabled because they require the pmaports repository (containing +# postmarketOS APKBUILDs) to be cloned at runtime. +RESTRICT="mirror" + +DEPEND="${PYTHON_DEPS}" +RDEPEND=" + dev-vcs/git + sys-fs/multipath-tools +" + +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 +} + +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+=( + "test/core/test_pkgrepo.py" + ) + + distutils-r1_python_test +}