[neon/snap-packaging/okular-snap] /: Last try

Scarlett Moore null at kde.org
Thu Apr 17 15:21:28 BST 2025


Git commit e6df226c8fb378fa95538e3228cb31e260c29624 by Scarlett Moore.
Committed on 17/04/2025 at 14:21.
Pushed by scarlettmoore into branch 'master'.

Last try

M  +2    -2    snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/okular-snap/-/commit/e6df226c8fb378fa95538e3228cb31e260c29624

diff --git a/snapcraft.yaml b/snapcraft.yaml
index cfd6b59..1b5b7a6 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -74,10 +74,10 @@ parts:
     source-tag: '1.2.3'
     source-depth: 1
     override-build: |
-      python3 -m pip --break-system-packages install .
+      python3 -m pip install --break-system-packages .
       mkdir -p $CRAFT_PART_INSTALL/usr/lib/python3/dist-packages
       rm -rf $CRAFT_PART_INSTALL/usr/lib/python3/dist-packages/meson*
-      python3 -m pip --break-system-packages install --target=$CRAFT_PART_INSTALL/usr .
+      python3 -m pip install --target=$CRAFT_PART_INSTALL/usr --break-system-packages .
       mv $CRAFT_PART_INSTALL/usr/meson* $CRAFT_PART_INSTALL/usr/lib/python3/dist-packages/
       sed -i "s%^#!/usr/bin/python3$%#!/usr/bin/env python3%g" /usr/local/bin/meson
       sed -i "s%^#!/usr/bin/python3$%#!/usr/bin/env python3%g" $CRAFT_PART_INSTALL/usr/bin/meson


More information about the Neon-commits mailing list