Skip to content

Commit 39e83fb

Browse files
committed
Add pybind11 cleanup to automation
1 parent f866c13 commit 39e83fb

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

generate-pikepdf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
1919
sed -e 's/--no-build-isolation/--no-build-isolation --ignore-installed/g' -i python3-lxml.yaml
2020

2121
$PIP_GENERATOR pybind11 pikepdf -o python3-pikepdf-internal
22+
git apply pybind11-cleanup.patch
2223
)

pybind11-cleanup.patch

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/python3-pikepdf-internal.yaml b/python3-pikepdf-internal.yaml
2+
index 47be1cc..96b7a19 100644
3+
--- a/python3-pikepdf-internal.yaml
4+
+++ b/python3-pikepdf-internal.yaml
5+
@@ -4,6 +4,7 @@ buildsystem: simple
6+
modules:
7+
- name: python3-pybind11
8+
buildsystem: simple
9+
+ cleanup: ['*']
10+
build-commands:
11+
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
12+
--prefix=${FLATPAK_DEST} "pybind11" --no-build-isolation

0 commit comments

Comments
 (0)