From 5e952b202da8138b0bf74b0be69694fa1e6dc4f2 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 16 Oct 2016 17:39:44 +0200 Subject: [PATCH] python-llfuse: rebuild for Python 3.5 Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg. --- srcpkgs/python-llfuse/template | 22 +++++++++++++--------- srcpkgs/python3-llfuse | 1 + 2 files changed, 14 insertions(+), 9 deletions(-) create mode 120000 srcpkgs/python3-llfuse diff --git a/srcpkgs/python-llfuse/template b/srcpkgs/python-llfuse/template index 50d938961d4..25380a0b676 100644 --- a/srcpkgs/python-llfuse/template +++ b/srcpkgs/python-llfuse/template @@ -1,13 +1,12 @@ # Template file for 'python-llfuse' pkgname=python-llfuse version=1.1.1 -revision=1 +revision=2 wrksrc="llfuse-${version}" build_style=python-module -python_versions="2.7 3.4" pycompile_module="llfuse" -hostmakedepends="python-setuptools python3.4-setuptools pkg-config" -makedepends="python-devel python3.4-devel fuse-devel attr-devel" +hostmakedepends="python-setuptools python3-setuptools pkg-config" +makedepends="python-devel python3-devel fuse-devel attr-devel" depends="python" short_desc="Python2 bindings for the low level FUSE API" maintainer="Christian Neukirchen " @@ -16,12 +15,17 @@ homepage="https://bitbucket.org/nikratio/python-llfuse/" distfiles="${PYPI_SITE}/l/llfuse/llfuse-${version}.tar.bz2" checksum=1b84b1152ae461e66ecc526d0de71eaec086c587e97d1dda93d620b16a92db6c -python3.4-llfuse_package() { - depends="python3.4" - pycompile_version="3.4" +python3-llfuse_package() { + depends="python3" pycompile_module="llfuse" - short_desc="${short_desc/Python2/Python3.4}" + replaces="python3.4-llfuse>=0" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* } } +python3.4-llfuse_package() { + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-llfuse>=${version}_${revision}" +} diff --git a/srcpkgs/python3-llfuse b/srcpkgs/python3-llfuse new file mode 120000 index 00000000000..5751629a3c0 --- /dev/null +++ b/srcpkgs/python3-llfuse @@ -0,0 +1 @@ +python-llfuse \ No newline at end of file