python-msgpack: rebuild for Python 3.5

Switch to python3-* pkgs.
Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
Alessio Sergi 2016-10-16 17:40:17 +02:00
parent 5e952b202d
commit 4eb5a10deb
2 changed files with 13 additions and 8 deletions

View File

@ -1,12 +1,11 @@
# Template file for 'python-msgpack' # Template file for 'python-msgpack'
pkgname=python-msgpack pkgname=python-msgpack
version=0.4.8 version=0.4.8
revision=1 revision=2
wrksrc="msgpack-python-$version" wrksrc="msgpack-python-$version"
build_style=python-module build_style=python-module
hostmakedepends="python-setuptools python3.4-setuptools" hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3.4-devel" makedepends="python-devel python3-devel"
python_versions="2.7 3.4"
pycompile_module="msgpack" pycompile_module="msgpack"
short_desc="Python module for Msgpack serializer (Python2)" short_desc="Python module for Msgpack serializer (Python2)"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>" maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
@ -15,11 +14,16 @@ license="Apache-2.0"
distfiles="${PYPI_SITE}/m/msgpack-python/msgpack-python-${version}.tar.gz" distfiles="${PYPI_SITE}/m/msgpack-python/msgpack-python-${version}.tar.gz"
checksum=1a2b19df0f03519ec7f19f826afb935b202d8979b0856c6fb3dc28955799f886 checksum=1a2b19df0f03519ec7f19f826afb935b202d8979b0856c6fb3dc28955799f886
python3.4-msgpack_package() { python3-msgpack_package() {
pycompile_version="3.4"
pycompile_module="msgpack" pycompile_module="msgpack"
short_desc="${short_desc/Python2/Python3.4}" replaces="python3.4-msgpack>=0"
short_desc="${short_desc/Python2/Python3}"
pkg_install() { pkg_install() {
vmove usr/lib/python3.4 vmove usr/lib/python3*
} }
} }
python3.4-msgpack_package() {
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-msgpack>=${version}_${revision}"
}

1
srcpkgs/python3-msgpack Symbolic link
View File

@ -0,0 +1 @@
python-msgpack