Skip to content

Commit 63cd05c

Browse files
committed
snap: Switch to deb packages of nodejs and python3-pygments
node/14/stable snap package is not available on ppc64el and s390x. nodejs deb package currently at 10.19.0~dfsg-3ubuntu1 in Ubuntu 20.04 LTS (base: core20)
1 parent 902535e commit 63cd05c

File tree

1 file changed

+20
-12
lines changed

1 file changed

+20
-12
lines changed

snap/snapcraft.yaml

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,14 @@ parts:
7272
7373
node:
7474
plugin: nil
75-
stage-snaps:
76-
- node/14/stable
75+
stage-packages:
76+
- nodejs
77+
organize:
78+
usr/bin/: bin/
79+
usr/lib/: lib/
7780
prime:
7881
- bin/node
82+
- lib/*/lib*.so*
7983

8084
pandoc:
8185
plugin: nil
@@ -90,17 +94,21 @@ parts:
9094
- bin/pandoc
9195

9296
pygments:
93-
plugin: python
94-
python-packages: [Pygments]
97+
plugin: nil
98+
stage-packages:
99+
- python3-pygments
100+
organize:
101+
usr/bin/: bin/
102+
usr/lib/: lib/
95103
prime:
96104
- bin/pygmentize
97105
- lib/python*/site-packages/Pygments-*.dist-info/*
98106
- lib/python*/site-packages/pygments/*
99-
- usr/bin/python*
100-
- -usr/bin/python*m
101-
- usr/lib/python*/*
102-
- -usr/lib/python*/distutils/*
103-
- -usr/lib/python*/email/*
104-
- -usr/lib/python*/lib2to3/*
105-
- -usr/lib/python*/tkinter/*
106-
- -usr/lib/python*/unittest/*
107+
- bin/python*
108+
- -bin/python*m
109+
- lib/python*/*
110+
- -lib/python*/distutils/*
111+
- -lib/python*/email/*
112+
- -lib/python*/lib2to3/*
113+
- -lib/python*/tkinter/*
114+
- -lib/python*/unittest/*

0 commit comments

Comments
 (0)