[arch-commits] Commit in python-msgpack/trunk (PKGBUILD)
Johannes Löthberg
demize at archlinux.org
Thu Dec 24 21:01:51 UTC 2020
Date: Thursday, December 24, 2020 @ 21:01:50
Author: demize
Revision: 788852
upgpkg: python-msgpack 1.0.2-1
Modified:
python-msgpack/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-24 20:57:08 UTC (rev 788851)
+++ PKGBUILD 2020-12-24 21:01:50 UTC (rev 788852)
@@ -2,8 +2,8 @@
# Contributor: Sébastien "Seblu" Luttringer
pkgname=python-msgpack
-pkgver=1.0.0
-pkgrel=3
+pkgver=1.0.2
+pkgrel=1
pkgdesc='MessagePack serializer implementation for Python'
url='https://github.com/msgpack/msgpack-python'
@@ -17,22 +17,27 @@
source=(msgpack-python-$pkgver.tar.gz::https://github.com/msgpack/msgpack-python/archive/v$pkgver.tar.gz)
-sha512sums=('ef392d9084ff9a86cc69514982f10d9c39494a9d2c56cd1904b75a6e493d2673ab4e47261464af07dd7beaaba153fe008a9917332e1a4c96beef4ba9ebe595ab')
+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 --build-lib=build/python
+ python setup.py build
}
check() {
cd msgpack-python-$pkgver
- PYTHONPATH=$PWD/build/python py.test test
+ PYTHONPATH=$PWD/build/lib.linux py.test test
}
package() {
cd msgpack-python-$pkgver
- python setup.py build --build-lib=build/python \
- install --root="$pkgdir" --optimize=1
+ 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