Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/python-cryptography
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-04-19 05:44:21 +0300
committerTasos Sahanidis <tasos@tasossah.com>2024-04-19 05:44:21 +0300
commit196cb249932ef30301102da6da0acf41ae8c342e (patch)
tree9a88a0950e499287478d598ddc41137637b83ebc /extra/python-cryptography
parent486eca55e47702a2242d723b2aa048d3a297ab1d (diff)
extra/python-cryptography: Package doesn't have a prepare yet
Diffstat (limited to 'extra/python-cryptography')
-rw-r--r--extra/python-cryptography/PKGBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/extra/python-cryptography/PKGBUILD b/extra/python-cryptography/PKGBUILD
index c42f0881..2b934dbc 100644
--- a/extra/python-cryptography/PKGBUILD
+++ b/extra/python-cryptography/PKGBUILD
@@ -1,3 +1,9 @@
source+=('skip-aead-tests-on-32-bit.patch')
sha512sums+=('SKIP')
-eval "$(declare -f prepare | sed 's@cd cryptography@cd cryptography; patch -p1 -i ../skip-aead-tests-on-32-bit.patch@')"
+eval "$(
+ {
+ declare -f prepare || \
+ printf 'prepare() { cd cryptography\n}\n'
+ } \
+ | sed 's@cd cryptography@cd cryptography; patch -p1 -i ../skip-aead-tests-on-32-bit.patch@'
+)"