[arch-commits] Commit in (4 files)

Jelle van der Waa jelle at archlinux.org
Mon Mar 2 18:36:39 UTC 2020


    Date: Monday, March 2, 2020 @ 18:36:39
  Author: jelle
Revision: 588663

initial commit

Added:
  python2-msgpack/
  python2-msgpack/repos/
  python2-msgpack/trunk/
  python2-msgpack/trunk/PKGBUILD

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

Added: python2-msgpack/trunk/PKGBUILD
===================================================================
--- python2-msgpack/trunk/PKGBUILD	                        (rev 0)
+++ python2-msgpack/trunk/PKGBUILD	2020-03-02 18:36:39 UTC (rev 588663)
@@ -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=1
+
+url='https://github.com/msgpack/msgpack-python'
+arch=('x86_64')
+license=('Apache')
+
+makedepends=('cython' 'cython2' '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() {
+  pkgdesc='MessagePack serializer implementation for Python'
+  depends=('python')
+
+  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