python-lxml: backport build fix for cython 3.1.0
This commit is contained in:
@@ -4,7 +4,7 @@ _realname=lxml
|
||||
pkgbase="python-${_realname}"
|
||||
pkgname=("python-${_realname}")
|
||||
pkgver=5.4.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Python binding for the libxml2 and libxslt libraries"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://lxml.de/"
|
||||
@@ -25,12 +25,17 @@ makedepends=(
|
||||
"python-build"
|
||||
"python-installer"
|
||||
)
|
||||
source=("https://github.com/lxml/lxml/archive/${_realname}-${pkgver}.tar.gz")
|
||||
sha256sums=('12ed971a99bd07977e236bf59314cfd53fbf5d59f39d4a13caad901c7fceb0a2')
|
||||
source=("https://github.com/lxml/lxml/archive/${_realname}-${pkgver}.tar.gz"
|
||||
"https://github.com/lxml/lxml/commit/6d5d6aed2e38e1abc625f29c0b3e97fc8c60ae3b.patch")
|
||||
sha256sums=('12ed971a99bd07977e236bf59314cfd53fbf5d59f39d4a13caad901c7fceb0a2'
|
||||
'd7899ff7ba0df318824859dbf474d2bfe44c07ddfaa81a132223450737a756a9')
|
||||
|
||||
prepare() {
|
||||
mv "lxml-lxml-${pkgver}" "lxml-${pkgver}"
|
||||
|
||||
cd "${_realname}-${pkgver}"
|
||||
# Fix build with Cython 3.1.0
|
||||
patch -p1 -i "${srcdir}/6d5d6aed2e38e1abc625f29c0b3e97fc8c60ae3b.patch"
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
Reference in New Issue
Block a user