[arch-commits] Commit in python2-msgpack/trunk (PKGBUILD)

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


    Date: Monday, March 2, 2020 @ 18:41:14
  Author: jelle
Revision: 588665

Add python2-msgpack since 1.0.0 removed python2 support

Modified:
  python2-msgpack/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-02 18:38:14 UTC (rev 588664)
+++ PKGBUILD	2020-03-02 18:41:14 UTC (rev 588665)
@@ -1,37 +1,37 @@
 # Maintainer: Johannes Löthberg <johannes at kyriasis.com>
 # Contributor: Sébastien "Seblu" Luttringer
 
-pkgname=python-msgpack
-pkgver=1.0.0
-pkgrel=1
+pkgname=python2-msgpack
+pkgver=0.6.2
+pkgrel=3
+pkgdesc='MessagePack serializer implementation for Python'
 
+
 url='https://github.com/msgpack/msgpack-python'
 arch=('x86_64')
 license=('Apache')
 
-makedepends=('cython' 'cython2' 'python-setuptools')
-checkdepends=('python-pytest' 'python-six')
+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=('ef392d9084ff9a86cc69514982f10d9c39494a9d2c56cd1904b75a6e493d2673ab4e47261464af07dd7beaaba153fe008a9917332e1a4c96beef4ba9ebe595ab')
+sha512sums=('be4a65592acf3c2a4fcd5d6c603f5a3346f0bccb4864d82a729d47308a11d990f7137e66a9d6df7309a892d189f62e8a9efbda022b7ef2a09338012aa1634b6d')
 
 build() {
   cd msgpack-python-$pkgver
-  python setup.py build --build-lib=build/python
+  python2 setup.py build --build-lib=build/python
 }
 
 check() {
   cd msgpack-python-$pkgver
-  PYTHONPATH=$PWD/build/python py.test test
+  PYTHONPATH=$PWD/build/python py.test2 test
 }
 
 package() {
-  pkgdesc='MessagePack serializer implementation for Python'
-  depends=('python')
-
   cd msgpack-python-$pkgver
-  python setup.py build --build-lib=build/python \
+  python2 setup.py build --build-lib=build/python \
                   install --root="$pkgdir" --optimize=1
 }
 



More information about the arch-commits mailing list