Skip to content

Commit ce9253b

Browse files
committed
Initial pruning
1 parent 35dd5ec commit ce9253b

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

flatpak/com.github.kmwallio.thiefmd.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"cleanup": [
1616
"/cache",
1717
"/man",
18+
"/share/doc",
1819
"/share/aclocal",
1920
"/share/devhelp",
2021
"/lib/systemd",

flatpak/python3-weasyprint.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@
22
"name": "python3-weasyprint",
33
"buildsystem": "simple",
44
"build-commands": [
5-
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pybind11\" --no-build-isolation",
6-
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"weasyprint\" --no-build-isolation"
5+
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pybind11\" --no-build-isolation --no-compile",
6+
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"weasyprint\" --no-build-isolation --no-compile"
7+
],
8+
"cleanup-commands": [
9+
"find /app/lib/python3*/site-packages -type d -name __pycache__ -exec rm -rf {} +",
10+
"rm -rf /app/lib/python3*/site-packages/pybind11 /app/lib/python3*/site-packages/pybind11-*.dist-info",
11+
"rm -f /app/bin/pybind11-config /app/bin/fonttools /app/bin/pyftmerge /app/bin/pyftsubset /app/bin/ttx"
712
],
813
"sources": [
914
{

0 commit comments

Comments
 (0)