[arch-commits] Commit in python-msgpack/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 18:04:26 UTC 2021
Date: Tuesday, November 30, 2021 @ 18:04:26
Author: felixonmars
Revision: 1057875
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 1057874, python-msgpack/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: python-msgpack/repos/community-staging-x86_64/PKGBUILD (from rev 1057874, python-msgpack/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-11-30 18:04:26 UTC (rev 1057875)
@@ -0,0 +1,37 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Sébastien "Seblu" Luttringer
+
+pkgname=python-msgpack
+pkgver=1.0.2
+pkgrel=3
+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=('8e53c57312beed0cbc24b681b605fa8b832469b1aab035aaa187b2887e7865ff653a3f358dab2f3e773c657cf0af4264d4e530639ef23934d4b95d9fa2a7ee9a')
+
+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