Workaround for Arch having out of date html5-parser

This commit is contained in:
Kovid Goyal 2021-11-10 21:31:42 +05:30
parent ff5e535af5
commit c0cd4f0e73
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -13,5 +13,8 @@ file_to_patch=$(pacman -Ql python-pycryptodome | grep _raw_api.py$ | cut -d" " -
echo "Patching $file_to_patch" echo "Patching $file_to_patch"
sed -i 's/RTLD_DEEPBIND/RTLD_DEEPBIND_DISABLED_BY_KOVID/g' "$file_to_patch" sed -i 's/RTLD_DEEPBIND/RTLD_DEEPBIND_DISABLED_BY_KOVID/g' "$file_to_patch"
# Needed till html5-parser 0.4.10 is available
pip install -U html5-parser
useradd -m ci useradd -m ci
chown -R ci:users $GITHUB_WORKSPACE chown -R ci:users $GITHUB_WORKSPACE