python-lxml: Update to 4.6.1

This commit is contained in:
Alexey Pavlov
2020-10-20 09:48:51 +03:00
parent b942914c46
commit c7cf77d0da
2 changed files with 7 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
_realname=lxml
pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
pkgver=4.5.0
pkgver=4.6.1
pkgrel=1
provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}=${pkgver}"
"${MINGW_PACKAGE_PREFIX}-python-${_realname}-docs")
@@ -31,8 +31,8 @@ source=("https://github.com/lxml/lxml/archive/${_realname}-${pkgver}.tar.gz"
"mingw-python-fix.patch"
"use-distutils-get_platform.patch"
"allow-pass-path-to-rst2s5.patch")
sha256sums=('6d7b8f562e1d8f60e5919589bad39c9b3e1b2b5563d2b221fdabbcb84f13052d'
'd5811e7c0be65d7e9ce59ad925466ac7dc95bdca05439be0becf2cca7bb9602a'
sha256sums=('76b6f2cde3d4c78869262e402db29466b72ece5b5d8d1c8a5bcf8ee0d8e673bd'
'032bbca0c8cb4d24665162722736e7afcc3c49b84d0bc3d4996a5c9089bd24b4'
'd50fefc47295d8c6eecf1ca42d03af43dc79d3debb52caf8edbed3b56df2f672'
'ec4de74d02cc4f0d09c029c7e36063ff833e378b36993e8bb57b852ac5648b7c')

View File

@@ -1,11 +1,11 @@
--- lxml-3.8.0/setupinfo.py.orig 2017-06-16 21:11:57.898800000 +0400
+++ lxml-3.8.0/setupinfo.py 2017-06-16 21:41:20.905000000 +0400
@@ -324,7 +324,7 @@
--- lxml-4.6.1/setupinfo.py.orig 2017-06-16 21:11:57.898800000 +0400
+++ lxml-4.6.1/setupinfo.py 2017-06-16 21:41:20.905000000 +0400
@@ -356,7 +356,7 @@
if not cmd:
return ''
if args:
- cmd = ' '.join((cmd,) + args)
+ cmd = 'sh -c "'+' '.join((cmd,) + args)+'"'
import subprocess
p = subprocess.Popen(cmd, shell=True,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)