mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-03 06:51:57 +01:00
32 lines
970 B
Plaintext
32 lines
970 B
Plaintext
# Contributor: Stefan Wagner <stw@bit-strickerei.de>
|
|
# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
|
|
pkgname=py3-u-msgpack
|
|
_pkgname=u-msgpack-python
|
|
pkgver=2.5.1
|
|
pkgrel=2
|
|
pkgdesc="A portable, lightweight MessagePack serializer and deserializer written in pure Python."
|
|
url="https://github.com/vsergeev/u-msgpack-python"
|
|
arch="noarch"
|
|
license="MIT"
|
|
checkdepends="pytest"
|
|
makedepends="py3-setuptools"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/vsergeev/$_pkgname/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
replaces="py-u-msgpack" # Backwards compatibility
|
|
provides="py-u-msgpack=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="a39e052b2776e271f177eebae6d18110ee62748ae4394c7c3fce71cdf7baa8371b468d5a6dcaf56491c6429b3b3bd805949c198b526c9e3a8f28949fe3915a40 py3-u-msgpack-2.5.1.tar.gz"
|