mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
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)
This commit is contained in:
parent
902535ef11
commit
63cd05ce5a
1 changed files with 20 additions and 12 deletions
|
@ -72,10 +72,14 @@ parts:
|
||||||
|
|
||||||
node:
|
node:
|
||||||
plugin: nil
|
plugin: nil
|
||||||
stage-snaps:
|
stage-packages:
|
||||||
- node/14/stable
|
- nodejs
|
||||||
|
organize:
|
||||||
|
usr/bin/: bin/
|
||||||
|
usr/lib/: lib/
|
||||||
prime:
|
prime:
|
||||||
- bin/node
|
- bin/node
|
||||||
|
- lib/*/lib*.so*
|
||||||
|
|
||||||
pandoc:
|
pandoc:
|
||||||
plugin: nil
|
plugin: nil
|
||||||
|
@ -90,17 +94,21 @@ parts:
|
||||||
- bin/pandoc
|
- bin/pandoc
|
||||||
|
|
||||||
pygments:
|
pygments:
|
||||||
plugin: python
|
plugin: nil
|
||||||
python-packages: [Pygments]
|
stage-packages:
|
||||||
|
- python3-pygments
|
||||||
|
organize:
|
||||||
|
usr/bin/: bin/
|
||||||
|
usr/lib/: lib/
|
||||||
prime:
|
prime:
|
||||||
- bin/pygmentize
|
- bin/pygmentize
|
||||||
- lib/python*/site-packages/Pygments-*.dist-info/*
|
- lib/python*/site-packages/Pygments-*.dist-info/*
|
||||||
- lib/python*/site-packages/pygments/*
|
- lib/python*/site-packages/pygments/*
|
||||||
- usr/bin/python*
|
- bin/python*
|
||||||
- -usr/bin/python*m
|
- -bin/python*m
|
||||||
- usr/lib/python*/*
|
- lib/python*/*
|
||||||
- -usr/lib/python*/distutils/*
|
- -lib/python*/distutils/*
|
||||||
- -usr/lib/python*/email/*
|
- -lib/python*/email/*
|
||||||
- -usr/lib/python*/lib2to3/*
|
- -lib/python*/lib2to3/*
|
||||||
- -usr/lib/python*/tkinter/*
|
- -lib/python*/tkinter/*
|
||||||
- -usr/lib/python*/unittest/*
|
- -lib/python*/unittest/*
|
||||||
|
|
Loading…
Reference in a new issue