summaryrefslogtreecommitdiffstats
path: root/debian/patches/build-with-local-flit_core.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/build-with-local-flit_core.patch')
-rw-r--r--debian/patches/build-with-local-flit_core.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/build-with-local-flit_core.patch b/debian/patches/build-with-local-flit_core.patch
new file mode 100644
index 0000000..c87a541
--- /dev/null
+++ b/debian/patches/build-with-local-flit_core.patch
@@ -0,0 +1,23 @@
+From: Stefano Rivera <stefanor@debian.org>
+Date: Fri, 2 Sep 2022 13:20:45 +0200
+Subject: Build flit with the local flit_core
+
+Origin: vendor
+Forwarded: not-needed
+---
+ pyproject.toml | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index caeefcd..e1ec281 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,6 +1,7 @@
+ [build-system]
+-requires = ["flit_core >=3.8.0,<4"]
++requires = []
+ build-backend = "flit_core.buildapi"
++backend-path = ["flit_core"]
+
+ [project]
+ name = "flit"