blob: 68ea543d206deb5af7dca72475264ec8ca3f7743 (
plain) (
tree)
|
|
# 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"
checkdepends="py3-pytest"
makedepends="python3-dev"
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"
|