blob: b4bb4187b75187897bfba72fcf14788f840fd989 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: Brandon Bergren <git@bdragon.rtk0.net>
# Maintainer: Brandon Bergren <git@bdragon.rtk0.net>
pkgname=py3-u-msgpack-python
_pkgname=u-msgpack-python
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=2.5.2
pkgrel=0
pkgdesc="A portable, lightweight MessagePack serializer and deserializer written in pure Python."
url="https://pypi.python.org/pypi/u-msgpack-python"
arch="noarch"
license="MIT"
depends="python3"
makedepends="python3-dev"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="cefba7ed86d2b7c37b0d92e3a4fb4ec62c89dffee0be078c783010638413e6ce1af7ab959b43dfedb6fd8cf2943185c18fc2201a4a9764c423e8242bcedf21a9 py3-u-msgpack-python-2.5.2.tar.gz"
|