mac: use patch instead of git apply

This commit is contained in:
Dag Heyman 2020-02-21 08:59:16 +01:00
parent beeb829b5b
commit 2e84b06ffb
No known key found for this signature in database
GPG Key ID: 06FC004369E7D338

View File

@ -46,7 +46,7 @@ jobs:
/Library/Frameworks/Python.framework/Versions/3.7/bin/pip3.7 download pyscard --no-binary :all:
tar -xvf pyscard*
cd pyscard*
git apply ../.github/workflows/macos-pyscard-patch.patch
patch setup.py ../.github/workflows/macos-pyscard-patch.patch
cd ..
sudo env MACOSX_DEPLOYMENT_TARGET=10.13 CFLAGS="-I/opt/openssl/include" LDFLAGS="-L/opt/openssl/lib" /Library/Frameworks/Python.framework/Versions/3.7/bin/pip3.7 install ./pyscard* --no-binary :all: --ignore-installed --force-reinstall --no-cache
sudo env MACOSX_DEPLOYMENT_TARGET=10.13 CFLAGS="-I/opt/openssl/include" LDFLAGS="-L/opt/openssl/lib" /Library/Frameworks/Python.framework/Versions/3.7/bin/pip3.7 install -r requirements.txt --no-binary :all: