From 67f5dc6ee6d1b010662f8522ad850cd9922ae7d3 Mon Sep 17 00:00:00 2001 From: milisbir Date: Fri, 19 Jan 2018 06:24:06 +0200 Subject: [PATCH] python-msgpack --- talimatname/genel/p/python-msgpack/talimat | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 talimatname/genel/p/python-msgpack/talimat diff --git a/talimatname/genel/p/python-msgpack/talimat b/talimatname/genel/p/python-msgpack/talimat new file mode 100644 index 000000000..86035f788 --- /dev/null +++ b/talimatname/genel/p/python-msgpack/talimat @@ -0,0 +1,22 @@ +# Tanım: Python için MessagePack seri hale getirici uygulaması +# URL: https://github.com/msgpack/msgpack-python +# Paketçi: Oltulu +# Gerekler: cython python-setuptools +# Grup: kütüphane + +isim=python-msgpack +surum=0.4.8 +devir=1 +kaynak=(https://pypi.io/packages/source/m/msgpack-python/msgpack-python-$surum.tar.gz) + +derle() { + + cd msgpack-python-$surum + python2 setup.py build --build-lib=build/python + find build/python -type f -exec \ + sed -i '1s,^#! \?/usr/bin/\(env \|\)python$,#!/usr/bin/python,' {} \; + + python2 setup.py build --build-lib=build/python \ + install --root="$PKG" --optimize=1 + +}