* update python-msgpack to 1.0.5-2

This commit is contained in:
Alexander Baldeck 2024-05-10 08:23:44 +02:00
parent f3cdd3b596
commit 098736336a

View File

@ -4,25 +4,29 @@
pkgname=python-msgpack
pkgver=1.0.5
pkgrel=1
pkgrel=2
pkgdesc='MessagePack serializer implementation for Python'
url='https://github.com/msgpack/msgpack-python'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
license=('Apache')
license=('Apache-2.0')
depends=('python')
makedepends=('cython' 'python-setuptools')
checkdepends=('python-pytest' 'python-six')
makedepends=('cython' 'python-setuptools' 'python-build' 'python-installer' 'python-wheel')
checkdepends=('python-pytest')
source=(msgpack-python-$pkgver.tar.gz::https://github.com/msgpack/msgpack-python/archive/v$pkgver.tar.gz)
sha512sums=('0d0b479044cda16519cf85d45acb8900b6e6585bf95816396fc96d6d1eb260036fb9c75bf8f88d99e212937a40d314a200d2b847d1da8a9ebc5694ab52e22896')
prepare() {
sed -i 's/~=/>=/' msgpack-python-$pkgver/pyproject.toml
}
build() {
cd msgpack-python-$pkgver
python setup.py build
python -m build --wheel --no-isolation
}
check() {
@ -32,7 +36,7 @@ check() {
package() {
cd msgpack-python-$pkgver
python setup.py install --skip-build --root="$pkgdir" --optimize=1
python -m installer --destdir="$pkgdir" dist/*.whl
}
# vim:set ts=2 sw=2 et: