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

Jelle van der Waa jelle at archlinux.org
Sat Aug 15 18:18:32 UTC 2020


    Date: Saturday, August 15, 2020 @ 18:18:31
  Author: jelle
Revision: 679777

archrelease: copy trunk to community-x86_64

Added:
  python2-msgpack/repos/community-x86_64/
  python2-msgpack/repos/community-x86_64/PKGBUILD
    (from rev 679776, python2-msgpack/trunk/PKGBUILD)

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

Copied: python2-msgpack/repos/community-x86_64/PKGBUILD (from rev 679776, python2-msgpack/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-08-15 18:18:31 UTC (rev 679777)
@@ -0,0 +1,38 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Sébastien "Seblu" Luttringer
+
+pkgname=python2-msgpack
+pkgver=0.6.2
+pkgrel=4
+pkgdesc='MessagePack serializer implementation for Python'
+
+
+url='https://github.com/msgpack/msgpack-python'
+arch=('x86_64')
+license=('Apache')
+
+depends=('python2')
+makedepends=('cython2' 'python2-setuptools')
+checkdepends=('python2-pytest' 'python2-six')
+
+source=(msgpack-python-$pkgver.tar.gz::https://github.com/msgpack/msgpack-python/archive/v$pkgver.tar.gz)
+
+sha512sums=('be4a65592acf3c2a4fcd5d6c603f5a3346f0bccb4864d82a729d47308a11d990f7137e66a9d6df7309a892d189f62e8a9efbda022b7ef2a09338012aa1634b6d')
+
+build() {
+  cd msgpack-python-$pkgver
+  python2 setup.py build --build-lib=build/python
+}
+
+check() {
+  cd msgpack-python-$pkgver
+  PYTHONPATH=$PWD/build/python py.test2 test
+}
+
+package() {
+  cd msgpack-python-$pkgver
+  python2 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