File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,8 @@ jobs:
139
139
140
140
build-snap :
141
141
runs-on : ${{ matrix.os }}
142
- needs : ['build-linux']
142
+ # if: github.repository == 'tldr-pages/tldr-python-client' && github.ref == 'refs/heads/main'
143
+ # needs: ['build-linux']
143
144
144
145
strategy :
145
146
matrix :
Original file line number Diff line number Diff line change @@ -33,13 +33,10 @@ parts:
33
33
- PYTHONPATH : ${CRAFT_PART_INSTALL}/lib/python3.12/site-packages
34
34
override-pull : |
35
35
craftctl default
36
- sed -i "/data_files=\[('share\/man\/man1', \['docs\/man\/tldr\.1'\])\],/d" setup.py
37
36
override-build : |
38
37
craftctl default
39
38
cd $CRAFT_PART_SRC/docs
40
39
make man
41
- mkdir -p $CRAFT_PART_INSTALL/share/man/man1
42
- cp -r $CRAFT_PART_SRC/docs/man/tldr.1 $CRAFT_PART_INSTALL/share/man/man1/tldr.1
43
40
python-packages :
44
41
- Sphinx
45
42
- sphinx-argparse
You can’t perform that action at this time.
0 commit comments