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

Jelle van der Waa jelle at archlinux.org
Mon Mar 30 21:12:23 UTC 2020


    Date: Monday, March 30, 2020 @ 21:12:23
  Author: jelle
Revision: 607282

db-move: moved python-msgpack from [community-testing] to [community] (x86_64)

Added:
  python-msgpack/repos/community-x86_64/PKGBUILD
    (from rev 607281, python-msgpack/repos/community-testing-x86_64/PKGBUILD)
Deleted:
  python-msgpack/repos/community-testing-x86_64/
  python-msgpack/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |   38 ++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   52 --------------------------------------------
 2 files changed, 38 insertions(+), 52 deletions(-)

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2020-03-30 21:11:45 UTC (rev 607281)
+++ community-x86_64/PKGBUILD	2020-03-30 21:12:23 UTC (rev 607282)
@@ -1,52 +0,0 @@
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-# Contributor: Sébastien "Seblu" Luttringer
-
-pkgbase=python-msgpack
-pkgname=('python-msgpack' 'python2-msgpack')
-pkgver=0.6.2
-pkgrel=3
-
-url='https://github.com/msgpack/msgpack-python'
-arch=('x86_64')
-license=('Apache')
-
-makedepends=('cython' 'cython2' 'python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest' 'python2-pytest' 'python-six' 'python2-six')
-
-source=(msgpack-python-$pkgver.tar.gz::https://github.com/msgpack/msgpack-python/archive/v$pkgver.tar.gz)
-
-md5sums=('e751675f8e18625bf1d2ec391dd9e8fd')
-
-build() {
-  cd msgpack-python-$pkgver
-  python setup.py build --build-lib=build/python
-  python2 setup.py build --build-lib=build/python2
-  find build/python2 -type f -exec \
-    sed -i '1s,^#! \?/usr/bin/\(env \|\)python$,#!/usr/bin/python2,' {} \;
-}
-
-check() {
-  cd msgpack-python-$pkgver
-  PYTHONPATH=$PWD/build/python py.test test
-  PYTHONPATH=$PWD/build/python2 py.test2 test
-}
-
-package_python-msgpack() {
-  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
-}
-
-package_python2-msgpack() {
-  pkgdesc='MessagePack serializer implementation for Python2'
-  depends=('python2')
-
-  cd msgpack-python-$pkgver
-  python2 setup.py build --build-lib=build/python2 \
-                   install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-msgpack/repos/community-x86_64/PKGBUILD (from rev 607281, python-msgpack/repos/community-testing-x86_64/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-03-30 21:12:23 UTC (rev 607282)
@@ -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