File: 0020-python3-setuptools.diff

package info (click to toggle)
gpgme1.0 1.24.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 13,264 kB
  • sloc: ansic: 51,655; cpp: 27,213; sh: 12,776; python: 6,020; javascript: 3,773; makefile: 1,792; lisp: 1,652; sed: 37
file content (29 lines) | stat: -rw-r--r-- 813 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
26
27
28
29
From: Andreas Metzler <ametzler@debian.org>
Date: Sun, 16 Jun 2024 07:42:40 +0200
Subject: Fix setup.py invocation.

Bug-Debian: https://bugs.debian.org/1039724

Debian's python3-setuptools requires additional options (compared to
distutils which was shipped wwith python < 3.12).
Origin: vendor
Forwarded: not-needed
Last-Update: 2023-10-28
---
 lang/python/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am
index 68b98e8..0e08c36 100644
--- a/lang/python/Makefile.am
+++ b/lang/python/Makefile.am
@@ -96,7 +96,8 @@ install-exec-local:
 	  build \
 	  --build-base="$$(basename "$${PYTHON}")-gpg" \
 	  install \
-	  --prefix "$(DESTDIR)$(prefix)" \
+	  --install-layout=deb \
+	  --root "$(DESTDIR)" \
 	  --verbose ; \
 	done