Skip to content

Commit

Permalink
cryptography: fix build due to missing setup.py.
Browse files Browse the repository at this point in the history
*** 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
  • Loading branch information
cpatulea committed Feb 9, 2024
1 parent 80efbff commit cb664b5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
16 changes: 16 additions & 0 deletions patches/cryptography-setup-py.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
commit 61401d62c557246600b45d09d471450e97b8c6f0
Author: Catalin Patulea <[email protected]>
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
4 changes: 3 additions & 1 deletion xpra-python3.modules
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@
<branch
module="c/cryptography/cryptography-42.0.2.tar.gz"
hash="sha256:e0ec52ba3c7f1b7d813cd52649a5b3ef1fc0d433219dc8c93827c57eab6cf888"
version="42.0.2"/>
version="42.0.2">
<patch file="cryptography-setup-py.patch" strip="1"/>
</branch>
<dependencies>
<dep package="python3"/>
<dep package="openssl"/>
Expand Down

0 comments on commit cb664b5

Please sign in to comment.