rpds-py: update to 0.10.2
This commit is contained in:
committed by
Maksim Bondarenkov
parent
815f98a346
commit
c8a72b2de7
@@ -3,7 +3,7 @@
|
||||
_realname=rpds-py
|
||||
pkgbase=mingw-w64-python-${_realname}
|
||||
pkgname=${MINGW_PACKAGE_PREFIX}-python-${_realname}
|
||||
pkgver=0.10.0
|
||||
pkgver=0.10.2
|
||||
pkgrel=1
|
||||
pkgdesc='Python bindings to the Rust rpds crate for persistent data structures (mingw-w64)'
|
||||
arch=('any')
|
||||
@@ -17,14 +17,18 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
|
||||
"${MINGW_PACKAGE_PREFIX}-rust")
|
||||
options=('!strip')
|
||||
source=(https://pypi.org/packages/source/${_realname::1}/${_realname/-/_}/${_realname/-/_}-${pkgver}.tar.gz)
|
||||
sha256sums=('e36d7369363d2707d5f68950a64c4e025991eb0177db01ccb6aa6facae48b69f')
|
||||
sha256sums=('289073f68452b96e70990085324be7223944c7409973d13ddfe0eea1c1b5663b')
|
||||
|
||||
prepare() {
|
||||
rm -rf python-build-${MSYSTEM} | true
|
||||
cp -r "${_realname/-/_}-${pkgver}" "python-build-${MSYSTEM}"
|
||||
|
||||
cd "${srcdir}/python-build-${MSYSTEM}"
|
||||
cargo fetch --locked --target "${CARCH}-pc-windows-gnu"
|
||||
local _target="${CARCH}-pc-windows-gnu"
|
||||
if [[ $MINGW_PACKAGE_PREFIX == *-clang-aarch64 ]]; then
|
||||
_target="${CARCH}-pc-windows-gnullvm"
|
||||
fi
|
||||
cargo fetch --locked --target ${_target}
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
Reference in New Issue
Block a user