From cb664b58e44b2df40fadc59241668632fd9dcdb1 Mon Sep 17 00:00:00 2001 From: Catalin Patulea Date: Thu, 8 Feb 2024 20:30:48 -0500 Subject: [PATCH] cryptography: fix build due to missing setup.py. *** Building python3-cryptography *** [79/137] python3 setup.py build --build-base /Users/catalinp/.cache/jhbuild/build/cryptography-42.0.2 python3: can't open file '/Users/catalinp/gtk/source/cryptography-42.0.2/setup.py': [Errno 2] No such file or directory --- patches/cryptography-setup-py.patch | 16 ++++++++++++++++ xpra-python3.modules | 4 +++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 patches/cryptography-setup-py.patch diff --git a/patches/cryptography-setup-py.patch b/patches/cryptography-setup-py.patch new file mode 100644 index 00000000..c79fd34a --- /dev/null +++ b/patches/cryptography-setup-py.patch @@ -0,0 +1,16 @@ +commit 61401d62c557246600b45d09d471450e97b8c6f0 +Author: Catalin Patulea +Date: Sat Jan 27 11:32:52 2024 +0000 + + Add skeleton setup.py. + +diff --git a/setup.py b/setup.py +new file mode 100755 +index 0000000..851cb3f +--- /dev/null ++++ b/setup.py +@@ -0,0 +1,3 @@ ++#!/usr/bin/env python3 ++from setuptools import setup ++setup() +\ No newline at end of file diff --git a/xpra-python3.modules b/xpra-python3.modules index 4f19bb37..c99d1647 100644 --- a/xpra-python3.modules +++ b/xpra-python3.modules @@ -191,7 +191,9 @@ + version="42.0.2"> + +