[arch-commits] Commit in python-msgpack/repos (2 files)

Johannes Löthberg demize at archlinux.org
Thu Dec 24 21:01:57 UTC 2020


    Date: Thursday, December 24, 2020 @ 21:01:57
  Author: demize
Revision: 788853

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 788852, python-msgpack/trunk/PKGBUILD)

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Copied: python-msgpack/repos/community-testing-x86_64/PKGBUILD (from rev 788852, python-msgpack/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-12-24 21:01:57 UTC (rev 788853)
@@ -0,0 +1,43 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Sébastien "Seblu" Luttringer
+
+pkgname=python-msgpack
+pkgver=1.0.2
+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=('8e53c57312beed0cbc24b681b605fa8b832469b1aab035aaa187b2887e7865ff653a3f358dab2f3e773c657cf0af4264d4e530639ef23934d4b95d9fa2a7ee9a')
+
+prepare() {
+  cd msgpack-python-$pkgver
+  printf '[build]\nbuild_lib = build/lib.linux' >> setup.cfg
+}
+
+build() {
+  cd msgpack-python-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd msgpack-python-$pkgver
+  PYTHONPATH=$PWD/build/lib.linux py.test test
+}
+
+package() {
+  cd msgpack-python-$pkgver
+  export PYTHONHASHSEED=0
+  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