File: pip_invocation.patch

package info (click to toggle)
glgrib 1.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,861,496 kB
  • sloc: cpp: 20,811; ansic: 6,530; perl: 2,902; sh: 513; makefile: 147; python: 58; sql: 18
file content (25 lines) | stat: -rw-r--r-- 807 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: providing a toml file and avoiding build isolation so that the
 pip3 invocation is successful
Author: Piere Gruet <pgt@debian.org>
Bug-Debian: https://bugs.debian.org/1123390
Forwarded: https://github.com/pmarguinaud/glgrib/issues/5
Last-Update: 2026-01-02

--- /dev/null
+++ b/src/python3/glfw/pyproject.toml
@@ -0,0 +1,4 @@
+# pyproject.toml
+[build-system]
+requires = ["setuptools >= 64"]
+build-backend = "setuptools.build_meta"
--- a/src/python3/glfw/makefile
+++ b/src/python3/glfw/makefile
@@ -4,7 +4,7 @@
 all: build
 
 install:
-	pip3 install --upgrade -t $(TOP)/debian/tmp/usr/lib/python3/dist-packages/ -r requirements.txt  .
+	pip3 install --no-build-isolation --upgrade -t $(TOP)/debian/tmp/usr/lib/python3/dist-packages/ -r requirements.txt  .
 
 build:
 	python3 setup.py build