[arch-commits] Commit in python-msgpack/repos (2 files)
Jelle van der Waa
jelle at gemini.archlinux.org
Tue Dec 14 14:37:51 UTC 2021
Date: Tuesday, December 14, 2021 @ 14:37:50
Author: jelle
Revision: 1072754
archrelease: copy trunk to community-testing-x86_64
Added:
python-msgpack/repos/community-testing-x86_64/
python-msgpack/repos/community-testing-x86_64/PKGBUILD
(from rev 1072753, python-msgpack/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: python-msgpack/repos/community-testing-x86_64/PKGBUILD (from rev 1072753, python-msgpack/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-12-14 14:37:50 UTC (rev 1072754)
@@ -0,0 +1,37 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Sébastien "Seblu" Luttringer
+
+pkgname=python-msgpack
+pkgver=1.0.3
+pkgrel=1
+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=('ff8278d8a3cf001fe19660a8affe3ca33229a69b20389ca04a1d8c0ab92da7013dc9da70517d0a29358c9faf0e85e0339929aab423f521d2664bd198a7c2d738')
+
+build() {
+ cd msgpack-python-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd msgpack-python-$pkgver
+ PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=$(printf '%s\n' $PWD/build/* | paste -sd:) py.test test
+}
+
+package() {
+ cd msgpack-python-$pkgver
+ python setup.py install --skip-build --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list