From 196cb249932ef30301102da6da0acf41ae8c342e Mon Sep 17 00:00:00 2001 From: Tasos Sahanidis Date: Fri, 19 Apr 2024 05:44:21 +0300 Subject: extra/python-cryptography: Package doesn't have a prepare yet --- extra/python-cryptography/PKGBUILD | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'extra') 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@' +)" -- cgit v1.2.3-70-g09d2