pmbootstrap: 3.3.2 -> 3.4.0 (#407265)

This commit is contained in:
Gaétan Lepage 2025-05-18 01:06:52 +02:00 committed by GitHub
commit ac60d61e37
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,14 +15,14 @@
python3Packages.buildPythonApplication rec {
pname = "pmbootstrap";
version = "3.3.2";
version = "3.4.0";
pyproject = true;
src = fetchFromGitLab {
owner = "postmarketOS";
repo = pname;
repo = "pmbootstrap";
tag = version;
hash = "sha256-A/hWJwyx/k9+NNOJBuor2qQi5gRB3Rpp5qnRloFM0FM=";
hash = "sha256-vNa0MMU5NHO8RjgfKxNjhQDKQ2Rd/ZGU0HndOD2Sypo=";
domain = "gitlab.postmarketos.org";
};
@ -52,10 +52,16 @@ python3Packages.buildPythonApplication rec {
'';
# skip impure tests
disabledTests = [
"test_pkgrepo_pmaports"
"test_random_valid_deviceinfos"
];
disabledTests =
[
"test_pkgrepo_pmaports"
"test_random_valid_deviceinfos"
]
++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
# assert chroot.type == ChrootType.BUILDROOT
# AssertionError: assert <ChrootType.NATIVE: 'native'> == <ChrootType.BUILDROOT: 'buildroot'>
"test_valid_chroots"
];
versionCheckProgramArg = "--version";