2014-07-02 12:45:48 +00:00
|
|
|
# Template file for 'python-msgpack'
|
|
|
|
pkgname=python-msgpack
|
2015-03-13 12:32:36 +00:00
|
|
|
version=0.4.6
|
2015-01-08 09:04:31 +00:00
|
|
|
revision=1
|
2014-07-02 12:45:48 +00:00
|
|
|
wrksrc="msgpack-python-$version"
|
|
|
|
build_style=python-module
|
2014-11-07 20:41:01 +00:00
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
2014-07-02 12:45:48 +00:00
|
|
|
makedepends="python-devel python3.4-devel"
|
|
|
|
python_versions="2.7 3.4"
|
|
|
|
pycompile_module="msgpack"
|
|
|
|
short_desc="Python module for Msgpack serializer (Python2)"
|
|
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
|
|
homepage="https://github.com/msgpack/msgpack-python"
|
|
|
|
license="Apache-2.0"
|
2014-11-07 20:41:01 +00:00
|
|
|
distfiles="${PYPI_SITE}/m/msgpack-python/msgpack-python-${version}.tar.gz"
|
2015-03-13 12:32:36 +00:00
|
|
|
checksum=bfcc581c9dbbf07cc2f951baf30c3249a57e20dcbd60f7e6ffc43ab3cc614794
|
2014-07-02 12:45:48 +00:00
|
|
|
|
|
|
|
python3.4-msgpack_package() {
|
|
|
|
pycompile_version="3.4"
|
|
|
|
pycompile_module="msgpack"
|
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
|
|
pkg_install() {
|
2014-11-07 20:41:01 +00:00
|
|
|
vmove usr/lib/python3.4
|
2014-07-02 12:45:48 +00:00
|
|
|
}
|
|
|
|
}
|