[arch-commits] Commit in python-msgpack/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 15:51:41 UTC 2020
Date: Monday, November 9, 2020 @ 15:51:41
Author: felixonmars
Revision: 747196
archrelease: copy trunk to community-staging-x86_64
Added:
python-msgpack/repos/community-staging-x86_64/
python-msgpack/repos/community-staging-x86_64/PKGBUILD
(from rev 747195, python-msgpack/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: python-msgpack/repos/community-staging-x86_64/PKGBUILD (from rev 747195, python-msgpack/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-11-09 15:51:41 UTC (rev 747196)
@@ -0,0 +1,38 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Sébastien "Seblu" Luttringer
+
+pkgname=python-msgpack
+pkgver=1.0.0
+pkgrel=2
+pkgdesc='MessagePack serializer implementation for Python'
+
+url='https://github.com/msgpack/msgpack-python'
+arch=('x86_64')
+license=('Apache')
+
+
+depends=('python')
+makedepends=('cython' 'python-setuptools')
+checkdepends=('python-pytest' 'python-six')
+
+source=(msgpack-python-$pkgver.tar.gz::https://github.com/msgpack/msgpack-python/archive/v$pkgver.tar.gz)
+
+sha512sums=('ef392d9084ff9a86cc69514982f10d9c39494a9d2c56cd1904b75a6e493d2673ab4e47261464af07dd7beaaba153fe008a9917332e1a4c96beef4ba9ebe595ab')
+
+build() {
+ cd msgpack-python-$pkgver
+ python setup.py build --build-lib=build/python
+}
+
+check() {
+ cd msgpack-python-$pkgver
+ PYTHONPATH=$PWD/build/python py.test test
+}
+
+package() {
+ cd msgpack-python-$pkgver
+ python setup.py build --build-lib=build/python \
+ install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list